Skip to content

Commit 4a2fb11

Browse files
committed
[id] fixed the list container images by pod section
1 parent 9ffbaf3 commit 4a2fb11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Format dapat dikontrol lebih lanjut dengan menggunakan operasi `range` untuk
7676
melakukan iterasi untuk setiap elemen secara individual.
7777

7878
```sh
79-
kubectl get pods --all-namespaces -o=jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .spec.containers[*]}{.image}{", "}{end}{end}' |\
79+
kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .spec.containers[*]}{.image}{", "}{end}{end}' |\
8080
sort
8181
```
8282

@@ -86,7 +86,7 @@ Untuk menargetkan hanya Pod yang cocok dengan label tertentu saja, gunakan tanda
8686
dibawah ini akan menghasilkan Pod dengan label yang cocok dengan `app=nginx`.
8787

8888
```sh
89-
kubectl get pods --all-namespaces -o=jsonpath="{.items[*].spec.containers[*].image}" -l app=nginx
89+
kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" -l app=nginx
9090
```
9191

9292
## Membuat daftar _image_ Container yang difilter berdasarkan Namespace Pod

0 commit comments

Comments
 (0)