Skip to content

Commit 4af7b0f

Browse files
author
Rajesh Deshpande
authored
Changing all incorrect headings of task 'list-all-running-container-images' (#19300)
* Correcting all headings All tasks of this page list down container images and not container itself. so changing all headings to make it correct. * Correcting case Correcting case
1 parent 8311912 commit 4af7b0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/docs/tasks/access-application-cluster/list-all-running-container-images.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In this exercise you will use kubectl to fetch all of the Pods
2323
running in a cluster, and format the output to pull out the list
2424
of Containers for each.
2525

26-
## List all Containers in all namespaces
26+
## List all Container images in all namespaces
2727

2828
- Fetch all Pods in all namespaces using `kubectl get pods --all-namespaces`
2929
- Format the output to include only the list of Container image names
@@ -68,7 +68,7 @@ the `.items[*]` portion of the path should be omitted because a single
6868
Pod is returned instead of a list of items.
6969
{{< /note >}}
7070

71-
## List Containers by Pod
71+
## List Container images by Pod
7272

7373
The formatting can be controlled further by using the `range` operation to
7474
iterate over elements individually.
@@ -78,7 +78,7 @@ kubectl get pods --all-namespaces -o=jsonpath='{range .items[*]}{"\n"}{.metadata
7878
sort
7979
```
8080

81-
## List Containers filtering by Pod label
81+
## List Container images filtering by Pod label
8282

8383
To target only Pods matching a specific label, use the -l flag. The
8484
following matches only Pods with labels matching `app=nginx`.
@@ -87,7 +87,7 @@ following matches only Pods with labels matching `app=nginx`.
8787
kubectl get pods --all-namespaces -o=jsonpath="{..image}" -l app=nginx
8888
```
8989

90-
## List Containers filtering by Pod namespace
90+
## List Container images filtering by Pod namespace
9191

9292
To target only pods in a specific namespace, use the namespace flag. The
9393
following matches only Pods in the `kube-system` namespace.
@@ -96,7 +96,7 @@ following matches only Pods in the `kube-system` namespace.
9696
kubectl get pods --namespace kube-system -o jsonpath="{..image}"
9797
```
9898

99-
## List Containers using a go-template instead of jsonpath
99+
## List Container images using a go-template instead of jsonpath
100100

101101
As an alternative to jsonpath, Kubectl supports using [go-templates](https://golang.org/pkg/text/template/)
102102
for formatting the output:

0 commit comments

Comments
 (0)