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: October 2023

[AWS] Optimizing Image Storage in Amazon ECR: Understanding Layer Reuse and Immutability.

Posted on October 31, 2023 By nim No Comments on [AWS] Optimizing Image Storage in Amazon ECR: Understanding Layer Reuse and Immutability.
[AWS] Optimizing Image Storage in Amazon ECR: Understanding Layer Reuse and Immutability.

When you push an image to ECR, it is stored as a series of layers that represent the image contents. Each layer contains filesystem changes, metadata, etc. When you push a second image to ECR, even if it has different metadata, like the tag name, ECR checks the layer contents and reuses any identical layers….

Read More “[AWS] Optimizing Image Storage in Amazon ECR: Understanding Layer Reuse and Immutability.” »

AWS - Amazon Web Service

[Golang/Swagger] Apply Swagger to describe the information API on Golang

Posted on October 30, 2023December 29, 2023 By nim 2 Comments on [Golang/Swagger] Apply Swagger to describe the information API on Golang
[Golang/Swagger] Apply Swagger to describe the information API on Golang

Sau khi chúng ta thực hiện code xong 1 api thì chúng ta cần note lên 1 swagger để các teams khác integrate sẽ dễ dàng hơn Với echo framework thì chúng ta sẽ sử dụng echo-swagger Bạn sẽ cần chạy các command dưới đây, cùng vị trí với file main.go tiếp đến bạn chạy…

Read More “[Golang/Swagger] Apply Swagger to describe the information API on Golang” »

Golang

[Oauth2-Proxy] Oauth2-Proxy encounters issue with Cognito

Posted on October 20, 2023December 22, 2023 By nim No Comments on [Oauth2-Proxy] Oauth2-Proxy encounters issue with Cognito
[Oauth2-Proxy] Oauth2-Proxy encounters issue with Cognito

Hiện tại thì Oauth2-Proxy incounter issue with Cognito.https://github.com/oauth2-proxy/oauth2-proxy/pull/2265 oauth2-proxy encodes the redirect-URL as part of the state parameter to the authorization endpoint. AWS doesn’t give a full documentation on valid characters, but it hints that URL-encoding data will not work and advice to do a base64 encoding instead. https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html This patch will do a base64-encoding…

Read More “[Oauth2-Proxy] Oauth2-Proxy encounters issue with Cognito” »

Kubernetes & Container, OAuth2 Proxy

How do companies ship code to production?

Posted on October 18, 2023 By nim No Comments on How do companies ship code to production?

Tham khảo link:https://blog.bytebytego.com/p/ep81-how-companies-ship-code-to-production?ref=dailydev Step 1: The process starts with a product owner creating user stories based on requirements. Step 2: The dev team picks up the user stories from the backlog and puts them into a sprint for a two-week dev cycle. Step 3: The developers commit source code into the code repository Git. Step…

Read More “How do companies ship code to production?” »

Coding, DevSecOps

[Golang/Elasticsearch] How to send data or anything to Elasticsearch by Golang

Posted on October 17, 2023October 17, 2023 By nim No Comments on [Golang/Elasticsearch] How to send data or anything to Elasticsearch by Golang
[Golang/Elasticsearch] How to send data or anything to Elasticsearch by Golang

Chúng ta cùng nhau sử dụng golang to send data vào elasticsearch. Install Go Elasticsearch Library You can install the Go Elasticsearch library using go get: Create Go Code Here is a Go code snippet that demonstrates how to create an index in Elasticsearch: Nếu bạn muốn xem mappingJSON là cái j? Apply Singleton with…

Read More “[Golang/Elasticsearch] How to send data or anything to Elasticsearch by Golang” »

ELK

[Golang] How is Singleton in Golang.

Posted on October 15, 2023October 16, 2023 By nim No Comments on [Golang] How is Singleton in Golang.
[Golang] How is Singleton in Golang.

Singleton là một mẫu thiết kế (design pattern) giúp hạn chế việc khởi tạo một lớp (class) chỉ có một instance duy nhất và cung cấp một điểm truy cập toàn cục đến instance này. Mục đích của mẫu Singleton là đảm bảo rằng một lớp chỉ có một instance và cung cấp một cách…

Read More “[Golang] How is Singleton in Golang.” »

Golang

[Golang] Define mapping when creating an index on Elasticsearch by Golang.

Posted on October 15, 2023October 15, 2023 By nim No Comments on [Golang] Define mapping when creating an index on Elasticsearch by Golang.
[Golang] Define mapping when creating an index on Elasticsearch by Golang.

Mình có sử dụng Golang để create index trên elasticsearch. Giờ chúng ta mổ sẻ từng bổ phần nhỏ “mappings”: “properties”: “type”: “date”: Specifies that the field will store date values. “City”: This is the name of the field in Elasticsearch.map[string]interface{}: This is a Go map, where the key is a string and the value…

Read More “[Golang] Define mapping when creating an index on Elasticsearch by Golang.” »

ELK, Golang

[Docker] Pulling unlimited public docker images

Posted on October 14, 2023October 14, 2023 By nim 2 Comments on [Docker] Pulling unlimited public docker images
[Docker] Pulling unlimited public docker images

Khi bạn public 1 docker image bạn sẽ gặp vấn đề sau: Docker Hub started throttling or limiting the number of container images you could pull anonymously or as a Free Docker Hub user. If you’re an anonymous user, you can only pull 100 container images in any 6-hour period. If you’re a Free Docker Hub user, you can…

Read More “[Docker] Pulling unlimited public docker images” »

Docker

[Golang] To use regex to filter and give any values you want.

Posted on October 13, 2023November 30, 2023 By nim No Comments on [Golang] To use regex to filter and give any values you want.
[Golang] To use regex to filter and give any values you want.

Ví dụ như bạn có 1 ký tự 52.2 m² và bạn muốn lấy 52.2 sau đó lưu vào database. Certainly! Let’s break down the regular expression and the code: The Regular Expression: (\d+(\.\d+)?)\s*m? The Code: So, when the string “52.2 m²” is processed with this code, the regular expression will recognize “52.2” as the…

Read More “[Golang] To use regex to filter and give any values you want.” »

Golang

[Golang] Return Error in Golang

Posted on October 11, 2023October 12, 2023 By nim No Comments on [Golang] Return Error in Golang
[Golang] Return Error in Golang

Bình thường chúng ta có thể return error như sau: Next, you’ll adjust the error handling portion. If res.IsError() evaluates to true, instead of logging the error and continuing, you’ll return an error:

Golang

Posts pagination

1 2 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.