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
    • Helm Chart
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Spinnaker
    • Jenkins
  • Coding
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
    • Golang
    • Laravel
    • Jquery & JavaScript
    • Git
    • Selenium
  • Log & Monitor
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
  • Toggle search form

[Ingress Nginx/MetalLB] Install Ingress Nginx trên K8s bằng helm

Posted on July 4, 2021March 7, 2022 By nim 3 Comments on [Ingress Nginx/MetalLB] Install Ingress Nginx trên K8s bằng helm

https://kubernetes.github.io/ingress-nginx/deploy/#using-helm

Cài đặt metallb trước để auto nhận các service LB

kubectl create ns metallb
helm repo add metallb https://metallb.github.io/metallb
helm install metallb metallb/metallb

Phần config trong file value để tạo 1 range IP cho LB

configInline:
  address-pools:
   - name: default
     protocol: layer2
     addresses:
     - 192.168.21.240-192.168.21.250
addresses:
     - 192.168.21.240-192.168.21.250
Đây là range IP mà bạn sẽ cấp cho các ingress có Type LoadBalancer
kubectl create ns ingress-nginx
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update

helm install ingress-nginx ingress-nginx/ingress-nginx

Trước khi intall export value.yaml và sửa 1 số chi tiết sau:

CÒn nếu bạn sài argocd thì

Thực hành tạo ingress trên rancher he. tạo bằng cmd thì người ta chỉ đầy rồi.

Mình có 1 web tên là kiali và mình đã tạo service cho nó

ở phần này nói thêm với rancher khi mà bạn tạo ingress mà bạn workload như hình trên hình thì nó sẽ tạo cho bạn 1 service select tới workload của bạn.
Rồi nó nào 1 ingress select vào service mà rancher tạo.
Vì mình đã có service rồi nên ko chơi cách này.

Chờ síu cho nó active
OK nhé
Ingress

Post navigation

Previous Post: [Jenkins] Hướng dẫn kết nối kết nối Jenkins master và Agent
Next Post: [Command] Hướng dẫn command xoá file cũ theo ngày trong linux

More Related Articles

[Ingress-nginx/GRPC] Let’s practice the load balancing with Ingress-Nginx and GRPC together Ingress
Hướng dẫn sử dụng ingress nginx và control ingress bằng annotations trên k8s Ingress
[Cert manager] Tìm hiểu cách sử cert-manager để create ssl cho website sử dụng ingress nginx. Ingress
[ingress-nginx] Error=”ingress does not contain a valid IngressClass”, After upgrade ingress-nginx(helm 4.x.x, ingress-nginx/controller:v1.1.0) Ingress
[GRPC/Golang] Learning GRPC and Golang through the easy and actual lessons. Golang
[GRPC/Ingress-Nginx] Add annotation for ingress-nginx to work GRPC Ingress

Comments (3) on “[Ingress Nginx/MetalLB] Install Ingress Nginx trên K8s bằng helm”

  1. Pingback: [Harbor] Cài đặt Private Dockerhub – Harbor trên k8s bằng helm – repo Binami – NimTechnology
  2. Pingback: [Rancher/K8s] Cài đặt rancher trên K8s bằng Helm 3 – NimTechnology
  3. Pingback: [Istio-Multi Cluster] Tutorial is very detailed to install Primary-Remote on different networks – NimTechnology

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

  • Protected: My Assignment  June 24, 2022
  • [Spinnaker] Spinnaker writes too many logs – Reduce spinnaker log level June 22, 2022
  • [Jenkins] Jobs will be created automatically by Jenkins Job Builder June 20, 2022
  • [Postgresql] Install postgresql client and trying a few command postgresql. June 20, 2022
  • [Mount/Nextcloud] How do you mount a hard disk that was used windows into Linux. June 19, 2022

Archives

  • 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
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Jenkins
    • Spinnaker
  • Coding
    • Git
    • Golang
    • Jquery & JavaScript
    • Laravel
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kubernetes
      • Ingress
    • Longhorn – Storage
    • Vault
    • VictoriaMetrics
  • Log & Monitor
    • ELK
      • Kibana
      • Logstash
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2022 NimTechnology.