Commit Graph

37 Commits

Author SHA1 Message Date
John Gardiner Myers 38aafc7cdc Add missing priorityClassName for critical pods 2020-01-21 21:03:07 -08:00
Ciprian Hacman f1727a5c1b Fix issues with older versions of k8s for basic clusters 2020-01-19 16:40:36 +02:00
Ciprian Hacman d764229c28 Create PodDisruptionBudget for kube-dns in kube-system namespace 2019-10-30 18:31:33 +02:00
Nitin Rana 0310c2ef97 Add arg min-port=1024 to dnsmasq container in kube-dns
Do not use ports less than that given as source for outbound DNS queries. Dnsmasq picks random ports as source for outbound queries: when this option is given, the ports used will always to larger than that specified. Useful for systems behind firewalls.
2019-09-20 11:53:34 -07:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB e476b0f3df
Clean up kube-dns yaml to keep addon happier
Seeing an odd error from the apply, likely from an empty object:

`error validating data: [apiVersion not set, kind not set]; if you choose to ignore these errors, turn validation off with --validate=false`
2019-08-26 07:46:26 -07:00
Michal Schott 0d133fa52a
Adding affinity and PDB to dns. 2019-05-29 14:24:45 +02:00
Justin SB 2a1df6b8ee
kube-dns: Update to 1.14.13
Following updates to k8s 1.12 in k/k
2019-04-07 11:22:10 -07:00
Justin SB 8dd9408348
kube-dns-autoscaler: Add node watch to permissions
We had to bump the channel version to 1.14.11-kops.1, even though it's
still 1.14.10, because we didn't have the kops suffix yet.  A little
awkward now, but will get better once kube-dns is updated!

Fix #6711
2019-04-06 21:45:20 -07:00
Jordan Liggitt 1ca45141ea Update cluster-proportional-autoscaler to 1.4.0 to use apps/v1 2019-02-20 09:22:52 -05:00
Jordan Liggitt 9a06ff550c Update 1.12 addons to use apps/v1 2019-02-20 09:21:22 -05:00
Jordan Liggitt 3cef342dbe Copy latest addons to 1.12 2019-02-20 09:20:01 -05:00
Mike Splain 24c6b3343f Add prometheus scrape to kube-dns 2018-06-11 14:22:42 -04:00
Rohith de977e627e Customize KubeDNS
This PR adds the ability for users to customize the kubedns upstream nameservers and provider stubdomains, as per [here](https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/)
2018-05-13 17:08:56 +01:00
JuanJo Ciarlante 01ca06ef2b upgrade kube-dns to 1.14.10, fixes #4986 2018-04-18 08:58:15 -03:00
k8s-ci-robot a8ca362e6b
Merge pull request #4851 from sergeylanzman/bump-kube-dns
Update kube-dns to 1.14.9
2018-04-09 15:50:08 -07:00
James McMinn 458f59d5d8 Add dnsmasq parameteres to kubeDNS config 2018-04-06 09:09:54 +10:00
Sergey Lanzman 4df6c29828 Update kube-dns to 1.14.9 2018-04-02 00:39:19 +03:00
k8s-ci-robot 8d5da313af
Merge pull request #4479 from justinsb/kubedns_no_negcache
kube-dns: turn off negcache
2018-02-20 20:59:39 -08:00
Justin Santa Barbara fe0f2f2c77 kube-dns: turn off negcache
The equivalent of https://github.com/kubernetes/kubernetes/pull/53604

Not backporting to 1.5 at this point.
2018-02-20 21:13:45 -05:00
Justin Santa Barbara 7b647431b1 Update kube-dns to 1.14.8 2018-02-20 21:09:16 -05:00
Tim Hockin 79d5f793e7 Convert registry to k8s.gcr.io 2018-02-14 10:08:41 -08:00
Mike Splain 2195da0f15 Fix CVE for kube-dns pre k8s 1.6 2017-10-04 15:23:31 -04:00
Mike Splain 538e351160 Fix silly typo from
6ea6e3aa3f (diff-d41e15155acd41a0ecf59ccd3d3309a3)
2017-10-02 15:12:52 -04:00
Mike Splain db995fc416 Update kube-dns to 1.14.5 for CVE-2017-14491 2017-10-02 12:14:54 -04:00
Justin Santa Barbara ea838efde6 Upgrade kube-dns for 1.7
A version bump from 1.14.1 -> 1.14.4; we don't update kube-dns for k8s <= 1.5
2017-06-30 10:14:24 -04:00
Justin Santa Barbara 080f061b1e Use our new version selection capabilities for kube-dns & dns-controller 2017-04-08 21:36:51 -04:00
Justin Santa Barbara 39fff5e4ac Keep the 1.5 tolerations around, in case of a downgrade
The annotation should be ignored in 1.6, but in case of a downgrade to
1.5, it means we will still correctly tolerate the master taints.

We can remove in 1.7
2017-03-30 23:02:17 -04:00
Justin Santa Barbara 5a539882b0 Version updates for kops 1.6.0-alpha.1 2017-03-30 01:08:55 -04:00
Justin Santa Barbara c6b4288e61 Pull fixes from the integration branch 2017-03-28 20:42:15 -04:00
Justin Santa Barbara 4c28bd30e4 Enable RBAC on 1.6 2017-03-28 20:14:13 -04:00
Justin Santa Barbara 03b08530cb Upgrade kubectl embedded in protokube to 1.6.0
Also revert #2037

This was causing tests to fail.  The dns manifest is only used on 1.6
and above.  This PR should _not_ be cherry-picked to a release branch,
at least not until kubectl is verified stable.
2017-03-05 22:57:27 -05:00
Zihong Zheng 285383ae8f Fix outdated arg in dns-horizontal-autoscaler 2017-03-02 18:37:00 -08:00
Justin Santa Barbara 128d0c52b2 Add kube-dns configmap
Optional volume mounting is not supported until we have kubectl 1.6
2017-03-02 12:14:57 -05:00
Bowei Du 3c8c6d8f4b Updates kube-dns cluster addon YAML to match Kubernetes 1.6 2017-02-27 22:49:41 -08:00
Justin Santa Barbara 7899864409 kube-dns autoscaler: set min replicas to 2
Issue https://github.com/kubernetes/kubernetes/issues/40063

Having a single pod would be a single point of failure.  Multiple pods
should be spread across AZs & nodes by k8s automatically.
2017-01-24 12:19:31 -05:00
Justin Santa Barbara aa3128ef96 Update to kubedns 1.5 (including autoscaler)
Also harmonize the way we build addons
2016-12-30 11:18:17 -05:00