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
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • DevSecOps
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log, Monitor & Tracing
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form
[Argo-Workflows] Lesson8: Secrets as environment variables ArgoWorkflows
[AWS] Create EKS Cluster and EKS Node Groups in Public and Private Subnets AWS - Amazon Web Service
[Laravel – Js] Laravel call/show JS flexibly Jquery & JavaScript
[Jenkins] Scripted Pipeline lesson 12: Options _ CheckoutToSubdirectory. Jenkins
[VMware ESXI] Làm sao để Máy ảo trên vmware vừa add card rời(GTX) – vừa enable Virtualization Ảo Hoá BareMetal

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

Posted on October 30, 2023October 30, 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, 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

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 No 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

[SSH] Add new user to SSH to Ubuntu

Posted on October 11, 2023 By nim No Comments on [SSH] Add new user to SSH to Ubuntu
[SSH] Add new user to SSH to Ubuntu

Đầu tiên bạn sẽ yêu cầu user đó gửi public key cho bạn.Có kiểu như bên dưới. Trên server mà User muốn SSH the command is creating a new user named “thangta” with the login shell set to /bin/bash, no additional information in the GECOS field, and a disabled password. This is often used for…

Read More “[SSH] Add new user to SSH to Ubuntu” »

BareMetal

Posts navigation

Previous 1 2 3 … 67 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

  • [Monitoring] Understanding Different Types of Metrics in Monitoring Systems: Gauge, Counter, Histogram, and Summary December 6, 2023
  • [Golang/Protocol Buffers] Binarilize data by Proto Buf December 5, 2023
  • [Helm] Fail when running helm upgrade November 30, 2023
  • [AWS/EKS] Unlocking Simplicity and Security of Amazon EKS Pod Identity. November 30, 2023
  • [Gitleaks/njsscan/semgrep] Secure Your code by CAST and SAST tools November 27, 2023

Archives

  • 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
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • DevSecOps
    • Golang
    • Jquery & JavaScript
    • Laravel
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
      • Pod
    • Longhorn – Storage
    • MetalLB
    • Vault
    • VictoriaMetrics
  • Log, Monitor & Tracing
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Fluent
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2023 NimTechnology.