Which command would be used to deploy a Tanzu Kubernetes cluster?
Which command would be used to deploy a Tanzu Kubernetes cluster?
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.
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"
https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.6/vmware-tanzu-kubernetes-grid-16/GUID-tanzu-k8s-clusters-index.html