Commit Graph

106 Commits

Author SHA1 Message Date
John Gardiner Myers c0774d7ffa Stop using legacy IAM in integration tests 2020-07-17 19:32:48 -07:00
Ciprian Hacman 98192e23db Fix KubeDNS missing resourceVersion - update tests output 2020-07-08 08:37:08 +03:00
Justin SB 591626af3c Release 1.19.0-alpha.1 2020-07-04 21:46:14 -04:00
Ciprian Hacman 81b429c5e6 Update tests output 2020-06-30 12:25:52 +03:00
Kubernetes Prow Robot 909117a409
Merge pull request #9431 from olemarkus/arm64-fix-dns-1.13
Fix dns selectors for older k8s
2020-06-23 08:43:41 -07:00
Ole Markus With a9300601c2 Fix dns selectors for older k8s 2020-06-23 12:19:23 +02:00
Kubernetes Prow Robot 9708057692
Merge pull request #9404 from vgunapati/dns-controller-fix
Fix: dns-controller: 3999 port address already in use
2020-06-22 18:31:41 -07:00
Author Name deaeba1e57
Fix: dns-controller: 3999 port address already in use 2020-06-22 17:54:03 -07: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
Josh Branham 997f32122d Update expected 2020-06-11 13:12:03 -04:00
Ciprian Hacman df1302887e Update Weave Net to 2.6.5 2020-06-11 09:09:59 +03:00
Ciprian Hacman c4d10a1bb0 Update Weave for CVE-2020-13597 2020-06-06 13:19:49 +03:00
Justin SB 27aab12b28 Release 1.18.0-alpha.3 2020-05-06 08:19:06 -04:00
Ciprian Hacman 227a767ce5 Fix missing changes in Weave manifest 2020-04-23 19:58:13 +03:00
Ciprian Hacman eb2c9e336c Update Weave Net to version 2.6.2 2020-03-17 19:44:20 +02:00
Kubernetes Prow Robot ae51a5b138
Merge pull request #8582 from joshbranham/feature/better-default-storageclass
Create New Default StorageClass: kops-ssd-1-17
2020-03-14 08:46:35 -07:00
Ciprian Hacman 689be235e5 Update Weave Net to version 2.6.1 2020-03-06 20:40:23 +02:00
Josh Branham 67d377c49f Update expected 2020-02-19 12:42:54 -05:00
Peter Rifel 5ea96fa6a0 Add events RBAC permissions to kops-controller
I noticed in our new kops-controller logs that there is a permission denied error at startup.

Apparently part of the leader election process involves creating and watching for events off of the kops-controller-leader configmap.
This will add the necessary permissions to silence this error.

https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-e2e-kops-aws/1227728236914413570/artifacts/ip-172-20-46-137.ap-northeast-2.compute.internal/kops-controller-6k9sz.log
2020-02-12 18:34:38 -06:00
John Gardiner Myers 7fa990c86a Mark dns-controller and kops-controller as non-root 2020-02-06 12:12:11 -08:00
Justin SB 9b9615bf53 Release 1.18.0-alpha.2 2020-02-05 21:58:08 -05:00
Justin SB 0cb35638f2
Stop logging to /var/log/kops-controller.log
Writing to a hostPath from a non-root container requires file
ownership changes, which is difficult to roll out today.  See
discussion in #8454

We were primarily using the logfile for e2e diagnostics, so we're
going to look into collecting the information via other means instead.

We also haven't yet shipped this logfile in a released version (though
we have shipped it in beta releases)
2020-02-04 06:41:25 -05:00
Justin SB 4416b24ee8 Release 1.18.0-alpha.1 2020-01-31 08:22:33 -05:00
John Gardiner Myers 329f56ce51 update-expected.sh 2020-01-29 09:18:51 -08:00
John Gardiner Myers 5907f97c90 Merge branch 'master' into trim-addons
Conflicts:
	upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/simple/manifest.yaml
	upup/pkg/fi/cloudup/tests/bootstrapchannelbuilder/weave/manifest.yaml
