Add a Zone File to Kubernetes CoreDNS
Jump to navigation
Jump to search
Internal
Overview
The zone file is added as a ConfigMap entry which will be projected in CoreDNS pods as a file. The Corefile should be also modified to refer the new zone file with the "file" directive.
The CoreDNS deployment is then scaled down, the new configuration file is added as an "item" in configMap volume mount, and the deployment is then scaled up.