
Explanation:
To create a new namespace in Kubernetes, the correct command is kubectl create namespace. This command allows you to logically isolate your deployments within the Kubernetes cluster. For more details, refer to the Kubernetes documentation on namespaces.
Ultimate access to all questions.
No comments yet.
When preparing to deploy a CI pipeline on GCP, you need 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 ns production
C
kubectl ns create production
D
kubectl create namespace production