We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1e4da1 commit ee0465aCopy full SHA for ee0465a
content/ja/docs/reference/kubectl/jsonpath.md
@@ -107,6 +107,6 @@ JSONPathの正規表現はサポートされていません。正規表現を利
107
kubectl get pods -o jsonpath='{.items[?(@.metadata.name=~/^test$/)].metadata.name}'
108
109
# 上のコマンドに期待される結果が欲しい場合、以下のコマンドを使うとよい
110
-kubectl get pods -o json | jq -r '.items[] | select(.metadata.name | test("test-")).spec.containers[].image'
+kubectl get pods -o json | jq -r '.items[] | select(.metadata.name | test("test-")).metadata.name'
111
```
112
{{< /note >}}
0 commit comments