mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
Deprecated -t for --template to make it --tty
This commit is contained in:
@@ -53,7 +53,7 @@ $ kubectl get -o json pod web-pod-13je7
|
||||
$ kubectl get -f pod.yaml -o json
|
||||
|
||||
# Return only the phase value of the specified pod.
|
||||
$ kubectl get -o template web-pod-13je7 --template={{.status.phase}} --api-version=v1
|
||||
$ kubectl get -o template pod/web-pod-13je7 --template={{.status.phase}} --api-version=v1
|
||||
|
||||
# List all replication controllers and services together in ps output format.
|
||||
$ kubectl get rc,services
|
||||
|
||||
Reference in New Issue
Block a user