Commit Graph

44 Commits

Author SHA1 Message Date
cyclinder
4f913dbcdd bump kube-dns to v1.22.20 2023-02-27 14:34:53 +08:00
Paco Xu
ceb37c3a5c update node-local-dns to 1.22.18 2023-02-14 09:37:35 +08:00
Khaled Hamed
74db48f510
Update to latest kubedns and nodelocaldns images. 2022-10-13 14:48:37 +02:00
George Campbell
4f5ccb834e
Update kube-dns and nodelocaldns to 1.22.11 2022-09-14 14:34:45 +01:00
ialidzhikov
bfe98c0c2a Run node-local-dns in non-privileged mode 2022-08-05 14:18:27 +03:00
dpasiukevich
4c43287ffe Update to latest kubedns and nodelocaldns images. 2022-07-28 07:55:37 +02:00
Davanum Srinivas
50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
Pavithra Ramesh
f43c21448b Update to latest kubedns and nodelocaldns images. 2021-11-05 12:50:06 -07:00
pacoxu
58114e293f update node local dns readme for ipv6 and 1.18 GA 2021-04-23 17:04:55 +08:00
pacoxu
a38ed2c5ce update node local dns to 1.17.0 for debian base chagne 2021-03-04 10:49:55 +08:00
prameshj
9ec84ee87c
Use nodecache 1.16.0 image with CoreDNS 1.7 2020-12-08 10:40:36 -08:00
Kubernetes Prow Robot
72a7f94bdd
Merge pull request #88412 from stafot/add_nodelocalcache_service
Add node-local-dns headless service
2020-11-12 11:17:08 -08:00
Florian Ruynat
af3347280b Update nodelocaldns yaml to use 1.15.16 image 2020-10-22 14:18:34 +02:00
prameshj
d730e5f87e
Update nodelocaldns yaml to use 1.15.14 image 2020-09-21 15:31:55 -07:00
lemonli
97f50fb0b5 nodelocaldns.yaml: remove force_tcp option which used for external dns query 2020-07-27 18:29:29 +08:00
Pavithra Ramesh
1ea97db78a Use the latest node-cache image.
The image has debian base 2.0.0, some stability fixes and also uses
UDP to connect to stubDomains configured via kube-dns configmap.
2020-05-11 13:10:27 -07:00
Stavros Foteinopoulos
ff144a17ea
Add node-local-dns headless service 2020-04-13 09:58:34 +03:00
Michael S. Fischer
c6fa1391f5 nodelocaldns: have Prometheus collect metrics 2020-03-20 08:40:33 -07:00
Srinivasa Satya Pradeep Nekkalapudi
66491d2d89 Add tolerations with effect "NoExecute" and "NoSchedule" to allow schedule of nodelocaldns pods on node pools with taints
Currently if we define taints on all node pools in a cluster then nodelocaldns pods wont get scheduled on those node pools. Also in GKE as the daemonset has reconcile flag set tolerations cannot be added. So adding these tolerations will allow nodelocaldns pods to get scheduled on all node pools.
2020-03-11 18:27:13 -07:00
Pavithra Ramesh
bb318ea84a Update to latest node-cache image 2020-03-05 11:07:06 -08:00
Benjamin Elder
83c56a0373
remove hack/e2e.go 2019-11-03 19:36:59 -05:00
prameshj
328f8dfe12 Use DNS_SERVER_IP as --cluster-dns in all cases.
NodeLocalDNS addon listens on both DNS_SERVER_IP as well as LOCAL_DNS_IP. So cluster-dns flag can continue to be DNS_SERVER_IP in all cases.
Documented the various variables in the yaml.
2019-10-29 12:38:46 -07:00
Pavithra Ramesh
1437805c05 Use latest node-cache version with stubdomain fix.
This image fixed a bug in configuring stubDomains and caused test
failure -  https://k8s-testgrid.appspot.com/sig-network-gce#gci-gce-serial-kube-dns-nodecache

