CoreDNS
coredns (Object) โ Requiredโ
Descriptionโ
The coredns field contains the main configuration for the clusterโs DNS service.
It defines the parameters required for deploying and ensuring the proper operation of CoreDNS.
Exampleโ
coredns:
valuesOverride:
corends:
replicaCount: 2
valuesOverride (Object) โ Requiredโ
Descriptionโ
The valuesOverride field allows overriding the default values of the CoreDNS deployment, typically via Helm.
It is used to customize resources, replica counts, and DNS service configuration (e.g., plugins, zones, caches).
See all available options: https://github.com/coredns/helm/blob/master/charts/coredns/values.yaml
Exampleโ
valuesOverride:
corends:
replicaCount: 2
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
๐ก Best Practicesโ
- Always define
valuesOverrideto adjust resources according to the cluster size. - Set
replicaCountto at least 2 to ensure high availability of the DNS service. - Monitor memory usage: CoreDNS may consume more depending on the number of services and DNS queries.
- Adapt plugin configuration (e.g.,
forward,cache,rewrite) according to your environmentโs needs. - Avoid manually modifying the CoreDNS
ConfigMap: prefer a deployment managed throughvaluesOverride.