Skip to content

Commit 517ec92

Browse files
authored
Merge pull request #31567 from Arhell/fix
[ja] fixed the list container images by pod section
2 parents 71408cd + 555fe65 commit 517ec92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/ja/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
@@ -62,7 +62,7 @@ jsonpathは次のように解釈されます:
6262
`range`を使用して要素を個別に繰り返し処理することにより、フォーマットをさらに制御できます。
6363

6464
```shell
65-
kubectl get pods --all-namespaces -o=jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .spec.containers[*]}{.image}{", "}{end}{end}' |\
65+
kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .spec.containers[*]}{.image}{", "}{end}{end}' |\
6666
sort
6767
```
6868

@@ -71,7 +71,7 @@ sort
7171
特定のラベルに一致するPodのみを対象とするには、-lフラグを使用します。以下は、`app=nginx`に一致するラベルを持つPodのみに一致します。
7272

7373
```shell
74-
kubectl get pods --all-namespaces -o=jsonpath="{..image}" -l app=nginx
74+
kubectl get pods --all-namespaces -o jsonpath="{..image}" -l app=nginx
7575
```
7676

7777
## Podの名前空間でコンテナイメージ一覧をフィルタリングする {#list-container-images-filtering-by-pod-namespace}

0 commit comments

Comments
 (0)