This commit is contained in:
iomv 2018-01-30 14:04:33 +00:00 committed by GitHub
commit a663ac3674

View file

@ -232,7 +232,7 @@ helm install stable/nginx-ingress --name my-nginx
To check if the ingress controller pods have started, run the following command:
```console
kubectl get pods --all-namespaces -l app=ingress-nginx --watch
kubectl get pods --all-namespaces -l app=nginx-ingress-controller --watch
```
Once the operator pods are running, you can cancel the above command by typing `Ctrl+C`.
@ -244,7 +244,7 @@ To detect which version of the ingress controller is running, exec into the pod
```console
POD_NAMESPACE=ingress-nginx
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=ingress-nginx -o jsonpath={.items[0].metadata.name})
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=nginx-ingress-controller -o jsonpath={.items[0].metadata.name})
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- /nginx-ingress-controller --version
```