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
      • 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: Golang

Hướng Dẫn Nhúng Tệp Tĩnh Vào Go Sử Dụng go:embed

Posted on April 3, 2025April 3, 2025 By nim No Comments on Hướng Dẫn Nhúng Tệp Tĩnh Vào Go Sử Dụng go:embed
Hướng Dẫn Nhúng Tệp Tĩnh Vào Go Sử Dụng go:embed

Bạn cảm thấy việc sử dụng các tệp tĩnh riêng biệt trong các chương trình Go là rắc rối? Bạn đang tìm cách đơn giản hóa việc triển khai và phân phối các chương trình Go của mình? Nếu vậy, bạn may mắn rồi! Bài viết này sẽ hướng dẫn bạn cách sử dụng go:embed…

Read More “Hướng Dẫn Nhúng Tệp Tĩnh Vào Go Sử Dụng go:embed” »

Golang

[Helm/Golang] Install Helm chart on Kubernetes using Go.

Posted on March 13, 2025March 13, 2025 By nim No Comments on [Helm/Golang] Install Helm chart on Kubernetes using Go.
[Helm/Golang] Install Helm chart on Kubernetes using Go.

Basic level Bình thường khi bạn sự dụng helm command để có thể install Keda hoặc là Argocd lên k8s bằng helm chart.Giờ nếu bạn cần code 1 tool bằng golang để làm luôn chuyển đó thì như thể nào nhỉ? Bạn có thể thao khảo các lệnh sau:https://github.com/helm/helm-www/tree/main/sdkexamples Chúng ta sẽ cúng tìm hiểu…

Read More “[Helm/Golang] Install Helm chart on Kubernetes using Go.” »

Golang, Helm Chart

[Golang / EKS] Accessing AWS EKS with Go: A Comprehensive Guide to Interacting with Kubernetes APIs

Posted on March 7, 2025March 7, 2025 By nim No Comments on [Golang / EKS] Accessing AWS EKS with Go: A Comprehensive Guide to Interacting with Kubernetes APIs
[Golang / EKS] Accessing AWS EKS with Go: A Comprehensive Guide to Interacting with Kubernetes APIs

Mình đang câng viết 1 tool golang và sẽ access vào EKS để call tiếp các API của K8S Chúng ta đi sơ qua 1 chút về Đây là kubeconfig mà bạn hay sử dụng để access vào eks cluster. Bạn có thể thấy khi access vào eks cluster thì kubeclt sẽ cần gõ một…

Read More “[Golang / EKS] Accessing AWS EKS with Go: A Comprehensive Guide to Interacting with Kubernetes APIs” »

AWS - Amazon Web Service, Golang, Kubernetes

[Terminal/Huh] Build Terminal Form By golang.

Posted on January 8, 2025January 8, 2025 By nim No Comments on [Terminal/Huh] Build Terminal Form By golang.
[Terminal/Huh] Build Terminal Form By golang.

Ở một post trước mình đã hướng dẫn các bạn bạn build cli hoặc giống như là kubeclt: Ở lần này chúng ta sẽ nâng cấp hơn lên tầm cao mới.Build 1 terminal UI bằng golang. https://github.com/charmbracelet/huh Nó là thư viện đơn giản và mạnh mẽ cho việc xây dựng form và prompts tương tác…

Read More “[Terminal/Huh] Build Terminal Form By golang.” »

Golang

[Golang/Redis/Riot] Redis migration from old to new infrastructure.

Posted on October 10, 2024December 3, 2024 By nim No Comments on [Golang/Redis/Riot] Redis migration from old to new infrastructure.
[Golang/Redis/Riot] Redis migration from old to new infrastructure.

Let’s convert the Python Redis migration code to Go, considering the go-redis library for Redis interactions. Here’s a step-by-step conversion from Python to Go. Plan: Pseudocode: Go Code: Key Points in Go Code: Dependencies: You will need the following dependency: Next Steps: a. Would you like to test the migration in a controlled environment or…

Read More “[Golang/Redis/Riot] Redis migration from old to new infrastructure.” »

AWS - Amazon Web Service, Golang

[Golang] Mastering Slice Merging in Go: Utilize Append with Ellipsis Operator for Efficiency

Posted on March 9, 2024March 9, 2024 By nim No Comments on [Golang] Mastering Slice Merging in Go: Utilize Append with Ellipsis Operator for Efficiency
[Golang] Mastering Slice Merging in Go: Utilize Append with Ellipsis Operator for Efficiency

I have value a := model.HPAUtilizations and value b := model.HPAUtilizations The format of values is defined via the below struct: How to add b to a ???? To add one HPAUtilizations slice (b) to another (a), you can use the append function in Go. The append function can take multiple elements to append to…

Read More “[Golang] Mastering Slice Merging in Go: Utilize Append with Ellipsis Operator for Efficiency” »

Golang

[Selenium] Save cookies of any website that is running on Selenium.

Posted on February 18, 2024February 18, 2024 By nim No Comments on [Selenium] Save cookies of any website that is running on Selenium.
[Selenium] Save cookies of any website that is running on Selenium.

Bạn có thể thấy là việc login vào trong 1 trang web nhiều lần là 1 việc không tốt.Vậy làm sao chúng ta có thể login vào trang web 1 lần còn các lần sau chỉ cần reuse lại cookies là được. Get Cookies. Add Cookies to the browser of Selenium ở đây mình có…

Read More “[Selenium] Save cookies of any website that is running on Selenium.” »

Golang, Selenium

[Golang] Zap log in Golang

Posted on January 31, 2024February 12, 2025 By nim No Comments on [Golang] Zap log in Golang
[Golang] Zap log in Golang

https://betterstack.com/community/guides/logging/go/zap/ Đầu tiên chúng ta sẽ bắt đầu với code demo đơn giản: you must create a zap.Logger instance before you can begin to write logs. The NewProduction() method returns a Logger configured to log to the standard error in JSON format, and its minimum log level is set to INFO và output bạn nhận được là: Mình sẽ giải thích chút về…

Read More “[Golang] Zap log in Golang” »

Golang

[Golang] List the files in a directory with Go

Posted on January 19, 2024January 19, 2024 By nim No Comments on [Golang] List the files in a directory with Go
[Golang] List the files in a directory with Go

Copy from: https://freshman.tech/snippets/go/list-files-in-dir/ The Go standard library provides several packages for working with files and directories. This article examines some of the ways you can fetch a list of all the files in a directory using stdlib methods. Let’s consider four ways to retrieve a list of files in a directory with Go. They’re all…

Read More “[Golang] List the files in a directory with Go” »

Golang

[Golang] Approach Channel in Calling another function with Golang

Posted on January 18, 2024January 18, 2024 By nim No Comments on [Golang] Approach Channel in Calling another function with Golang
[Golang] Approach Channel in Calling another function with Golang

Bài toán toán là function A chạy 1 vòng For lấy ra từng giá trị nhỏ của mảng và send chúng đến function sử lý và nhận lại kết quả: Nếu mảng của bạn có vài ngàn giá trị nhỏ thì việc gởi và sử lý tuần tự rất là mất thời gian.nếu mỗi process…

Read More “[Golang] Approach Channel in Calling another function with Golang” »

Golang

Posts pagination

1 2 … 6 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

  • [WordPress] Hướng dấn gửi mail trên WordPress thông qua gmail. June 15, 2025
  • [Bitbucket] Git Clone/Pull/Push with Bitbucket through API Token. June 12, 2025
  • [Teamcity] How to transfer the value from pipeline A to pipeline B June 9, 2025
  • [Windows] Remove the process that consumes too much CPU. June 3, 2025
  • Deploying Web-Based File Managers: File Browser and KubeFileBrowser with Docker and Kubernetes June 3, 2025

Archives

  • 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

  • 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
      • Ingress
      • Pod
    • Longhorn – Storage
    • MetalLB
    • OAuth2 Proxy
    • Vault
    • VictoriaMetrics
  • Log, Monitor & Tracing
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Fluent
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2025 NimTechnology.