Print out specific fields as Columns.
Note: Custom Columns can also be read from a file using
kubectl get deployments -o custom-columns="Name:metadata.name,Replicas:spec.replicas,Strategy:spec.strategy.type"
Name Replicas Strategy nginx 1 RollingUpdate
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.