Selasa, 13 Agustus 2024

Install NGINX Ingress Controller

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx

helm repo update

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

--namespace ingress-nginx \

--create-namespace

verify your installation

kubectl get pods -n ingress-nginx

kubectl get svc -n ingress-nginx


If you want to put static IP on your ingress controller

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

--namespace ingress-nginx \

--set controller.service.loadBalancerIP=your-ip-public \

--create-namespace

Tidak ada komentar: