Skip to content

NimTechnology

Trình bày các công nghệ CLOUD một cách dễ hiểu.

  • Kubernetes & Container
    • Docker
    • Kubernetes
      • Ingress
    • Helm Chart
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Spinnaker
    • Jenkins
  • Coding
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
    • Golang
    • Laravel
    • Jquery & JavaScript
    • Git
    • Selenium
  • Log & Monitor
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
  • Toggle search form

Category: Kubernetes & Container

[Vault] Using Service Acount of Kubernetes to login Vault system.

Posted on June 28, 2022 By nim No Comments on [Vault] Using Service Acount of Kubernetes to login Vault system.
[Vault] Using Service Acount of Kubernetes to login Vault system.

Install vault client or vault CLI. Ngoài việc sử dụng UI để tưởng tác với vault thì chúng ta có thể sử dụng command hay còn gọi là cli. https://www.vaultproject.io/downloads lúc này bạn chỉ cần change ENV sang host vault của bạn là ok. file: vault-auth-service-account.yml Để hiểu được về ClusterRole system:auth-delegator và tại sao…

Read More “[Vault] Using Service Acount of Kubernetes to login Vault system.” »

Kubernetes, Vault

[Lenses] Insert data or Push messages to Kafka via Lenses.

Posted on June 13, 2022 By nim No Comments on [Lenses] Insert data or Push messages to Kafka via Lenses.
[Lenses] Insert data or Push messages to Kafka via Lenses.

Bên mình sài lenses thì hôm này code 1 tool tự động reset các connector bị lỗi:API reference:https://api.lenses.io/ https://lenses.io/blog/2019/11/four-ways-to-produce-data-kafka-lenses/

Lenses

[Terraform/GCP/K8s] How can we build/install the Kubernetes clusters (GKE) on Google Cloud.

Posted on June 1, 2022June 15, 2022 By nim No Comments on [Terraform/GCP/K8s] How can we build/install the Kubernetes clusters (GKE) on Google Cloud.
[Terraform/GCP/K8s] How can we build/install the Kubernetes clusters (GKE) on Google Cloud.

1) Backend state Bài này thì mình thực hiện build multi cluster k8s trên GCP Để chuẩn bị cho đúng với bài tập thực tế. Chúng ta cần tạo 1 backend cho terraform trên GCS. sau khi bạn chạy terraform apply bạn sẽ tạo được bucket trên GCS Giờ minh tạo 1 folder là cluster…

Read More “[Terraform/GCP/K8s] How can we build/install the Kubernetes clusters (GKE) on Google Cloud.” »

GCP - Google Cloud, Kubernetes

[Kustomize] How to combine Kustomize and Helm-chart!

Posted on May 22, 2022June 14, 2022 By nim No Comments on [Kustomize] How to combine Kustomize and Helm-chart!
[Kustomize] How to combine Kustomize and Helm-chart!

Helm chart thì đã rất là quen thuộc với anh em sử dụng kubernetesChắc chắn là anh em từng sử dụng helm chart offical để deploy spinnaker, jenkins, ….Nói chung là rất nhiều.Và mình đã gặp 1 số case này. Không phải là tất cả các helm chart để được chi tiết và mọi ngóc…

Read More “[Kustomize] How to combine Kustomize and Helm-chart!” »

Helm Chart, Kubernetes & Container

[Lens/Kubernetes] Install Lens to manage the workloads On Kubernetes.

Posted on May 19, 2022May 19, 2022 By nim No Comments on [Lens/Kubernetes] Install Lens to manage the workloads On Kubernetes.
[Lens/Kubernetes] Install Lens to manage the workloads On Kubernetes.

Lúc trước mình đang sử dụng rancher ở bản 2.5.x thì khá là thoải mái và UI cũng dễ sử dụng. 1) Read event of pod on rancher. sau khi nâng cấp lên rancher 2.6.x thì việc debug khá là khó khăn, UI thì rất lag nếu bạn own nhiều workloads, event thì lúc hiện…

Read More “[Lens/Kubernetes] Install Lens to manage the workloads On Kubernetes.” »

Kubernetes & Container

[Docker] “unsafe repository” when building the Docker image.

Posted on May 11, 2022 By nim No Comments on [Docker] “unsafe repository” when building the Docker image.
[Docker] “unsafe repository” when building the Docker image.

