Add a Zone File to Kubernetes CoreDNS: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * CoreDNS in Kubernetes =Procedure=") |
|||
Line 4: | Line 4: | ||
=Procedure= | =Procedure= | ||
The zone file is added as a ConfigMap entry which will be [[Kubernetes_Cluster_Configuration_Concepts#As_Files|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. |
Revision as of 19:04, 23 October 2019
Internal
Procedure
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.