Skip to content

Commit 4bd1802

Browse files
committed
1 parent 79c1ab1 commit 4bd1802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/ja/docs/concepts/overview/working-with-objects/field-selectors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ kubectl get services --all-namespaces --field-selector metadata.namespace!=defa
4646
下記の`kubectl`コマンドは、`status.phase``Runnning`でなく、かつ`spec.restartPolicy`フィールドが`Always`に等しいような全てのPodを選択します。
4747

4848
```shell
49-
kubectl get statefulsets,services --all-namespaces --field-selector metadata.namespace!=default
49+
kubectl get pods --field-selector=status.phase!=Running,spec.restartPolicy=Always
5050
```
5151

5252
## 複数のリソースタイプ

0 commit comments

Comments
 (0)