2V0-71.23 Question 105
Select 3Your organization has deployed a Tanzu Kubernetes Grid (TKG) cluster to support multiple microservices. One of the microservices requires external clients to access it using a user-friendly domain name. The team has decided to implement ExternalDNS to manage DNS records dynamically. Which of the following statements about ExternalDNS in this scenario are correct?
- A
ExternalDNS automatically creates and manages DNS records for Kubernetes services based on annotations.
- B
ExternalDNS requires manual intervention to update DNS records when service IP addresses change.
- C
ExternalDNS supports multiple DNS providers, such as AWS Route 53, Google Cloud DNS, and Azure DNS.
- D
ExternalDNS can be used to manage both internal and external DNS records in the cluster.
- E
Using ExternalDNS eliminates the need for LoadBalancer services in front of Kubernetes applications.
Show answer and explanation
Correct answers: A, C, D
Explanation
ExternalDNS is a powerful tool for automating DNS record management in Kubernetes environments. It integrates with various cloud DNS providers and dynamically updates DNS records based on the annotations on Kubernetes resources, ensuring seamless connectivity for applications. However, it does not replace LoadBalancer services, which serve a different purpose in Kubernetes networking.
- A. Correct.
Correct. ExternalDNS uses annotations on Kubernetes resources (e.g., Services and Ingresses) to automatically create and manage DNS records for those resources.
- B. Incorrect.
Incorrect. ExternalDNS dynamically updates DNS records without manual intervention, ensuring they remain accurate when service IP addresses change.
- C. Correct.
Correct. ExternalDNS integrates with multiple cloud-based DNS providers, such as AWS Route 53, Google Cloud DNS, and Azure DNS, making it highly versatile.
- D. Correct.
Correct. ExternalDNS can manage both internal and external DNS records, depending on the configuration and use case, providing flexibility for different scenarios.
- E. Incorrect.
Incorrect. While ExternalDNS simplifies DNS management, it does not eliminate the need for LoadBalancer services, which are still required for routing traffic to Kubernetes applications.