Update basic-stateful-set.md
This commit is contained in:
@@ -738,7 +738,7 @@ web-1 1/1 Running 0 18s
|
|||||||
Get the `web-1` Pods container.
|
Get the `web-1` Pods container.
|
||||||
|
|
||||||
```shell{% raw %}
|
```shell{% raw %}
|
||||||
get po web-1 --template '{{range $i, $c := .spec.containers}}{{$c.image}}{{end}}'
|
kubectl get po web-1 --template '{{range $i, $c := .spec.containers}}{{$c.image}}{{end}}'
|
||||||
gcr.io/google_containers/nginx-slim:0.8
|
gcr.io/google_containers/nginx-slim:0.8
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user