This post is part of our ongoing series of posts for Kubernetes. In this post we are focusing on setting up External DNS, a critical component for automating DNS record management. Although we are working on a local Kubernetes cluster, we have implemented prerequisites in Kubernetes - Routing external traffic to local Kubernetes cluster to enable access to our internal cluster via public ip.
We are using Cloudflare as our DNS Provider and implementing this solution using declarative GitOps principles with Flux.
1. Setup Cloudflare API Key
First, let's generate an API key from Cloudflare by navigating to Manage Account > Account API Tokens in the Cloudflare dashboard.
We'll choose Edit DNS template and generate token for a specific zone
2.…