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

KeyTypeDefaultDescription
namestring"coredns"Name used for the CoreDNS workload and its resources.
namespacestring"kube-system"Namespace the CoreDNS resources are deployed into.
serviceTypestring"managed"Giant Swarm service type label applied to the resources.
securityContextobject{"runAsGroup":null,"runAsUser":null}Pod-level security context for the CoreDNS containers.
securityContext.runAsUserstringnilUID the CoreDNS process runs as. Defaults to userID when unset.
securityContext.runAsGroupstringnilGID the CoreDNS process runs as. Defaults to groupID when unset.
serviceobject{"clusterIP":null}Configuration for the CoreDNS Service.
service.clusterIPstringnilCluster IP of the DNS Service. Defaults to cluster.kubernetes.DNS.IP when unset.
imageobject{"name":"giantswarm/coredns","registry":"gsoci.azurecr.io","tag":"1.15.0"}Container image for CoreDNS.
image.registrystring"gsoci.azurecr.io"Image registry.
image.namestring"giantswarm/coredns"Image repository.
image.tagstring"1.15.0"Image tag.
portsobject{"dns":{"name":"dns","port":53,"targetPort":1053},"metrics":{"port":null},"prometheus":null}Ports exposed by CoreDNS.
ports.dnsobject{"name":"dns","port":53,"targetPort":1053}DNS port configuration.
ports.dns.namestring"dns"Port name.
ports.dns.targetPortint1053Container port CoreDNS listens on.
ports.dns.portint53Service port exposed for DNS.
ports.metricsobject{"port":null}Prometheus metrics port configuration.
ports.metrics.portstringnilPort for the Prometheus metrics endpoint. Defaults to 9153 when unset.
ports.prometheusstringnilDEPRECATED: use ports.metrics.port. Port for the Prometheus metrics endpoint.
resourcesobject{"limits":{"memory":"1Gi"},"requests":{"cpu":"250m","memory":"512Mi"}}Resource requests and limits for the CoreDNS containers.
resources.limitsobject{"memory":"1Gi"}Resource limits.
resources.limits.memorystring"1Gi"Memory limit.
resources.requestsobject{"cpu":"250m","memory":"512Mi"}Resource requests.
resources.requests.cpustring"250m"CPU request.
resources.requests.memorystring"512Mi"Memory request.
ciliumNetworkPolicyobject{"egress":[],"enabled":true,"ingress":[]}CiliumNetworkPolicy settings.
ciliumNetworkPolicy.enabledbooltrueRender a CiliumNetworkPolicy. When false, a plain NetworkPolicy is rendered instead.
ciliumNetworkPolicy.egresslist[]Replaces the default CiliumNetworkPolicy egress rules when set.
ciliumNetworkPolicy.ingresslist[]Replaces the default CiliumNetworkPolicy ingress rules when set.
updateStrategyobject{"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.typestringnilUpdate strategy type.
updateStrategy.rollingUpdateobject{"maxSurge":null,"maxUnavailable":null}Rolling update parameters.
updateStrategy.rollingUpdate.maxUnavailablestringnilMaximum number of pods that can be unavailable during the update.
updateStrategy.rollingUpdate.maxSurgestringnilMaximum number of pods created above the desired count during the update.
podDisruptionBudgetobject{"maxUnavailable":"25%"}Pod disruption budget for the CoreDNS workloads.
podDisruptionBudget.maxUnavailablestring"25%"Maximum number of pods that can be unavailable to voluntary disruptions.
hpaobject{"behavior":{"scaleDown":{"stabilizationWindowSeconds":1800}},"enabled":true,"maxReplicas":50,"metrics":[],"minReplicas":2,"targetCPUUtilizationPercentage":80,"targetMemoryUtilizationPercentage":0}Horizontal Pod Autoscaler configuration.
hpa.enabledbooltrueEnable the HorizontalPodAutoscaler.
hpa.minReplicasint2Minimum number of replicas.
hpa.maxReplicasint50Maximum number of replicas.
hpa.targetCPUUtilizationPercentageint80Target average CPU utilization percentage.
hpa.targetMemoryUtilizationPercentageint0Target average memory utilization percentage. Set to 0 to disable the memory metric.
hpa.metricslist[]Additional custom metrics for the HPA (autoscaling/v2 metric objects).
hpa.behaviorobject{"scaleDown":{"stabilizationWindowSeconds":1800}}Scaling behavior. The stabilization window restricts replica-count flapping when the scaling metrics keep fluctuating.
hpa.behavior.scaleDownobject{"stabilizationWindowSeconds":1800}Scale-down behavior.
hpa.behavior.scaleDown.stabilizationWindowSecondsint1800Seconds to consider while scaling down to prevent flapping.
controlPlaneobject{"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.enabledstringnilWhether to deploy the control-plane CoreDNS instance. Defaults to mastersInstance.enabled for backward compatibility.
controlPlane.nodeSelectorobject{"node-role.kubernetes.io/control-plane":""}Node selector for the control-plane CoreDNS instance.
controlPlane.tolerationslist[{"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.updateStrategyobject{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0},"type":"RollingUpdate"}Update strategy for the control-plane Deployment. Overridden by the keys set in updateStrategy.
controlPlane.updateStrategy.typestring"RollingUpdate"Update strategy type. rollingUpdate is ignored with Recreate.
controlPlane.updateStrategy.rollingUpdateobject{"maxSurge":1,"maxUnavailable":0}Rolling update parameters.
controlPlane.updateStrategy.rollingUpdate.maxUnavailableint0Maximum number of pods that can be unavailable during the update. Falls back to 1 when maxSurge is 0.
controlPlane.updateStrategy.rollingUpdate.maxSurgeint1Maximum number of pods created above the desired count during the update.
workersobject{"updateStrategy":{"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"},"type":"RollingUpdate"}}Workers CoreDNS instance configuration.
workers.updateStrategyobject{"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"},"type":"RollingUpdate"}Update strategy for the workers Deployment. Overridden by the keys set in updateStrategy.
workers.updateStrategy.typestring"RollingUpdate"Update strategy type. rollingUpdate is ignored with Recreate.
workers.updateStrategy.rollingUpdateobject{"maxSurge":"25%","maxUnavailable":"25%"}Rolling update parameters.
workers.updateStrategy.rollingUpdate.maxUnavailablestring"25%"Maximum number of pods that can be unavailable during the update. Falls back to 1 when maxSurge is 0.
workers.updateStrategy.rollingUpdate.maxSurgestring"25%"Maximum number of pods created above the desired count during the update.
corednsobject{"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.publicobject{"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.cacheobject{"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.ttlstringnilTop-level TTL cap applied before the success/denial checks (seconds).
coredns.public.cache.zoneslist[]Cache ZONES — limit caching to these zones. Empty means the server-block zones.
coredns.public.cache.successobject{"capacity":9984,"minTTL":null,"ttl":null}Caching of positive (success) responses.
coredns.public.cache.success.capacityint9984Maximum number of cached positive responses.
coredns.public.cache.success.ttlstringnilMax TTL for positive responses (seconds). Omit to fall back to the deprecated configmap.cache, then to 30.
coredns.public.cache.success.minTTLstringnilMin TTL for positive responses (seconds).
coredns.public.cache.denialobject{"capacity":9984,"minTTL":null,"ttl":5}Caching of negative (NXDOMAIN/NODATA) responses.
coredns.public.cache.denial.capacityint9984Maximum number of cached negative responses.
coredns.public.cache.denial.ttlint5Max TTL for negative responses (seconds).
coredns.public.cache.denial.minTTLstringnilMin TTL for negative responses (seconds).
coredns.public.cache.prefetchobject{"amount":null,"duration":null,"percentage":null}Prefetch popular entries before they expire.
coredns.public.cache.prefetch.amountstringnilPrefetch when at least this many requests are received (enables prefetch).
coredns.public.cache.prefetch.durationstringnilOnly prefetch if the item was requested within this duration.
coredns.public.cache.prefetch.percentagestringnilOnly prefetch if this percentage of the TTL remains (requires duration).
coredns.public.cache.serveStaleobject{"duration":null,"enabled":false,"refreshMode":null,"verifyTimeout":null}Serve stale answers while refreshing in the background.
coredns.public.cache.serveStale.enabledboolfalseEnable serving stale answers.
coredns.public.cache.serveStale.durationstringnilHo

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcoredns-app is pinned at v1.36.1-r4c02ffect20261126214327hb554c08 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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