2V0-71-21 practice question 6 of 15

What are the pre-requisites for installing the Harbor registry in Tanzu Kubernetes Grid (TKG)?

Full set: 55 questions
Answer options
A: Install Harbor helm from vCenter.
B: Deploy a management cluster, download and install the TKG extensions and Carvel tools. Correct answer
C: Deploy a management cluster, launch the Harbor installation wizard.
D: Deploy a management cluster and install Tanzu Kubernetes Grid extensions.
Correct Answer:
B. Deploy a management cluster, download and install the TKG extensions and Carvel tools.
Explanation

To install Harbor, which is packaged as a TKG Extension, several prerequisites must be met. First, a Tanzu Kubernetes Grid (TKG) management cluster must be deployed, as it manages the lifecycle of workload clusters where extensions are installed. Second, the TKG extensions bundle, which contains the Harbor package and its dependencies, must be downloaded to the local machine. Finally, the Carvel tool suite (including ytt, kapp, kbld) must be installed. The Tanzu CLI uses these tools to process, customize, and deploy the extension manifests onto a workload cluster.

Why Incorrect

A. Install Harbor helm from vCenter. Harbor is deployed as a package on a Kubernetes cluster using the Tanzu CLI, not via a Helm chart directly from vCenter.
C. Deploy a management cluster, launch the Harbor installation wizard. The installation of TKG extensions like Harbor is a command-line driven process using the Tanzu CLI and YAML configuration files; there is no graphical installation wizard.
D. Deploy a management cluster and install Tanzu Kubernetes Grid extensions. This option is incomplete. Before installing the extensions, you must download the extensions bundle and install the necessary Carvel tools, which are critical for the package installation process.

References

1. VMware Tanzu Kubernetes Grid 1.6 Documentation

"Prepare to Deploy Tanzu Kubernetes Grid Extensions". This section explicitly lists the prerequisites:

"You have a running TKG management cluster..."

"You have installed the Carvel tools..."

"You have downloaded and unpacked the TKG extensions bundle..."

(Reference: VMware Docs

Tanzu Kubernetes Grid 1.6

"Deploying and Managing Packages (Extensions)"

Section: "Prepare to Deploy Tanzu Kubernetes Grid Extensions")

2. VMware Tanzu Kubernetes Grid 2.1 Documentation

"Prepare the Local CLI and a Workload Cluster for Packages". This updated documentation confirms the same requirements for package management. It states the need for a management cluster

the Tanzu CLI

kubectl

and the Carvel tools to be installed on the bootstrap machine. It also details the process of adding the package repository

which is part of the downloaded extensions.

(Reference: VMware Docs

Tanzu Kubernetes Grid 2.1

"Deploy and Manage Packages with the Tanzu CLI"

Section: "Prepare the Local CLI and a Workload Cluster for Packages")

Scroll to Top