Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 355 Bytes

nginx-controller-helm.md

File metadata and controls

11 lines (8 loc) · 355 Bytes

nginx-controller-helm

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

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


POD_NAME=$(kubectl get pods -l app.kubernetes.io/name=ingress-nginx -o jsonpath='{.items[0].metadata.name}')
kubectl exec -it $POD_NAME -- /nginx-ingress-controller --version