- helm repo add
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
- helm repo list
helm repo list
helm search repo ingress-nginx
-
Github
-
Charts
-
https://github.com/kubernetes/ingress-nginx/tree/main/charts/ingress-nginx
-
Values yaml
-
https://github.com/kubernetes/ingress-nginx/blob/main/charts/ingress-nginx/values.yaml
-
Deploy
-
Helm Installation with Classic LoadBalancer (default Unrecommended)
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--namespace ingress-nginx --create-namespace
-
Helm Installation with Aws Network LoadBalancer (Recommended)
-
helm dry-run
helm template ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--values values.yaml \
--version 4.5.0 \
--namespace ingress-nginx --create-namespace \
--dry-run
- helm dry-run output to directory
helm template ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--values values.yaml \
--version 4.5.0 \
--namespace ingress-nginx --create-namespace \
--output-dir nginx-ingress
- helm install
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--values values.yaml \
--namespace ingress-nginx --create-namespace
- Sample Application Setup with Helm
helm create hello
-
Update values.yaml
-
Update Image repo to quickbooks2018/green & tag:latest
-
Enable Ingress & Update className: "external-nginx"
-
helm app dry-run
helm template -f hello/values.yaml --namespace app --create-namespace hello/ --dry-run
- helm install app
helm upgrade --install hello -f hello/values.yaml --namespace app --create-namespace hello/ --wait
- Ingress Classes
kubectl get ingressclasses