k8s kubernetes Lesson 7 ingress-nginx kubernetes
https://sueboy.blogspot.com/2019/01/ingress-nginx-kubernetes-ingress-with.html
Real site is
https://kubernetes.github.io/ingress-nginx/deploy/
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
Verify installation
https://kubernetes.github.io/ingress-nginx/deploy/#verify-installation
kubectl get pods --all-namespaces -l app.kubernetes.io/name=ingress-nginx --watch
Detect installed version
https://kubernetes.github.io/ingress-nginx/deploy/#detect-installed-version
shell script
POD_NAMESPACE=ingress-nginx
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app.kubernetes.io/name=ingress-nginx -o jsonpath='{.items[0].metadata.name}')
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- /nginx-ingress-controller --version
=========
Other nginx-ingress
https://kubernetes.github.io/ingress-nginx/deploy/#using-helm