Skip to content

Commit c25ab08

Browse files
authored
Update basic-stateful-set.md
Revise get statefulset web #115-116 Revise container images #640-642
1 parent 6324d63 commit c25ab08

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/tutorials/stateful-application/basic-stateful-set.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ nginx ClusterIP None <none> 80/TCP 12s
112112
kubectl get statefulset web
113113
```
114114
```
115-
NAME READT AGE
116-
web 2 20s
115+
NAME READY AGE
116+
web 2/2 37s
117117
```
118118

119119
### Ordered Pod creation
@@ -637,9 +637,9 @@ Get the Pods to view their container images:
637637
for p in 0 1 2; do kubectl get pod "web-$p" --template '{{range $i, $c := .spec.containers}}{{$c.image}}{{end}}'; echo; done
638638
```
639639
```
640-
registry.k8s.io/nginx-slim:0.8
641-
registry.k8s.io/nginx-slim:0.8
642-
registry.k8s.io/nginx-slim:0.8
640+
gcr.io/google_containers/nginx-slim:0.8
641+
gcr.io/google_containers/nginx-slim:0.8
642+
gcr.io/google_containers/nginx-slim:0.8
643643
644644
```
645645

0 commit comments

Comments
 (0)