Commit Graph

17 Commits

Author SHA1 Message Date
Ole Markus With 1a8236290d Bump node local dns cache to 1.22.8 2022-08-25 19:03:14 +02:00
Bronson Mirafuentes f56dbad934 fix pod annotations in addon yamls 2022-04-21 11:10:03 -07:00
Anthony Hausman 7752cfc932
Add possibility to set PodAnnotations into NodeLocalDNS
Annotations is pretty useful when you need third-party tool to add additional behavior for a k8s resource.
Lots of auto-discovery tools are based on this annotations.

This PR add the possibility to set tune pod annotations in the node-local-dns daemonsets.app.
2022-03-21 16:15:10 +01:00
John Gardiner Myers fe324c84b5 Upgrade node-cache to 1.21.3 2021-12-06 21:10:04 -08:00
John Gardiner Myers a502a37990 Support NodeLocalDNS on IPv6 clusters 2021-11-28 15:55:16 -08:00
John Gardiner Myers c6ebce5ece Enable DNS64 in CoreDNS if IPv6 enabled 2021-11-26 16:25:03 -08:00
dntosas f558f2441a
[addons/nodelocaldns] Bump image to latest stable v1.20.0
As per
 3b17e06879,
 node-local-dns addon is now builded with latest coreDNS base v1.8 and
 that brings great consistency between cache and upstream servers in a
 manner of configuration, metrics name convention, etc.

 So in this commit, we bump node-local-dns image to latest v1.20.0 which
 is build upon latest coreDNS and also add support for overriding this
 field.

Signed-off-by: dntosas <ntosas@gmail.com>
2021-08-31 14:07:19 +03:00
ederst 7f787decd8 Make forwardToKubeDNS work in the NodeLocal DNSCache template
This fixes the rendering of the Corefile of the NodeLocal DNSCache
template when setting forwardToKubeDNS to false (or not setting it).

Previously, due to not dereferencing the bool pointer, the Corefile was
always rendered with the true clause, due to checking the address
instead of the actual value of the variable.

With this fix, the templating mechanism will actually respect the value
of forwardToKubeDNS and render it accordingly.
2021-06-11 21:58:07 +02:00
dntosas ceba48855b
[addons/nodeLocaCache] Bump patch version
Signed-off-by: dntosas <ntosas@gmail.com>
2021-05-16 11:25:40 +03:00
Jesse Haka 2a611bb406 update node local dns 2021-04-09 21:25:42 +03:00
Javi Polo c2684bcf7b Add nodeLocalDNSCache.kubeDnsOnly option 2020-10-27 10:46:25 +01:00
Ole Markus With a7c7af4e97 Don't let node-local-dns add iptables rules
Since we use the local IP we don't need the iptables rule for the cluster dns IP
2020-10-16 12:46:16 +02:00
Andreas Strikos 93c44d867a Remove force_tcp flag for nodelocalcache dot zone
Forcing all DNS communication go through TCP can lead to increased
latency and slower DNS responses since a lot of upstream DNS
servers are not optimized for TCP traffic.
An example is AWS's VPC DNS server that sending all the DNS traffic
through TCP cause it to increase the latencies for this requests.
The kubernetes version has already changed this configmap to skip
force_tcp flag for the . zone, so it makes sense to follow their
example.
Reference https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns/nodelocaldns/nodelocaldns.yaml#L100
2020-09-11 09:58:27 +02:00
Chris Loukas 65610dbcee Update NodeLocalDNSConfig with Mem/CPU requests
Add NodeLocalDNS.CPURequest and NodeLocalDNS.MemoryRequest to
configure resource requests.

If not explicitly set, fall back to 25m and 5Mi
2020-09-09 18:40:14 +03:00
John Gardiner Myers 5babf00646 Move node-local-dns healthcheck to port 3989 2020-06-12 22:00:15 -07:00
Ole Markus With d5019a6c11 Simplify the spec and templates a bit 2020-04-10 10:48:21 +02:00
Salvatore Mazzarino f754cbda7d NodeLocal DNSCache
Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>
2020-04-10 10:44:53 +02:00