exam questions

Exam 2V0-71.21 All Questions

View all questions & answers for the 2V0-71.21 exam

Exam 2V0-71.21 topic 1 question 39 discussion

Actual exam question from VMware's 2V0-71.21
Question #: 39
Topic #: 1
[All 2V0-71.21 Questions]

Which command is used to upgrade a Tanzu Kubernetes Grid Cluster (TKG) to a different kubernetes version?

  • A. tkg cluster upgrade <cluster_name> --k8s-version <version>
  • B. tkg upgrade cluster <cluster_name> --kubernetes-version <version>
  • C. tkg cluster upgrade <cluster_name> --kubernetes-version <version>
  • D. tkg upgrade cluster <cluster_name> --version <version>
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.2/vmware-tanzu-kubernetes-grid-12/GUID-upgrade-tkg-workload-clusters.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rahimtolba
Highly Voted 2 years, 5 months ago
Outdated question? It is `tanzu` not `tkg` tanzu cluster upgrade ${CLUSTER_NAME} --tkr ${K8S_VERSION} https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.5/vmware-tanzu-kubernetes-grid-15/GUID-tanzu-cli-reference.html
upvoted 6 times
...
jayendra90
Most Recent 1 year, 9 months ago
B...To upgrade a cluster using the Tanzu CLI, you need to specify the cluster name and the target Kubernetes version. The command you entered is correct, but you need to replace the placeholders with actual values. For example, if your cluster name is my-cluster and you want to upgrade it to Kubernetes version 1.22.17, you would run: tkg upgrade cluster my-cluster --kubernetes-version 1.22.17
upvoted 1 times
...
dhonaTM
1 year, 10 months ago
Answer A. tanzu cluster upgrade Relavan: https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.6/vmware-tanzu-kubernetes-grid-16/GUID-upgrade-tkg-workload-clusters.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago