Exam 5v0-2320 All QuestionsBrowse all questions from this exam
Question 102

Which command would be used to deploy a Tanzu Kubernetes cluster?

    Correct Answer: D

    To deploy a Tanzu Kubernetes cluster, the correct command is 'kubectl create -f CLUSTER-NAME.yaml'. The 'kubectl create' command is used to create resources from a file, which is appropriate for deploying clusters. Using 'kubectl apply' is generally for applying changes to existing resources, not for initial creation. Therefore, 'kubectl create -f CLUSTER-NAME.yaml' is the correct command.

Discussion
obeythefistOption: C

I've seen about three questions in this dump like this. It's always "apply -F <file>". The -F parameter is required because that tells kubectl to read the config from a file. Go with "C" or whichever answer has "apply -F"

shungliOption: C

https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.6/vmware-tanzu-kubernetes-grid-16/GUID-tanzu-k8s-clusters-index.html