Update Chained selectors shell command
Let me propose change to follow the English version. https://github.com/kubernetes/website/blame/79c1ab1fd2836726379c3debef18e955faeedbb2/content/en/docs/concepts/overview/working-with-objects/field-selectors.md#L46
This commit is contained in:
@@ -46,7 +46,7 @@ kubectl get services --all-namespaces --field-selector metadata.namespace!=defa
|
|||||||
下記の`kubectl`コマンドは、`status.phase`が`Runnning`でなく、かつ`spec.restartPolicy`フィールドが`Always`に等しいような全てのPodを選択します。
|
下記の`kubectl`コマンドは、`status.phase`が`Runnning`でなく、かつ`spec.restartPolicy`フィールドが`Always`に等しいような全てのPodを選択します。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl get statefulsets,services --all-namespaces --field-selector metadata.namespace!=default
|
kubectl get pods --field-selector=status.phase!=Running,spec.restartPolicy=Always
|
||||||
```
|
```
|
||||||
|
|
||||||
## 複数のリソースタイプ
|
## 複数のリソースタイプ
|
||||||
|
|||||||
Reference in New Issue
Block a user