VMware Carbon Black Cloud Enterprise EDR (2020) — Question 78
A development team has submitted a YAML specification to create a Tanzu Kubernetes cluster called dev-cluster and wants to verify that the cluster is running.
Which command should be run to obtain this verification?
Answer options
- A. kubectl show tkc dev-cluster
- B. kubectl get cluster dev-cluster
- C. kubectl get tkc dev-cluster
- D. kubectl list cluster dev-cluster
Correct answer: C
Explanation
The command 'kubectl get tkc dev-cluster' is the correct choice because it specifically retrieves information about a Tanzu Kubernetes cluster (TKC). The other options either use incorrect commands or syntax that do not apply to checking the status of a TKC.