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

Month: January 2024

[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

[Istio/OAuth2-Proxy] Authenticate applications on Kubernetes: Okta(OIDC), Istio, and OAuth2-Proxy integration.

Posted on January 30, 2024 By nim No Comments on [Istio/OAuth2-Proxy] Authenticate applications on Kubernetes: Okta(OIDC), Istio, and OAuth2-Proxy integration.
[Istio/OAuth2-Proxy] Authenticate applications on Kubernetes: Okta(OIDC), Istio, and OAuth2-Proxy integration.

copy from: https://itnext.io/authenticate-applications-on-kubernetes-okta-oidc-istio-and-oauth2-proxy-integration-0277fe950112 Secure authentication and authorization for Kubernetes apps 👮‍♀ 📌 Introduction: Authenticating applications on Kubernetes can be a complex process, but integrating Okta, Istio, and OAuth2-Proxy provides a powerful solution. This guide will walk you through the steps to establish a robust and secure authentication framework for your Kubernetes-based applications. From using Istio for OpenID Connect (OIDC) authentication to…

Read More “[Istio/OAuth2-Proxy] Authenticate applications on Kubernetes: Okta(OIDC), Istio, and OAuth2-Proxy integration.” »

Isito-EnvoyFilter, OAuth2 Proxy

[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

Go exec command

Posted on January 17, 2024January 18, 2024 By nim No Comments on Go exec command
Go exec command

Copy from: https://zetcode.com/golang/exec-command/ Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use Wait with Start. Go os/exec The os/exec package runs external commands. It wraps os.StartProcess to make it…

Read More “Go exec command” »

Golang

[Golang] Generate the Binary Files on Multi Architecture by Github Action

Posted on January 15, 2024March 13, 2024 By nim No Comments on [Golang] Generate the Binary Files on Multi Architecture by Github Action
[Golang] Generate the Binary Files on Multi Architecture by Github Action

Trước đó mình đã có 1 bài hướng dẫn các bạn tạo cli tool cho riêng mình bằng Golang. Sau khi code xong chúng ta sẽ public cli.Nhưng chúng ta không thể build Binary trên từng hệ điều hành rồi mới push chúng lên release được. chúng ta sẽ dùng 1 lệnh và build chúng…

Read More “[Golang] Generate the Binary Files on Multi Architecture by Github Action” »

Golang

[Grafana] Design Uptime based on Status History – Visualizations on Grafana

Posted on January 7, 2024January 14, 2025 By nim No Comments on [Grafana] Design Uptime based on Status History – Visualizations on Grafana
[Grafana] Design Uptime based on Status History – Visualizations on Grafana

Bạn có một metrics up{label=”xxx”} = 1 thì sẽ là Up https://grafana.com/docs/grafana/latest/panels-visualizations/configure-value-mappings/ https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/status-history/ Ngoài ra bạn cũng có thể vẽ được chart percent dửa trên metrics uptime 0/1 Với metrics uptime của Uptime Kuma thì mình gặp lỗi bên dưới: Too many points to visualize properly.Update the query to return fewer points.(1441 points received) Nếu bạn…

Read More “[Grafana] Design Uptime based on Status History – Visualizations on Grafana” »

Grafana, Prometheus

[Confluence] Integrate with Confluence by API

Posted on January 5, 2024January 29, 2024 By nim No Comments on [Confluence] Integrate with Confluence by API
[Confluence] Integrate with Confluence by API

1) Prepare the token for Calling API. 2) Create a page trên Confluence. Trên confluence chúng ta sẽ tạo nhưng bài viết thì nó được gọi là page. Bạn có thể tìm hiểu các API ở link bên dưới:https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space/#api-wiki-rest-api-space-spacekey-gethttps://developer.atlassian.com/cloud/confluence/rest/v2/intro/ Đầu tiên bạn tạo page tên là report. Giờ mình sẽ cần tạo 1 page chứa…

Read More “[Confluence] Integrate with Confluence by API” »

Coding

[Golang] In-Memory Cache or Local Cache with Golang.

Posted on January 1, 2024January 1, 2024 By nim No Comments on [Golang] In-Memory Cache or Local Cache with Golang.
[Golang] In-Memory Cache or Local Cache with Golang.

Here are some Go packages similar in functionality to go-cache: Coding To print each individual value stored under the myKey key in BigCache, you can split the retrieved concatenated string into its constituent parts. Since the values are concatenated with spaces as separators, you can use strings.Split to divide the string into separate values and…

Read More “[Golang] In-Memory Cache or Local Cache with Golang.” »

Golang

[Golang] Use Cache to consume messages in Kafka with GO

Posted on January 1, 2024January 1, 2024 By nim No Comments on [Golang] Use Cache to consume messages in Kafka with GO
[Golang] Use Cache to consume messages in Kafka with GO

To receive results in the main function from StartKafkaConsumer, you can use a Go channel. Channels are a powerful feature in Go for communication between goroutines. Here’s how you can modify your program: 1. Modify StartKafkaConsumer to Use Channels Update the StartKafkaConsumer function to send Kafka messages through a channel. You’ll also need to pass…

Read More “[Golang] Use Cache to consume messages in Kafka with GO” »

Golang
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.