We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 162b79d + 4a1a2c9 commit 69cf268Copy full SHA for 69cf268
pkg/kubectl/cmd/get/get.go
@@ -118,6 +118,9 @@ var (
118
# Return only the phase value of the specified pod.
119
kubectl get -o template pod/web-pod-13je7 --template={{.status.phase}}
120
121
+ # List resource information in custom columns.
122
+ kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0].name,IMAGE:.spec.containers[0].image
123
+
124
# List all replication controllers and services together in ps output format.
125
kubectl get rc,services
126
0 commit comments