
Explanation:
The correct command to create a Kubernetes namespace named 'production' is kubectl create ns production. This command is straightforward and effectively creates the namespace. Alternatively, kubectl create namespace production can also be used as it is equivalent. For further learning, consider exploring this Codelabs tutorial.
Ultimate access to all questions.
No comments yet.
Your company is preparing to deploy a CI pipeline on Google Cloud Platform (GCP). To ensure the deployment is logically isolated, you need to create a Kubernetes namespace named 'production'. Which Kubernetes command should you use? (Select One)
A
kubectl namespace create production
B
kubectl create name production
C
kubectl ns create production
D
kubectl create ns production