en: Remove deprecated --include-uninitialized flag (#16974)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
527f07415c
commit
18ee7f8d94
@@ -295,8 +295,8 @@ kubectl get replicationcontroller <rc-name>
|
|||||||
# List all replication controllers and services together in plain-text output format.
|
# List all replication controllers and services together in plain-text output format.
|
||||||
kubectl get rc,services
|
kubectl get rc,services
|
||||||
|
|
||||||
# List all daemon sets, including uninitialized ones, in plain-text output format.
|
# List all daemon sets in plain-text output format.
|
||||||
kubectl get ds --include-uninitialized
|
kubectl get ds
|
||||||
|
|
||||||
# List all pods running on node server01
|
# List all pods running on node server01
|
||||||
kubectl get pods --field-selector=spec.nodeName=server01
|
kubectl get pods --field-selector=spec.nodeName=server01
|
||||||
@@ -315,8 +315,8 @@ kubectl describe pods/<pod-name>
|
|||||||
# Remember: Any pods that are created by the replication controller get prefixed with the name of the replication controller.
|
# Remember: Any pods that are created by the replication controller get prefixed with the name of the replication controller.
|
||||||
kubectl describe pods <rc-name>
|
kubectl describe pods <rc-name>
|
||||||
|
|
||||||
# Describe all pods, not including uninitialized ones
|
# Describe all pods
|
||||||
kubectl describe pods --include-uninitialized=false
|
kubectl describe pods
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
@@ -340,8 +340,8 @@ kubectl delete -f pod.yaml
|
|||||||
# Delete all the pods and services that have the label name=<label-name>.
|
# Delete all the pods and services that have the label name=<label-name>.
|
||||||
kubectl delete pods,services -l name=<label-name>
|
kubectl delete pods,services -l name=<label-name>
|
||||||
|
|
||||||
# Delete all the pods and services that have the label name=<label-name>, including uninitialized ones.
|
# Delete all the pods and services that have the label name=<label-name>.
|
||||||
kubectl delete pods,services -l name=<label-name> --include-uninitialized
|
kubectl delete pods,services -l name=<label-name>
|
||||||
|
|
||||||
# Delete all pods, including uninitialized ones.
|
# Delete all pods, including uninitialized ones.
|
||||||
kubectl delete pods --all
|
kubectl delete pods --all
|
||||||
|
|||||||
Reference in New Issue
Block a user