fix app label in deployment docs
This commit is contained in:
parent
280ec7201d
commit
c00d45b324
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
To check if the ingress controller pods have started, run the following command:
|
||||||
|
|
||||||
```console
|
```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`.
|
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
|
```console
|
||||||
POD_NAMESPACE=ingress-nginx
|
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
|
kubectl exec -it $POD_NAME -n $POD_NAMESPACE /nginx-ingress-controller version
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue