Skip to content

Latest commit

 

History

History
 
 

node-local-dns

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

node-local-dns

Version: 0.2.1 AppVersion: 1.21.1

A chart to install node-local-dns.

NodeLocal DNSCache improves Cluster DNS performance by running a DNS caching agent on cluster nodes as a DaemonSet.

In today's architecture, Pods in 'ClusterFirst' DNS mode reach out to a kube-dns serviceIP for DNS queries. This is translated to a kube-dns/CoreDNS endpoint via iptables rules added by kube-proxy. With this new architecture, Pods will reach out to the DNS caching agent running on the same node, thereby avoiding iptables DNAT rules and connection tracking. The local caching agent will query kube-dns service for cache misses of cluster hostnames ("cluster.local" suffix by default).

Further documentation is here

This helm chart works for both kube-proxy setups (iptables or ipvs).

How to install this chart

Add Delivery Hero public chart repo:

helm repo add deliveryhero https://charts.deliveryhero.io/

A simple install with default values:

helm install deliveryhero/node-local-dns

To install the chart with the release name my-release:

helm install my-release deliveryhero/node-local-dns

To install with some set values:

helm install my-release deliveryhero/node-local-dns --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release deliveryhero/node-local-dns -f values.yaml

Values

Key Type Default Description
fullnameOverride string ""
image.repository string "k8s.gcr.io/dns/k8s-dns-node-cache"
image.tag string "1.21.1"
nameOverride string ""
pillar_dns_domain string "cluster.local"
pillar_dns_server string "172.20.0.10"
pillar_local_dns string "169.254.20.25"
podAnnotations object {}
resources.limits object {}
resources.requests.cpu string "25m"
resources.requests.memory string "5Mi"
serviceAccount.annotations object {}
serviceAccount.create bool true
serviceAccount.name string ""

Maintainers

Name Email Url
gabrieladt no-reply@deliveryhero.com