
Explanation:
The correct command is kubectl create ns production (or equivalently, kubectl create namespace production). This command creates a new namespace in Kubernetes, which is essential for logically isolating deployments. For further learning, exploring Kubernetes Codelabs is highly recommended.
Ultimate access to all questions.
No comments yet.
Your company is preparing to deploy a CI pipeline on Google Cloud Platform and needs to ensure the correct syntax for creating a Kubernetes namespace named 'production' to logically isolate the deployment. Which Kubernetes command accomplishes this?
A
kubectl namespace create production
B
kubectl create name production
C
kubectl create ns production
D
kubectl ns create production