Khi bạn build docker image thì bị báo lỗi bên dưới. như trong log đã hướng dẫn thì chúng ta cần thêm RUN git config –global –add safe.directory /repo

Docker

[Kuberneste/Volume] How can you mount a volume on Kubernetes that its permission isn’t root (non-root)

Posted on May 7, 2022 By nim No Comments on [Kuberneste/Volume] How can you mount a volume on Kubernetes that its permission isn’t root (non-root)
[Kuberneste/Volume] How can you mount a volume on Kubernetes that its permission isn’t root (non-root)

Case của mình là như sau: Đầu tiên mình có Dockerfile: Mình sẽ thử build image Sau đó mình running trên k8s OK giờ mình ko muốn nó run với user root thì làm sao:https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user Có 2 cách như link bên trên: Creating a non-root user Change the UID/GID of an existing container user Note…

Read More “[Kuberneste/Volume] How can you mount a volume on Kubernetes that its permission isn’t root (non-root)” »

Kubernetes

[Istio] Authenticator KubeJWTAuthenticator at index 1 got error: failed to validate the JWT from cluster – When you update K8s version 1.20 to 1.21

Posted on May 6, 2022May 6, 2022 By nim No Comments on [Istio] Authenticator KubeJWTAuthenticator at index 1 got error: failed to validate the JWT from cluster – When you update K8s version 1.20 to 1.21
[Istio] Authenticator KubeJWTAuthenticator at index 1 got error: failed to validate the JWT from cluster – When you update K8s version 1.20 to 1.21

Hiện trạng của mình là istio của mình đan chạy trên version k8s 1.20 và istio là 1.9.9 Sau khi upgrade version k8s từ 1.20 lên 1.21 thì istiod của mình gặp lỗi bên dưới istio-proxy thì gặp lỗi sau: như các log trên thì mình chắc chắn là bạn đang run istio với config…

Read More “[Istio] Authenticator KubeJWTAuthenticator at index 1 got error: failed to validate the JWT from cluster – When you update K8s version 1.20 to 1.21” »

Isito-EnvoyFilter

[Appium] Writing the Dockerfile of Appium on Ubuntu 18.04 Docker.

Posted on May 1, 2022 By nim No Comments on [Appium] Writing the Dockerfile of Appium on Ubuntu 18.04 Docker.
[Appium] Writing the Dockerfile of Appium on Ubuntu 18.04 Docker.

Khi mình running command trong Dockerfile. npm install -g appium Nếu bạn làm gặp lỗi như bên dưới. Reference links:https://github.com/appium/appium/issues/10020 Mình tìm được command này:sudo npm install -g appium –unsafe-perm=true –allow-root

Docker

[Kafka-connect] Solving the error or issues on Kafka-connect

Posted on April 28, 2022April 28, 2022 By nim No Comments on [Kafka-connect] Solving the error or issues on Kafka-connect
[Kafka-connect] Solving the error or issues on Kafka-connect

Với các connector của debezium bạn có thể tham khảo các issues ở đây:https://issues.redhat.com/projects/DBZ/issues/DBZ-5037?filter=allopenissues Và thường chúng ta sẽ lọc theo version. mysqldebezium Nếu bị lỗi trên thì change value: database.history.kafka.topic (thay đổi ký tự chẳng hạn)

Kafka Connect

Posts navigation

1 2 … 15 Next
Tham Gia Group DevOps nhé!
Để Nim có nhiều động lực ra nhiều bài viết.
Để nhận được những thông báo mới nhất.

Recent Posts

  • [Argocd/Vault] Integrate Vault inside Argocd by the plugin July 1, 2022
  • [Vault] Using Service Acount of Kubernetes to login Vault system. June 28, 2022
  • Protected: My Assignment  June 24, 2022
  • [Spinnaker] Spinnaker writes too many logs – Reduce spinnaker log level June 22, 2022
  • [Jenkins] Jobs will be created automatically by Jenkins Job Builder June 20, 2022

Archives

  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Categories

  • BareMetal
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Jenkins
    • Spinnaker
  • Coding
    • Git
    • Golang
    • Jquery & JavaScript
    • Laravel
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kubernetes
      • Ingress
    • Longhorn – Storage
    • Vault
    • VictoriaMetrics
  • Log & Monitor
    • ELK
      • Kibana
      • Logstash
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2022 NimTechnology.