2020-01-17 22:17:15 -08:00
Kubernetes Prow Robot a49ce910a8
Merge pull request #8265 from ReillyProcentive/WeaveNpcExtraArgs
Add support for weave.npcExtraArgs
2020-01-16 15:06:32 -08:00
Reilly Brogan f5ce3f674b Change description of NPCExtraArgs in response to PR Feedback. Drop support for K8S 1.7 2020-01-15 15:06:03 -06:00
Reilly Brogan a2473156ae Rename NpcExtraArgs to NPCExtraArgs, fix manifest tests 2020-01-14 17:31:19 -06:00
John Gardiner Myers 83bdb3ef88 Remove code for unsupported k8s versions from pkg/model/components 2020-01-12 16:05:00 -08:00
Kubernetes Prow Robot f8915dca9b
Merge pull request #8273 from rifelpet/remove-kops-controller-deployment
Remove kops-controller deployment
2020-01-11 22:09:36 -08:00
John Gardiner Myers 789a5404c8 update-expected.sh 2020-01-11 21:27:25 -08:00
Justin SB cf5c53c87d
Add tests for manifest normalization
(The tests are split out for easier cherry-picking, should we choose to)
2020-01-11 22:41:18 -05:00
Peter Rifel ae245a497e Remove kops-controller deployment
The migration was first made in 1.16.0-alpha.1, so that means 2 releases have been out that set the replicas to zero.
This removal negatively impacts anyone that created a cluster from kops HEAD between 1.15.0 and 1.16.0-alpha.1, and then upgraded kops directly to the 1.16.0 release that includes this commit, without having first upgraded to either of the alphas.

That seems like a reasonably small enough audience that this is safe to remove now.
Perhaps we mention in the release notes that anyone using HEAD or one of the alpha releases needs to `kubectl delete -n kube-system deployment kops-controller`
2020-01-10 10:13:31 -06:00
Peter Rifel e0fa147b15 Enable host logging for kops-controller
This makes it easier to get the kops-controller logs from e2e tests since it they only dump log files from systemd services and /var/log files [0]

[0] ec0fe6bd36/kubetest/dump.go (L50-L74)
2020-01-07 11:00:41 -06:00
Kubernetes Prow Robot 2b24f69f9c
Merge pull request #8216 from mmerrill3/feature/issue-8113-weave-resources
Adding ability to configure resources for weave (#8113)
2020-01-03 06:43:40 -08:00
mmerrill3 b38bafe79d Adding ability to configure resources for weave (#8113)
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2019-12-28 18:07:11 -05:00
Kubernetes Prow Robot 423233c6a4
Merge pull request #8131 from rochacon/cniless-dns-controller
dns-controller: allow it to run on CNI networking mode and remove dependency on kube-proxy
2019-12-27 21:43:38 -08:00
Kubernetes Prow Robot e558059ca9
Merge pull request #7898 from bboreham/weave-2-6-0
Update Weave Net to version 2.6.0
2019-12-26 12:33:38 -08:00
Rodrigo Chacon e449467543 dns-controller: tolerate lack of CNI on master
When booting a cluster with `--networking=cni`, `dns-controller` will
not start due to the master node being _tainted_ as "network unreachable".
This adds an extra step when managing your own CNI setup, having to SSH
into a master and publish the CNI manifests from there.

This commit adds tolerance and configuration that allows `dns-controller`
pod to start when running with `--networking=cni`, properly creating the
DNS records so the operator can remotely publish the CNI and extra
manifests to have a full working cluster.

This also removes the dependency on `kube-proxy`, by adding the
`KUBERNETES_SERVICE_HOST` environment variable, bypassing `kube-proxy`
when disabled.

Presumably, as a side-effect, this change also allows for
"host network only" clusters to work.

Signed-off-by: Rodrigo Chacon <rochacon@gmail.com>
2019-12-19 02:10:35 -03:00
Bryan Boreham 556399e0a7 Update Weave Net to version 2.6.0
Signed-off-by: Bryan Boreham <bryan@weave.works>
2019-12-17 13:31:43 +00:00
Justin SB 5561de1432
Release 1.17.0-alpha.1 2019-11-21 14:35:30 -05:00
Kubernetes Prow Robot 5c88ee4445
Merge pull request #7856 from hakman/master
Create PodDisruptionBudget for kube-dns in kube-system namespace
2019-11-17 12:23:48 -08:00
Justin SB ea779042ca Release 1.16.0-alpha.1 2019-11-08 00:28:53 -05:00
Jochen Weber 9fca24aeca bump version weavenet manifest 2019-11-05 12:10:48 +01:00
Jochen Weber 414f2157b3 fix manifestHash for networking.weave/k8s-1.12.yaml 2019-11-04 21:08:33 +01:00
Ciprian Hacman b06951460c Update hash for kube-dns manifest 2019-10-30 19:32:02 +02:00
Justin SB ee04368436
Updated expected test output 2019-10-14 10:47:04 -04:00
Justin SB d3bad10aa9
Move kops-controller to use a yaml configuration file
This is more in keeping with componentconfig, and lets us add more
options easily in future.
2019-10-13 07:27:52 -07:00
Justin SB c9bcf45284
kops-controller version should match version of kops
So (counterintuitively) we set it to 1.15.0-alpha.1, because that is the version on the master branch.
2019-09-28 19:41:13 -04:00
Justin SB ccc557bbac
Simplify tests 2019-09-25 12:48:13 -04:00