Kubernetes - kubectl Essential Commands
You want to list all deployments in the namespace 'production' with their labels shown. Which command achieves this?
kubectl get deployments lists deployments; -n production sets the namespace.--show-labels adds labels column to the output. Other options use incorrect flags or syntax.-n for namespace and --show-labels to display labels [OK]-n for namespace and --show-labels to see labels [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions