fix app label in deployment docs

This commit is contained in:
Angelo Olivera 2017-10-23 17:29:07 -04:00
parent 280ec7201d
commit c00d45b324

View file

@ -169,7 +169,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 --watch
```
Once the operator pods are running, you can cancel the above command by typing `Ctrl+C`.
@ -182,6 +182,6 @@ 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 -o jsonpath={.items[0].metadata.name})
kubectl exec -it $POD_NAME -n $POD_NAMESPACE /nginx-ingress-controller version
```