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
      • Gateway API
      • Ingress
      • Pod
    • Helm Chart
    • OAuth2 Proxy
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Argo Events
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • DevSecOps
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
      • Azure Cloud
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log, Monitor & Tracing
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

Category: Coding

[Terraform] Error: InvalidPermission.Duplicate: the specified rule

Posted on March 14, 2023 By nim No Comments on [Terraform] Error: InvalidPermission.Duplicate: the specified rule
[Terraform] Error: InvalidPermission.Duplicate: the specified rule

Remove Inbound Rule in the Security Group Lỗi sau là mình gặp sau khi upgrade module eks từ 1.18 -> 1,19 Ở bản 1.19 đã được thêm như là mặc định https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/node_groups.tf#L137-L145 Giờ mình cần xóa rule inbound này.https://bobbyhadz.com/blog/aws-cli-remove-security-group-rule Bạn chịu khó list tất cả ra, xong dựa vào format bên dướiĐiểm đặc biệt đây…

Read More “[Terraform] Error: InvalidPermission.Duplicate: the specified rule” »

AWS - Amazon Web Service

[terraform] Error: InvalidPermission.Duplicate: the specified rule

Posted on March 13, 2023 By nim No Comments on [terraform] Error: InvalidPermission.Duplicate: the specified rule
[terraform] Error: InvalidPermission.Duplicate: the specified rule

Lâu lâu run lại terraform cũ cài bị lỗi trên. https://github.com/hashicorp/terraform/pull/2376 Bạn cũng sẽ cân delete Rule đó trong Security Group.

AWS - Amazon Web Service

[Terraform] ResourceAlreadyExistsException: The specified log group already exists

Posted on March 13, 2023 By nim No Comments on [Terraform] ResourceAlreadyExistsException: The specified log group already exists
[Terraform] ResourceAlreadyExistsException: The specified log group already exists

How to fix. https://github.com/terraform-aws-modules/terraform-aws-eks/issues/411 Chúng ta cần import cái đó vào trong terraform.tfstatemình đã thử xóa cloudwatch group đó nhưng không hiệu quả. ==> được tạo lại ngay.

AWS - Amazon Web Service

[kubernetes/client-go] Go clients for talking to a kubernetes cluster.

Posted on March 3, 2023April 28, 2023 By nim No Comments on [kubernetes/client-go] Go clients for talking to a kubernetes cluster.
[kubernetes/client-go] Go clients for talking to a kubernetes cluster.

Nếu Sếp bảo bạn giờ anh muốn em code 1 script restart pod trên k8s khi nó bị freeze.Còn làm sao biết là pod đó bị freeze thì call vào 1 enpoint. Chà viêt Script hả ta. No No em code GO. Bạn có thể tham khảo Đây là code của anh trai: Code của…

Read More “[kubernetes/client-go] Go clients for talking to a kubernetes cluster.” »

Golang, Kubernetes

[aws-sdk-go] Integrate with AWS by golang

Posted on February 25, 2023 By nim No Comments on [aws-sdk-go] Integrate with AWS by golang
[aws-sdk-go] Integrate with AWS by golang

Hôm nay nghịch tý golang call vào awsở V2 còn nhiều compose chưa được phát triểnbài này mình test với S3 trên aws. Resolve: https://stackoverflow.com/questions/25027462/aws-s3-the-bucket-you-are-attempting-to-access-must-be-addressed-using-the-spec Và sau đây là code sample

Golang

[Golang] Looking filepath.Walk to return any file and children folder in the folder

Posted on February 24, 2023February 25, 2023 By nim No Comments on [Golang] Looking filepath.Walk to return any file and children folder in the folder
[Golang] Looking filepath.Walk to return any file and children folder in the folder

The filepath.Walk function is used to traverse a directory tree recursively, starting from a given directory path. It walks the directory tree and calls a given function once for each file or directory found, passing in information about that file or directory. The function signature of filepath.Walk is: where root is the starting directory path, and walkFn is the function to be called…

