Skip to content

Commit 732d118

Browse files
authored
Merge pull request #27417 from joostas/docker-cli-kubectl-zh
[zh] Fix label selector in "kubectl for Docker Users"
2 parents 3dcdd86 + 2c3ece8 commit 732d118

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/reference/kubectl/docker-cli-to-kubectl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ nginx-app 1 1 1 1 2m
371371
```
372372

373373
```shell
374-
kubectl get po -l run=nginx-app
374+
kubectl get po -l app=nginx-app
375375
```
376376
```
377377
NAME READY STATUS RESTARTS AGE
@@ -385,7 +385,7 @@ deployment "nginx-app" deleted
385385
```
386386

387387
```shell
388-
kubectl get po -l run=nginx-app
388+
kubectl get po -l app=nginx-app
389389
# Return nothing
390390
```
391391

0 commit comments

Comments
 (0)