Configure External DNS with the UI: All Clusters
This page contains information on how to configure an external-dns
service to manage DNS records automatically and applies to all cluster types.
Prerequisite
Ensure you have configured a DNS zone with your cloud provider.
Configure External DNS Using the UI
The configuration varies depending on your cloud provider.
Select the target workspace from the top navigation bar.
It must be the workspace that contains the cluster, for which you want to configure External DNS. In the case of the Management cluster, it would be the Management cluster workspace.Select Applications from the sidebar menu.
Search for the External DNS application.
On the application card, select the three-dot menu > Enable.
On the Enable Workspace Platform Application page, select Configuration from the sidebar menu.
Copy and paste the following contents into the code editor and replace the placeholders
<...>
with your environment’s information.
Here is an example configuration:
Refer to external-dns documentation for more configuration options.
Customize the Traefik Deployment Using the UI
DKP deploys Treafik to all clusters by default.
Select the target workspace from the top navigation bar.
It must be the workspace that contains the cluster, for which you want to configure External DNS. In the case of the Management cluster, it would be the Management cluster workspace.Select Applications from the sidebar menu.
Search for the Traefik application.
On the application card, select the three-dot menu > Edit.
Select the Configuration lateral tab to add a customization.
Copy and paste the following configuration into the code editor:
Use the Cluster Application Configuration Override code editor to apply a configuration per cluster.CODEservice: annotations: external-dns.alpha.kubernetes.io/hostname: <mycluster.example.com>
Ensure you set up a domain per cluster, for example: <mycluster1.example.com>
, <mycluster2.example.com>
and <mycluster3.example.com>
.