From 9d835058ccd93552a9f2c492e6339a237eff7262 Mon Sep 17 00:00:00 2001 From: jianglingxia Date: Tue, 26 Sep 2017 07:09:16 +0800 Subject: [PATCH] fix the typo of lable in statefulset (#5555) * fix the typo of lable in statefulset * update it --- .../stateful-application/basic-stateful-set.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/tutorials/stateful-application/basic-stateful-set.md b/docs/tutorials/stateful-application/basic-stateful-set.md index 21f63cfbfe..c6dcdb6b8d 100644 --- a/docs/tutorials/stateful-application/basic-stateful-set.md +++ b/docs/tutorials/stateful-application/basic-stateful-set.md @@ -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