Read More “[Golang] Looking filepath.Walk to return any file and children folder in the folder” »

Golang

[Karpenter] Using Karpenter instead of Autoscaling Group.

Posted on February 6, 2023 By nim No Comments on [Karpenter] Using Karpenter instead of Autoscaling Group.
[Karpenter] Using Karpenter instead of Autoscaling Group.

Refence Links:https://makendran.hashnode.dev/just-in-time-worker-nodes-with-karpenter

AWS - Amazon Web Service

[Golang] Create multiple CRON functions by looping through a list

Posted on February 4, 2023 By nim No Comments on [Golang] Create multiple CRON functions by looping through a list
[Golang] Create multiple CRON functions by looping through a list

Gần dây mình có tình viết 1 scheduler bằng Golang.và mình định sử dụng gopkg.in/robfig/cron.v3 khi đó thì bạn sẽ thấy là dụ sài vòng for nhưng kết quả điều giống nhau. Nhưng mình mong muốn là như thế này: Vậy fix sao: https://stackoverflow.com/questions/57095167/how-do-i-create-multiple-cron-function-by-looping-through-a-list Problem in your code is equivalent to the one described here:…

Read More “[Golang] Create multiple CRON functions by looping through a list” »

Golang

[AWS] Setup Schedule Action for Auto Scaling Group – Saving Cost is based on ASG

Posted on February 3, 2023February 7, 2023 By nim No Comments on [AWS] Setup Schedule Action for Auto Scaling Group – Saving Cost is based on ASG
[AWS] Setup Schedule Action for Auto Scaling Group – Saving Cost is based on ASG

Khi các bạn sử dụng Auto Scaling của AWS thì bạn sẽ thấy có 1 cái tiện là hệ thống của bạn sẽ tự động tăng giảm số node để Nhưng với các môi trường dev và staging nếu developer đi ngủ và bạn cũng muốn cluster k8s của bạn đi ngủ thì làm như…

Read More “[AWS] Setup Schedule Action for Auto Scaling Group – Saving Cost is based on ASG” »

AWS - Amazon Web Service

[Goland/Echo Framework/For loop] Return the results twice when using the echo framework and for loop on Goland

Posted on February 3, 2023November 6, 2023 By nim No Comments on [Goland/Echo Framework/For loop] Return the results twice when using the echo framework and for loop on Goland
[Goland/Echo Framework/For loop] Return the results twice when using the echo framework and for loop on Goland

Lâu lâu coding lại golang thì gặp lỗi này. Mình chạy golang trên Goland. Mình sử dụng vòng for trong echo framework.thì kết quả trả về lúc nào cũng bị double. Run with elevated privileges. Bạn có thể lấy key Goland ở đây:https://3.jetbra.in/(Nếu bạn giàu thì mua key đi nè)

Golang

Posts pagination

Previous 1 … 16 17 18 … 33 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

  • [Rancher/EKS] Rancher from v2.12.x can not work on eks cluster. April 15, 2026
  • [Telegram/Openclaw] Configure openclaw bot in a Telegram group. March 31, 2026
  • Tutorial: Gateway API + Traefik + oauth2-proxy (Microsoft Entra ID) March 30, 2026
  • Full + incremental backup: When restoring, do deleted files come back? March 27, 2026
  • [K8S] Create long-lived kubeconfig on k8s March 23, 2026

Archives

  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • 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

  • AI
    • OpenClaw
  • BareMetal
    • NextCloud
  • CI/CD
    • Argo Events
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • DevSecOps
    • Golang
    • Jquery & JavaScript
    • Laravel
    • NextJS 14 & ReactJS & Type Script
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • Azure Cloud
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Gateway API
      • Ingress
      • Pod
    • Longhorn – Storage
    • MetalLB
    • OAuth2 Proxy
    • Vault
    • VictoriaMetrics
  • Log, Monitor & Tracing
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Fluent
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2026 NimTechnology.