Update label used to search for pods in deployment

With `kubectl run` changed to `kubectl create deployment`, the
label used to search for pods in the deployment also needs to change
from `run=...` to `app=...`.
This commit is contained in:
Prasad Katti
2020-05-14 13:23:08 -07:00
parent 1ffbe95773
commit 52c8562bef
2 changed files with 7 additions and 8 deletions
@@ -242,7 +242,7 @@ snowflake 2/2 2 2 2m
```
```shell
kubectl get pods -l run=snowflake
kubectl get pods -l app=snowflake
```
```
NAME READY STATUS RESTARTS AGE
@@ -279,7 +279,7 @@ cattle 5/5 5 5 10s
```
```shell
kubectl get pods -l run=cattle
kubectl get pods -l app=cattle
```
```
NAME READY STATUS RESTARTS AGE