Commit Graph

92 Commits

Author SHA1 Message Date
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 97f552778f
Add env vars, update tests 2019-09-25 12:48:13 -04: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
Justin SB ee055ffe01
Release 1.15.0-alpha.1 2019-09-08 15:48:40 -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
Justin SB 79bf0a05ac
Fix golden output: creationTimestamp is now quoted 2019-08-25 16:00:40 -04:00
while1eq1 84aba6e28a update manifest hashes 2019-08-21 16:30:25 -04:00
while1eq1 c32fe97921 upgrade weave to 2.5.2 to address the issues in https://github.com/weaveworks/weave/releases/tag/v2.5.2 2019-08-21 16:00:06 -04:00
Zac Blazic 32a7f91e8c Bump kops versions for weave manifests 2019-07-26 16:55:36 +02:00
Justin SB cd0075d853
Update expected hash for weave
The update-hash script didn't update gobindata; will fix that separately.
2019-07-22 08:39:47 -07:00
Ryan Bonham 62d4b128ce
Improve channel updates, to use hash of manifests to ensure we always update on changes 2019-07-22 07:26:06 -07:00
Justin SB 9f2b671a9a
Include aws-cloud-provider roles in 1.15
We consider it part of the storage configuration for AWS now.

Upstream change: https://github.com/kubernetes/kubernetes/pull/66635
2019-05-09 02:03:21 -04:00
Justin SB 6779429e13
Release 1.14.0-alpha.1 2019-04-12 08:27:58 -07:00