openshift/enable-dns-zone¶
Enable DRP-managed DNS zone for the OpenShift cluster
Controls whether DRP creates and manages an internal DNS zone for the
OpenShift cluster. When enabled, DRP will create and maintain A records
for the API endpoint, internal API endpoint, wildcard ingress, and all
cluster nodes using the openshift-cluster-update-zone task.
Default Behavior (disabled)¶
When false (the default), the openshift-cluster-update-zone task exits
without making any changes, assuming an external DNS provider is already
configured with the required records:
- api.<cluster-name>.<domain> → API VIP
- api-int.<cluster-name>.<domain> → API VIP (internal)
- *.apps.<cluster-name>.<domain> → Ingress VIP
When to Enable¶
Set to true when you want DRP to serve DNS for the cluster network and
no external DNS infrastructure is available. DRP must have its DNS server
configured and be the authoritative resolver for the cluster domain.
Requirements (when enabled)¶
- DRP DNS zones feature must be active on the DRP endpoint
- DRP must be the DNS resolver for machines in the cluster network
openshift/cluster-domainmust be set to the cluster base domain
Objects that Reference openshift/enable-dns-zone¶
- templates openshift-cluster-update-zone.sh.tmpl in Openshift as part of Contents (used)
Objects used by openshift/enable-dns-zone¶
Not used in current content packs