The coredns role manages the deployment, reset, and validation of CoreDNS using Helm. You can customize the deployment by providing specific variables.
Key configuration areas include:
- Helm Settings: Control the chart name, version, and repository URL.
- HPA (Horizontal Pod Autoscaler): Enable or disable autoscaling and define replica limits and resource utilization targets.
- Resource Management: Set CPU and memory requests and limits.
- Namespace: Define which Kubernetes namespace CoreDNS should be deployed into (defaults to
kube-system).
For advanced configuration, refer to the coredns_map collection in tasks/facts.yaml.