coredns-app
by Giant Swarm
Helm chartv1.36.1-r4c02ffect20261126214327hb554c08App 1.15.0Apache-2.0Verified publisher
A Helm chart for CoreDNS
About this chart
coredns-app
A Helm chart for CoreDNS
Homepage: https://github.com/giantswarm/coredns-app
Values
| Key | Type | Default | Description |
|---|---|---|---|
| name | string | "coredns" | Name used for the CoreDNS workload and its resources. |
| namespace | string | "kube-system" | Namespace the CoreDNS resources are deployed into. |
| serviceType | string | "managed" | Giant Swarm service type label applied to the resources. |
| securityContext | object | {"runAsGroup":null,"runAsUser":null} | Pod-level security context for the CoreDNS containers. |
| securityContext.runAsUser | string | nil | UID the CoreDNS process runs as. Defaults to userID when unset. |
| securityContext.runAsGroup | string | nil | GID the CoreDNS process runs as. Defaults to groupID when unset. |
| service | object | {"clusterIP":null} | Configuration for the CoreDNS Service. |
| service.clusterIP | string | nil | Cluster IP of the DNS Service. Defaults to cluster.kubernetes.DNS.IP when unset. |
| image | object | {"name":"giantswarm/coredns","registry":"gsoci.azurecr.io","tag":"1.15.0"} | Container image for CoreDNS. |
| image.registry | string | "gsoci.azurecr.io" | Image registry. |
| image.name | string | "giantswarm/coredns" | Image repository. |
| image.tag | string | "1.15.0" | Image tag. |
| ports | object | {"dns":{"name":"dns","port":53,"targetPort":1053},"metrics":{"port":null},"prometheus":null} | Ports exposed by CoreDNS. |
| ports.dns | object | {"name":"dns","port":53,"targetPort":1053} | DNS port configuration. |
| ports.dns.name | string | "dns" | Port name. |
| ports.dns.targetPort | int | 1053 | Container port CoreDNS listens on. |
| ports.dns.port | int | 53 | Service port exposed for DNS. |
| ports.metrics | object | {"port":null} | Prometheus metrics port configuration. |
| ports.metrics.port | string | nil | Port for the Prometheus metrics endpoint. Defaults to 9153 when unset. |
| ports.prometheus | string | nil | DEPRECATED: use ports.metrics.port. Port for the Prometheus metrics endpoint. |
| resources | object | {"limits":{"memory":"1Gi"},"requests":{"cpu":"250m","memory":"512Mi"}} | Resource requests and limits for the CoreDNS containers. |
| resources.limits | object | {"memory":"1Gi"} | Resource limits. |
| resources.limits.memory | string | "1Gi" | Memory limit. |
| resources.requests | object | {"cpu":"250m","memory":"512Mi"} | Resource requests. |
| resources.requests.cpu | string | "250m" | CPU request. |
| resources.requests.memory | string | "512Mi" | Memory request. |
| ciliumNetworkPolicy | object | {"egress":[],"enabled":true,"ingress":[]} | CiliumNetworkPolicy settings. |
| ciliumNetworkPolicy.enabled | bool | true | Render a CiliumNetworkPolicy. When false, a plain NetworkPolicy is rendered instead. |
| ciliumNetworkPolicy.egress | list | [] | Replaces the default CiliumNetworkPolicy egress rules when set. |
| ciliumNetworkPolicy.ingress | list | [] | Replaces the default CiliumNetworkPolicy ingress rules when set. |
| updateStrategy | object | {"rollingUpdate":{"maxSurge":null,"maxUnavailable":null},"type":null} | Update strategy shared by the CoreDNS Deployments, kept for backward compatibility. Set keys take precedence over controlPlane.updateStrategy and workers.updateStrategy. |
| updateStrategy.type | string | nil | Update strategy type. |
| updateStrategy.rollingUpdate | object | {"maxSurge":null,"maxUnavailable":null} | Rolling update parameters. |
| updateStrategy.rollingUpdate.maxUnavailable | string | nil | Maximum number of pods that can be unavailable during the update. |
| updateStrategy.rollingUpdate.maxSurge | string | nil | Maximum number of pods created above the desired count during the update. |
| podDisruptionBudget | object | {"maxUnavailable":"25%"} | Pod disruption budget for the CoreDNS workloads. |
| podDisruptionBudget.maxUnavailable | string | "25%" | Maximum number of pods that can be unavailable to voluntary disruptions. |
| hpa | object | {"behavior":{"scaleDown":{"stabilizationWindowSeconds":1800}},"enabled":true,"maxReplicas":50,"metrics":[],"minReplicas":2,"targetCPUUtilizationPercentage":80,"targetMemoryUtilizationPercentage":0} | Horizontal Pod Autoscaler configuration. |
| hpa.enabled | bool | true | Enable the HorizontalPodAutoscaler. |
| hpa.minReplicas | int | 2 | Minimum number of replicas. |
| hpa.maxReplicas | int | 50 | Maximum number of replicas. |
| hpa.targetCPUUtilizationPercentage | int | 80 | Target average CPU utilization percentage. |
| hpa.targetMemoryUtilizationPercentage | int | 0 | Target average memory utilization percentage. Set to 0 to disable the memory metric. |
| hpa.metrics | list | [] | Additional custom metrics for the HPA (autoscaling/v2 metric objects). |
| hpa.behavior | object | {"scaleDown":{"stabilizationWindowSeconds":1800}} | Scaling behavior. The stabilization window restricts replica-count flapping when the scaling metrics keep fluctuating. |
| hpa.behavior.scaleDown | object | {"stabilizationWindowSeconds":1800} | Scale-down behavior. |
| hpa.behavior.scaleDown.stabilizationWindowSeconds | int | 1800 | Seconds to consider while scaling down to prevent flapping. |
| controlPlane | object | {"enabled":null,"nodeSelector":{"node-role.kubernetes.io/control-plane":""},"tolerations":[{"effect":"NoSchedule","key":"node-role.kubernetes.io/master","operator":"Exists"},{"effect":"NoSchedule","key":"node-role.kubernetes.io/control-plane","operator":"Exists"},{"key":"node.cloudprovider.kubernetes.io/uninitialized","operator":"Exists"}],"updateStrategy":{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0},"type":"RollingUpdate"}} | Control-plane CoreDNS instance configuration. |
| controlPlane.enabled | string | nil | Whether to deploy the control-plane CoreDNS instance. Defaults to mastersInstance.enabled for backward compatibility. |
| controlPlane.nodeSelector | object | {"node-role.kubernetes.io/control-plane":""} | Node selector for the control-plane CoreDNS instance. |
| controlPlane.tolerations | list | [{"effect":"NoSchedule","key":"node-role.kubernetes.io/master","operator":"Exists"},{"effect":"NoSchedule","key":"node-role.kubernetes.io/control-plane","operator":"Exists"},{"key":"node.cloudprovider.kubernetes.io/uninitialized","operator":"Exists"}] | Tolerations for the control-plane CoreDNS instance. |
| controlPlane.updateStrategy | object | {"rollingUpdate":{"maxSurge":1,"maxUnavailable":0},"type":"RollingUpdate"} | Update strategy for the control-plane Deployment. Overridden by the keys set in updateStrategy. |
| controlPlane.updateStrategy.type | string | "RollingUpdate" | Update strategy type. rollingUpdate is ignored with Recreate. |
| controlPlane.updateStrategy.rollingUpdate | object | {"maxSurge":1,"maxUnavailable":0} | Rolling update parameters. |
| controlPlane.updateStrategy.rollingUpdate.maxUnavailable | int | 0 | Maximum number of pods that can be unavailable during the update. Falls back to 1 when maxSurge is 0. |
| controlPlane.updateStrategy.rollingUpdate.maxSurge | int | 1 | Maximum number of pods created above the desired count during the update. |
| workers | object | {"updateStrategy":{"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"},"type":"RollingUpdate"}} | Workers CoreDNS instance configuration. |
| workers.updateStrategy | object | {"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"},"type":"RollingUpdate"} | Update strategy for the workers Deployment. Overridden by the keys set in updateStrategy. |
| workers.updateStrategy.type | string | "RollingUpdate" | Update strategy type. rollingUpdate is ignored with Recreate. |
| workers.updateStrategy.rollingUpdate | object | {"maxSurge":"25%","maxUnavailable":"25%"} | Rolling update parameters. |
| workers.updateStrategy.rollingUpdate.maxUnavailable | string | "25%" | Maximum number of pods that can be unavailable during the update. Falls back to 1 when maxSurge is 0. |
| workers.updateStrategy.rollingUpdate.maxSurge | string | "25%" | Maximum number of pods created above the desired count during the update. |
| coredns | object | {"additionalLocalZones":null,"additionalZones":[],"cluster":{"cache":{"denial":{"capacity":9984,"minTTL":null,"ttl":5},"disable":{"denial":null,"denialZones":[],"success":null,"successZones":[]},"keepttl":false,"prefetch":{"amount":null,"duration":null,"percentage":null},"serveStale":{"duration":null,"enabled":false,"refreshMode":null,"verifyTimeout":null},"servfail":{"duration":null},"success":{"capacity":9984,"minTTL":null,"ttl":null},"ttl":null,"zones":[]},"domains":null,"kubernetes":{"apiserverBurst":null,"apiserverMaxInflight":null,"apiserverQPS":null,"endpoint":null,"endpointPodNames":false,"fallthrough":false,"fallthroughZones":[],"ignoreEmptyService":false,"kubeconfig":{"context":null,"path":null},"labels":null,"multicluster":[],"namespaceLabels":null,"namespaces":[],"noendpoints":false,"pods":"verified","startupTimeout":null,"tls":{"ca":null,"cert":null,"key":null},"ttl":null},"loadbalance":null,"log":null,"podCIDR":null,"serviceCIDR":null},"custom":"","public":{"autopath":"","cache":{"denial":{"capacity":9984,"minTTL":null,"ttl":5},"disable":{"denial":null,"denialZones":[],"success":null,"successZones":[]},"keepttl":false,"prefetch":{"amount":null,"duration":null,"percentage":null},"serveStale":{"duration":null,"enabled":false,"refreshMode":null,"verifyTimeout":null},"servfail":{"duration":null},"success":{"capacity":9984,"minTTL":null,"ttl":null},"ttl":null,"zones":[]},"forward":{"dohMethod":null,"except":[],"expire":null,"failfastAllUnhealthyUpstreams":false,"failover":[],"forceTCP":false,"healthCheck":null,"maxAge":null,"maxConcurrent":null,"maxConnectAttempts":null,"maxFails":null,"maxIdleConns":null,"next":[],"nextOnNodata":false,"policy":null,"preferUDP":false,"resolver":[],"tls":{"ca":null,"cert":null,"enabled":false,"key":null},"tlsServername":null,"to":[]},"loadbalance":null,"log":null}} | CoreDNS Corefile configuration. Cache, log and loadbalance are configured per zone, so different zones can behave differently. A zone that omits cache falls back to the built-in defaults (success 9984 30 / denial 9984 5), with the success TTL falling back to the deprecated configmap.cache first; a zone that omits log/loadbalance falls back to the deprecated configmap.log / loadbalancePolicy, then to denial+error / round_robin. |
| coredns.public | object | {"autopath":"","cache":{"denial":{"capacity":9984,"minTTL":null,"ttl":5},"disable":{"denial":null,"denialZones":[],"success":null,"successZones":[]},"keepttl":false,"prefetch":{"amount":null,"duration":null,"percentage":null},"serveStale":{"duration":null,"enabled":false,"refreshMode":null,"verifyTimeout":null},"servfail":{"duration":null},"success":{"capacity":9984,"minTTL":null,"ttl":null},"ttl":null,"zones":[]},"forward":{"dohMethod":null,"except":[],"expire":null,"failfastAllUnhealthyUpstreams":false,"failover":[],"forceTCP":false,"healthCheck":null,"maxAge":null,"maxConcurrent":null,"maxConnectAttempts":null,"maxFails":null,"maxIdleConns":null,"next":[],"nextOnNodata":false,"policy":null,"preferUDP":false,"resolver":[],"tls":{"ca":null,"cert":null,"enabled":false,"key":null},"tlsServername":null,"to":[]},"loadbalance":null,"log":null} | The "." zone — external/public DNS served by the forward plugin. |
| coredns.public.cache | object | {"denial":{"capacity":9984,"minTTL":null,"ttl":5},"disable":{"denial":null,"denialZones":[],"success":null,"successZones":[]},"keepttl":false,"prefetch":{"amount":null,"duration":null,"percentage":null},"serveStale":{"duration":null,"enabled":false,"refreshMode":null,"verifyTimeout":null},"servfail":{"duration":null},"success":{"capacity":9984,"minTTL":null,"ttl":null},"ttl":null,"zones":[]} | Cache plugin configuration for this zone (https://coredns.io/plugins/cache/). |
| coredns.public.cache.ttl | string | nil | Top-level TTL cap applied before the success/denial checks (seconds). |
| coredns.public.cache.zones | list | [] | Cache ZONES — limit caching to these zones. Empty means the server-block zones. |
| coredns.public.cache.success | object | {"capacity":9984,"minTTL":null,"ttl":null} | Caching of positive (success) responses. |
| coredns.public.cache.success.capacity | int | 9984 | Maximum number of cached positive responses. |
| coredns.public.cache.success.ttl | string | nil | Max TTL for positive responses (seconds). Omit to fall back to the deprecated configmap.cache, then to 30. |
| coredns.public.cache.success.minTTL | string | nil | Min TTL for positive responses (seconds). |
| coredns.public.cache.denial | object | {"capacity":9984,"minTTL":null,"ttl":5} | Caching of negative (NXDOMAIN/NODATA) responses. |
| coredns.public.cache.denial.capacity | int | 9984 | Maximum number of cached negative responses. |
| coredns.public.cache.denial.ttl | int | 5 | Max TTL for negative responses (seconds). |
| coredns.public.cache.denial.minTTL | string | nil | Min TTL for negative responses (seconds). |
| coredns.public.cache.prefetch | object | {"amount":null,"duration":null,"percentage":null} | Prefetch popular entries before they expire. |
| coredns.public.cache.prefetch.amount | string | nil | Prefetch when at least this many requests are received (enables prefetch). |
| coredns.public.cache.prefetch.duration | string | nil | Only prefetch if the item was requested within this duration. |
| coredns.public.cache.prefetch.percentage | string | nil | Only prefetch if this percentage of the TTL remains (requires duration). |
| coredns.public.cache.serveStale | object | {"duration":null,"enabled":false,"refreshMode":null,"verifyTimeout":null} | Serve stale answers while refreshing in the background. |
| coredns.public.cache.serveStale.enabled | bool | false | Enable serving stale answers. |
| coredns.public.cache.serveStale.duration | string | nil | Ho |
Deploy coredns-app with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has coredns-app on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcoredns-app is pinned at v1.36.1-r4c02ffect20261126214327hb554c08 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply