Commit Graph

67 Commits

Author SHA1 Message Date
Ciprian Hacman b08d53a131 Refactor Gossip usage in addon templates 2022-12-23 08:04:13 +02:00
John Gardiner Myers 472a7f38b6 Upgrade coredns to v1.10.0 2022-12-19 23:26:39 -08:00
Bronson Mirafuentes 5a3ed44773 use sprig join for template functions 2022-11-15 08:59:05 -08:00
Moshe Shitrit 6b1c564747 use the same affinity config for coredns-autoscaler deployment as for main coredns deployment 2022-11-06 19:11:35 -05:00
Moshe Shitrit c44f8a94c5 use the same tolerations config for coredns-autoscaler deployment as for main coredns deployment 2022-11-06 19:05:29 -05:00
Peter Rifel 234bf01b73
Remove non-functional scheduler annotations 2022-07-11 20:53:37 -06:00
Ciprian Hacman 29e87b6c15 Mount /etc/hosts from host for CoreDNS 2022-06-30 12:01:44 +03:00
Ciprian Hacman 22964a320c Update CoreDNS to v1.9.3 2022-06-28 12:37:03 +03:00
Ole Markus With 6dbfd0d359 Fix PDB api version for a set of addons 2022-06-12 22:09:29 +02:00
Ole Markus With 7981f6fa25 Bump coredns to 1.8.6 2022-05-22 09:30:02 +02:00
Ciprian Hacman a4ed2b0654 Migrate to registry.k8s.io
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 08:47:12 +02:00
Ole Markus With 89f0c85e90 Use spread constraints rather than affinity to spread pods (templates) 2021-12-20 09:33:20 +01:00
Bronson Mirafuentes ed7d287052 set dns pdb to 50% maxUnavailable 2021-12-09 08:57:33 -08:00
John Gardiner Myers c6ebce5ece Enable DNS64 in CoreDNS if IPv6 enabled 2021-11-26 16:25:03 -08:00
justinsb 6133250046 gossip: support resolution of k8s.local names from pods
We add the hosts plugin to CoreDNS, and we populate a ConfigMap from
kops-controller (when in gossip mode).

This enables resolution of the internal apiserver DNS name from Pods,
even when gossip mode (k8s.local) is in use.  This should fix the
failing e2e tests which are assuming that the name in the JWT token is
resolvable from inside the cluster.

This is also a possible step towards a simpler gossip mode, now that
we have a central controller.
2021-11-19 11:02:15 -05:00
Ciprian Hacman d215a12103 Update coredns to v1.8.5 2021-10-11 10:00:59 +03:00
Jeroen van Erp c30ec8e310
Add ability to provide custom CoreDNS Tolerations and Affinity
Signed-off-by: Jeroen van Erp <jeroen@hierynomus.com>
2021-09-28 17:05:48 +02:00
Ciprian Hacman fc3a103baf Update core-dns to v1.8.4 2021-07-29 08:23:35 +03:00
Ciprian Hacman 70f77a34d1 Add options for configuring IPv4 and IPv6 support with Calico 2021-06-04 17:05:40 +03:00
dntosas da42becf08
[addons/coredns] Bump manifests to latest stable version 1.8.3
In this commit, we update manifest files of CoreDNS. We also do a small
refactoring on yaml blocks to match the upstream source and to make
updating and reviewing procedures easier on the future.

Signed-off-by: dntosas <ntosas@gmail.com>
2021-05-16 11:37:12 +03:00
Claudio Netto 1b7179513f
fix(coredns/rbac): add permission to list and watch endpointslices 2021-05-11 17:16:12 -03:00
Johannes Würbach 38a8c35ba0
Increase CoreDNS default ttl 2021-01-19 22:20:09 +01:00
bjhaid f299566822 Make cluster proportional autoscaler image configurable.
Similar to how we can configure coreDNS image we will like to configure
cluster Proportional autoscaler so we can use our internal docker
registry rather than gcr.io.
2021-01-12 13:30:42 -06:00
John Gardiner Myers 2ac17bee69 Remove code for no-longer-supported k8s releases 2020-10-29 16:45:53 -07:00
Ciprian Hacman baac575df2 Update cluster-proportional-autoscaler to v1.8.3 2020-08-13 07:44:19 +03:00
Ciprian Hacman 373510e01d Move cluster-proportional-autoscaler to worker nodes 2020-08-04 08:27:07 +03:00
John Gardiner Myers dc222a06b1 Upgrade cluster-proportional-autoscaler to multi-arch image 2020-08-03 21:39:41 -07:00
Sandeep Rajan 73f12e937e
update coredns to v1.7.0 2020-07-09 14:05:00 -05:00
Ciprian Hacman b48c2c373f Update KubeDNS to v1.15.13 2020-06-30 12:10:51 +03:00
Ole Markus With a9300601c2 Fix dns selectors for older k8s 2020-06-23 12:19:23 +02:00
Ole Markus With 7b95edc507 Make dns pods work on arm64 clusters
* Use multiarch where possible. Remove hardcoded use of amd64-only images.
 * Remove Arch templating function as an approach using this will not
   work anyway
 * No multiarch version of dns autoscaler, so force this one to run on
   master for now.
2020-06-21 20:32:27 +02:00
Matteo Ruina 555d82b58c
Update coredns to 1.6.7 2020-02-21 09:16:00 +01:00
GuyTempleton f6b6f277d9
Revert "Merge pull request #8452 from maruina/coredns-1.6.7"
This reverts commit 4a9fbdca9c, reversing
changes made to 48eb069e61.
2020-02-06 23:34:20 +00:00
Matteo Ruina cc15043dca Update coredns to 1.6.7 2020-01-31 10:59:48 +01:00
John Gardiner Myers 9f3e31c73b Merge branch 'master' into critical-pod
Conflicts:
	upup/pkg/fi/cloudup/bootstrapchannelbuilder.go
	upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/amazonvpc/manifest.yaml
	upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/cilium/manifest.yaml
	upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/manifest.yaml
	upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/weave/manifest.yaml
2020-01-29 09:15:56 -08:00
GuyTempleton d15971e240
Remove tmp volume as well as mount 2020-01-24 15:56:13 +00:00
John Gardiner Myers 38aafc7cdc Add missing priorityClassName for critical pods 2020-01-21 21:03:07 -08:00
GuyTempleton b4bfdcbfac
CoreDNS default image bump to 1.6.6
Also updates the default corefile config to make use of the new lameduck functionality for healthcheck
2020-01-14 14:23:10 +00:00
Rodrigo Chacon 9b0d0aa2ec addons/coredns: Fix KubeDNS.externalCoreFile indentation 2019-11-22 16:28:06 +08:00
Ciprian Hacman d764229c28 Create PodDisruptionBudget for kube-dns in kube-system namespace 2019-10-30 18:31:33 +02:00
GuyTempleton e87b1fddbe
Allow for override of CoreDNS version
Allow users to override the CoreDNS image version to take advantage of local image registries or differing versions of the image to allow quicker access to new/improved CoreDNS plugins.
2019-10-15 21:07:12 +01:00
Mike Splain a17183f1f2
Merge branch 'master' into External-CoreFile 2019-09-10 16:08:32 -04:00
Kubernetes Prow Robot 69a31b7134
Merge pull request #7477 from grupozap/coredns_resourcerevision
fix(upup/models/cloudup/resources/addons/coredns.addons.k8s.io) missing resourceVersion
2019-09-06 21:05:19 -07:00
Pedro H. Spagiari 6701b4b562 chore(addons/coredns.addons.k8s.io) Adding a note about the workaround 2019-09-04 11:14:39 -03:00
Pedro H. Spagiari dff6259803 fix(addons/coredns.addons.k8s.io) Workaround to stop CoreDNS crashing on 1.3.1 version 2019-08-30 13:59:55 -03:00
Pedro H. Spagiari 88a69b7194 fix(upup/models/cloudup/resources/addons/coredns.addons.k8s.io) missing resourceVersion
Co-authored-by: Thiago Freitas <deadcow@archlinux.com.br>
2019-08-26 20:32:29 -03:00
GuyTempleton 6d8ca8d39c
Use Cluster Proportional Autoscaler for CoreDNS 1.12+
Follow the example of Kube-DNS for scaling the CoreDNS deployment by use of a cluster proportional autoscaler
2019-08-13 07:26:55 +01:00
GuyTempleton a7d30267b5
[Feature] CoreDNS: Allow for Specification of external CoreFile
Allow users to provide entirely custom CoreFile for CoreDNS to provide improved flexibility.
2019-08-03 16:38:14 +01:00
Michal Schott 0d133fa52a
Adding affinity and PDB to dns. 2019-05-29 14:24:45 +02:00
Ryan Bonham a28db6a991 Fix indentation. 2019-04-04 07:57:34 -05:00