2V0-21.23 Question 293
Select 3Your organization is planning to deploy a Tanzu Kubernetes Grid (TKG) cluster on vSphere. During the configuration process, you need to specify the network settings. Which of the following steps are essential to successfully configure a Tanzu Kubernetes Grid cluster network?
- A
Define a CIDR block for the pod network.
- B
Assign a static IP address to each Kubernetes worker node manually.
- C
Specify the DNS server and NTP server details in the configuration file.
- D
Enable DHCP on the network used by the TKG cluster.
- E
Configure a load balancer for the Kubernetes API server.
Show answer and explanation
Correct answers: A, C, E
Explanation
To configure a Tanzu Kubernetes Grid cluster, setting up a CIDR block for the pod network ensures proper IP address allocation for pods. DNS and NTP details are essential for resolving hostnames and maintaining time synchronization. Additionally, a load balancer is necessary to handle Kubernetes API traffic. While DHCP can be used, it is not mandatory, and static IPs for worker nodes are typically handled automatically by the TKG deployment process.
- A. Correct.
Defining a CIDR block for the pod network is crucial for configuring the Kubernetes networking, as it ensures that pods have unique IPs within the cluster.
- B. Incorrect.
Manually assigning static IPs to each Kubernetes worker node is not required because TKG can dynamically assign IPs using DHCP or through the vSphere network configuration.
- C. Correct.
Specifying DNS and NTP server details is required for proper name resolution and time synchronization within the TKG cluster.
- D. Incorrect.
Enabling DHCP is optional and depends on how the network is configured. It is not a mandatory step for TKG cluster deployment.
- E. Correct.
A load balancer is required to manage traffic to the Kubernetes API server, ensuring availability and scalability of the cluster.