Verified by running the same test locally.
2019-10-09 23:11:44 -07:00
Pavithra Ramesh
1819c2ea9b Support kube-dns stubDomains in nodelocaldns
With this change, node-local-dns pods will mount the kube-dns configmap
and update the Corefile with the stubDomain config.
2019-09-17 11:50:22 -07:00
Kubernetes Prow Robot
0216ccf80a
Merge pull request #78546 from prameshj/nodelocal-1_15_3
Use node-cache image 1.15.3 in the yaml
2019-06-01 23:40:14 -07:00
Kubernetes Prow Robot
0f78b57fef
Merge pull request #77887 from prameshj/nodelocal-beta
Doc changes for nodelocaldns graduating to beta
2019-05-31 20:44:47 -07:00
Pavithra Ramesh
934f35f9b2 Use nodecache image 1.15.3 2019-05-30 13:29:05 -07:00
Pavithra Ramesh
86d12be975 Lock down nodelocaldns configmap. 2019-05-27 23:53:48 -07:00
Pavithra Ramesh
e1748407a5 Doc changes for nodelocaldns graduating to beta 2019-05-14 14:01:33 -07:00
Steve Coffman
7f30be79b3 Update k8s-dns-node-cache image version
This revised image resolves kubernetes dns#292 by updating the image from `k8s-dns-node-cache:1.15.2` to `k8s-dns-node-cache:1.15.2`
2019-05-01 13:38:42 -04:00
George Angel
f40f767d94 update k8s.gcr.io/k8s-dns-node-cache image version
v1.15.0 is affected by https://github.com/kubernetes/dns/issues/282
2019-04-16 09:43:53 +01:00
Xiang Dai
36065c6dd7 delete all duplicate empty blanks
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Kubernetes Prow Robot
042f9ed3af
Merge pull request #74093 from blakebarnett/lower-neg-cache-ttl
Lowers the default nodelocaldns denial cache TTL
2019-02-21 17:47:16 -08:00
Blake
46c299c1b1 Match default cache size of 10000
https://github.com/coredns/coredns/blob/master/plugin/cache/cache.go#L236
This gets rounded down to the nearest multiple of 256: 9984
2019-02-21 15:03:30 -08:00
Ben Moss
34ac4d9ee9 Update deprecated links 2019-02-15 09:13:07 -05:00
Blake
e51c9025ac Lowers the default nodelocaldns denial cache TTL
Similar to `--no-negcache` on dnsmasq, this prevents issues which poll DNS for orchestration such as operators with StatefulSets. It can also be very confusing for users when negative caching results in a change they just made seeming to be broken until the cache expires. This assumes that 5 seconds is reasonable and will still catch repeated AAAA negative responses. We could also set the denial cache size to zero which should effectively fully disable it like dnsmasq in kube-dns but testing shows this approach seems to work well in our (albeit small) test clusters.
2019-02-13 13:23:53 -08:00
Kubernetes Prow Robot
7d91e1223d
Merge pull request #73293 from prameshj/nodelocal-update
Modify nodelocaldns yaml to include updateStrategy and xtables.lock
2019-01-24 20:07:57 -08:00
Pavithra Ramesh
9611b112eb Add xtables.lock file to mounts
nodelocaldns needs to use the same iptables lock file to avoid
contention with other entities modifying iptables rules.
2019-01-24 13:21:06 -08:00
Pavithra Ramesh
960705ac98 Add updateStrategy section for nodelocaldns 2019-01-18 16:40:01 -08:00
prameshj
501eba8745
Update README.md 2018-12-11 17:20:57 -08:00
Pavithra Ramesh
567e79a3ac Fix labelname in nodelocaldns yaml 2018-12-05 23:06:03 -08:00
Pavithra Ramesh
d73466fe55 Add README for nodelocaldns 2018-11-14 15:45:14 -08:00
Pavithra Ramesh
6d7c5e90ed Removed .salt template , using .sed template
Removed default config options from yaml.
Removed unused yaml files
2018-11-13 18:33:34 -08:00
Pavithra Ramesh
73b548db06 Support running a nodelocal dns cache
This change includes the yaml files and gce startup script changes
to run this addon. It is disabled by default, can be enabled by setting
KUBE_ENABLE_NODELOCAL_DNS=true
An ip address is required for the cache instance to listen for
requests on, default is a link local ip address of value 169.254.25.10

addressed review comments, updated image location
Picked a different prometheus port so stats port is not same as the
coredns deployment

Removed the nodelocaldns-ready label.
Set memory limit to 30Mi
2018-11-12 14:54:20 -08:00