fix the typo of lable in statefulset (#5555)
* fix the typo of lable in statefulset * update it
This commit is contained in:
committed by
Andrew Chen
parent
779c64dd15
commit
9d835058cc
@@ -651,7 +651,7 @@ pod "web-2" deleted
|
||||
Wait for the Pod to be Running and Ready.
|
||||
|
||||
```shell
|
||||
kubectl get po -lapp=nginx -w
|
||||
kubectl get po -l app=nginx -w
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
web-0 1/1 Running 0 4m
|
||||
web-1 1/1 Running 0 4m
|
||||
@@ -686,7 +686,7 @@ statefulset "web" patched
|
||||
Wait for `web-2` to be Running and Ready.
|
||||
|
||||
```shell
|
||||
kubectl get po -lapp=nginx -w
|
||||
kubectl get po -l app=nginx -w
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
web-0 1/1 Running 0 4m
|
||||
web-1 1/1 Running 0 4m
|
||||
@@ -716,7 +716,7 @@ pod "web-1" deleted
|
||||
Wait for the `web-1` Pod to be Running and Ready.
|
||||
|
||||
```shell
|
||||
kubectl get po -lapp=nginx -w
|
||||
kubectl get po -l app=nginx -w
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
web-0 1/1 Running 0 6m
|
||||
web-1 0/1 Terminating 0 6m
|
||||
@@ -761,7 +761,7 @@ statefulset "web" patched
|
||||
Wait for all of the Pods in the StatefulSet to become Running and Ready.
|
||||
|
||||
```shell
|
||||
kubectl get po -lapp=nginx -w
|
||||
kubectl get po -l app=nginx -w
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
web-0 1/1 Running 0 3m
|
||||
web-1 0/1 ContainerCreating 0 11s
|
||||
@@ -1014,7 +1014,7 @@ of the `web` StatefulSet is set to `Parallel`.
|
||||
In one terminal, watch the Pods in the StatefulSet.
|
||||
|
||||
```shell
|
||||
kubectl get po -lapp=nginx -w
|
||||
kubectl get po -l app=nginx -w
|
||||
```
|
||||
|
||||
In another terminal, create the StatefulSet and Service in the manifest.
|
||||
@@ -1028,7 +1028,7 @@ statefulset "web" created
|
||||
Examine the output of the `kubectl get` command that you executed in the first terminal.
|
||||
|
||||
```shell
|
||||
kubectl get po -lapp=nginx -w
|
||||
kubectl get po -l app=nginx -w
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
web-0 0/1 Pending 0 0s
|
||||
web-0 0/1 Pending 0 0s
|
||||
|
||||
Reference in New Issue
Block a user