Commit Graph

155 Commits

Author SHA1 Message Date
Justin Santa Barbara 148a65e1ad Fix CNI CPU allocations
* Limit each CNI provider to 100m

* Remove CPU limits - they cause serious problems
(https://github.com/kubernetes/kubernetes/issues/51135), but this also
makes the CPU allocation less problematic.

* Bump versions and start introducing the `-kops.1` suffix preemptively.

* Upgrade flannel to 0.9.0 as it fixes a lot.
2017-11-13 01:28:40 -05:00
Kubernetes Submit Queue f1fddb5512
Merge pull request #3620 from murali-reddy/remove-beta-init-container
Automatic merge from submit-queue.

kube-router: remove beta annotation versions (deprectated in 1.8) of init container

kube-router: remove beta annotation versions (deprectated in 1.8) of init container and move init container to spec section
2017-11-10 10:08:38 -08:00
Kashif Saadat f7dbcf0978 Update tolerations so the pods can run on all nodes. 2017-11-08 17:06:49 +00:00
Kashif Saadat 657a91729e Update Canal to use Calico v2.6.2. 2017-11-07 09:26:18 +00:00
Justin Santa Barbara 9b71713d68 Tag 1.8.0-beta.1 2017-11-06 23:24:51 -05:00
Manatsawin Hanmongkolchai a708919bf4 Generate scheduler policy by dynamic cluster addons 2017-10-27 08:56:07 +07:00
Mike Splain e000d21673 Add a v1.7.0 storage addon resource.
Fixes #3298
2017-10-23 22:11:28 -04:00
Kubernetes Submit Queue 760da7eeba Merge pull request #3637 from justinsb/bump_kopeio_networking
Automatic merge from submit-queue.

Bump kopeio networking to 20171015
2017-10-23 12:09:56 -07:00
Justin Santa Barbara 4bd997496d Grant kubelets system:node role in 1.8
This is an interim measure until we fully support the NodeAuthorizer and
dynamic kubelet bootstrapping.

Issue #3551
2017-10-23 00:34:24 -04:00
Justin Santa Barbara dfa89c096e Bump kopeio networking to 20171015 2017-10-20 23:12:15 -04:00
Kubernetes Submit Queue 3315d29bdb Merge pull request #3630 from wlan0/api
Automatic merge from submit-queue.

Add Cloud Controller Manager addon

This adds the CCM addon for the Kubernetes cluster. 

This is a follow-up PR to https://github.com/kubernetes/kops/pull/3408. 

cc @chrislovecnm @andrewsykim
2017-10-20 19:07:50 -07:00
wlan0 d3143ec3cc add Cloud Controller Manager addon 2017-10-19 12:33:44 -07:00
Kubernetes Submit Queue 1d5b2814d9 Merge pull request #3623 from KashifSaadat/canal-v2.5
Automatic merge from submit-queue.

Add Calico v2.5 support for Kubernetes v1.8+

Added support for Canal (Calico) v2.5.1, which is required to work with Kubernetes v1.8.0+.

Older versions of Calico relied on ThirdPartyResources API to store it's config data, however this is now fully deprecated in Kubernetes v1.8 and has moved over to CustomResourceDefinitions (CRD). Calico v2.5+ has been updated to use CRD, however there is a manual upgrade process involved to migrate the configuration data across: https://github.com/projectcalico/calico/blob/master/upgrade/v2.5/README.md
2017-10-16 19:51:08 -07:00
Bryan Boreham e2357f8568 Add critical-pod annotation and toleration for rescheduler
Background at
https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/

Note the extra toleration is not strictly necessary, because
rescheduler adds CriticalAddonsOnly with effect NoSchedule, so it's
covered by the existing toleration, but that isn't documented so going
by the book we add both.
2017-10-16 13:50:10 +00:00
Kashif Saadat 6d624c7ad5 Add Calico v2.5 support for Kubernetes v1.8+ 2017-10-16 12:23:53 +01:00
Kubernetes Submit Queue 2c2f9fd6cd Merge pull request #3632 from justinsb/kopeio_cricial
Automatic merge from submit-queue.

kopeio-vxlan: mark critical, remove cpu limit
2017-10-15 14:44:57 -07:00
Justin Santa Barbara 0d7e72e43c kopeio-vxlan: mark critical, remove cpu limit 2017-10-15 14:30:44 -04:00
Justin Santa Barbara a6ab7c3c61 GCE: Install correct storage class
We only want to install the AWS storage class on AWS, and on GCE we want
to install the GCE storage class.
2017-10-14 11:36:58 -04:00
Murali Reddy 2c7d85f480 Remove beta annotation versions (deprectated in 1.8) of init containers and move init
container to spec section
2017-10-13 02:29:36 +05:30
Bryan Boreham 88e001f88e Update to Weave Net 2.0.5
including a Weave Net template for Kubernetes 1.7 and above which adds
a volume-mount for the iptables lock file, which avoids collisions
between Weave components and kube-proxy that would result in a
half-configured Weave network.

This is only for version 1.7 and above because it requires the change
in https://github.com/kubernetes/kubernetes/issues/47212
2017-10-12 11:08:44 +00:00
Kubernetes Submit Queue 211dab152a Merge pull request #3522 from murali-reddy/3463-kube-router-rbac
Automatic merge from submit-queue.

Use system:kube-router User for clusterrole binding

Kube-router as it provides service proxy as well, it has a chicken-egg problem (can not
access api server till it can setup service proxy), so service account are not usable. certificate generated for kube-router has CN `system:kube-router`, so user  `system:kube-router` need to be given necessary RBAC permissions

Fixes #3463
2017-10-09 00:14:03 -07:00
Murali Reddy a43df55540 Certificate generated for kube-router has CN system:kube-router, so user
system:kube-router need to be given necessary RBAC permissions

Fixes #3463
2017-10-05 21:29:11 +05:30
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
Kubernetes Submit Queue 3ddbf3e695 Merge pull request #3383 from haad/addon-external-dns
Automatic merge from submit-queue. .

Add external-dns as addon.

This superseeds route53mapper as it has multicloud support documentation and YAML taken from https://github.com/kubernetes-incubator/external-dns
2017-09-24 23:51:08 -07:00
Kubernetes Submit Queue b3f26f8cd0 Merge pull request #3206 from felipejfc/calico-portmap
Automatic merge from submit-queue. .

Support for using hostPort when using calico

For enabling hostPort we need to turn on portmap cni plugin.
In this PR I updated calico and calico-cni images to latest version which already includes the portmap binary, and then I only needed to modify the cni config file to enable it and change its extension from .conf to .conflist.

This is related to:
https://github.com/kubernetes/kops/issues/3132

I think we should do the same for kube-router, flannel and weave (are there any other cni plugin supported by kops?)
2017-09-22 13:08:41 -07:00
Kashif Saadat f1109dbf29 Support additional config options for Canal Networking 2017-09-20 15:44:02 +01:00
Adam Hamsik 2f89143e4f Bump feature flag version for external-dns addon. 2017-09-16 13:05:55 +02:00
Caleb Gilmour 79d331e590 Add support for Romana as a networking option 2017-09-13 22:48:18 +00:00
Justin Santa Barbara 15d6834113 Flannel: support choosing a backend type
We support udp, which has to the default for backwards-compatibility,
but also new clusters will now use vxlan.
2017-08-30 21:16:21 -04:00
Bradley cf1a907d0e Fixes #3317 allowing to spawn flannel on all nodes in the cluster 2017-08-30 14:58:01 +01:00
Kashif Saadat d9e4a62994 Allow user defined endpoint to host action for Canal 2017-08-26 12:53:44 +01:00
Murali Reddy 9b8f74d569 remove --cluster-cidr from manifest.
Kube-router was using --cluster-cidr flag to get the subnet allocated
for pod CIDR's. But now kube-router has the ability internally to infer
the CIDR allocated for the pod's by getting the information from
kubernetes API server node spec's
2017-08-25 01:21:51 +05:30
Felipe Cavalcanti 73ac4ca809 support for using hostPort when using calico cni 2017-08-18 13:13:27 -03:00
Kubernetes Submit Queue 429004fdf1 Merge pull request #3162 from tmjd/update-calico-2-4-0
Automatic merge from submit-queue

Update to Calico 2.4.1

- Switch Calico images to be pulled from quay.io

Addresses #3161
2017-08-17 15:09:36 -07:00
Erik Stidham ec68c0c00b Update Canal to the latest
- Calico to v2.4.1
- Flannel to v0.8.0
- Update Calico RBAC
2017-08-11 17:00:49 -05:00
Erik Stidham 226e26f072 Update to Calico 2.4.1
- Switch Calico images to be pulled from quay.io
2017-08-11 08:56:03 -05:00
Derek VerLee ffa95b8112 Add support for cluster using http forward proxy 2017-08-07 14:30:42 -04:00
Prachetas Prabhu 8f13944ac3 Bumps calico versions to mitigate taint stripping issue 2017-08-04 21:23:23 -05:00
Prachetas Prabhu 32502ad54f Adds wider tolerations to Canal Daemonset to allow scheduling on nodes with strict taints 2017-08-04 21:23:23 -05:00
Igor Canadi 7323e5f26c added wider toleration to calico-node daemonset 2017-07-31 18:17:31 +00:00
BradErz e6d0aba9bf Updating flannel networking to use ClusterRole so its not broken when deploying with RBAC 2017-07-22 17:38:55 +01:00
Justin Santa Barbara 8055fe506a Mark kops 1.7.0-beta.1 2017-07-19 22:53:31 -04:00
Justin Santa Barbara 1d5c3fcf45 Dedent weave manifest, for easier diffing
Still some changes to order, but should be much easier to audit now.
2017-07-15 12:30:00 -04:00
Justin Santa Barbara 0044a323af Merge pull request #2829 from marccarre/weave-net-2.0.1
Update weave to 2.0.1
2017-07-15 12:23:55 -04:00
Justin Santa Barbara 9a8fcd64e4 Simplify how we build addon manifests, support image redirection 2017-07-08 18:33:00 -04:00
Justin Santa Barbara 8bde5317c1 Bump dns-controller & kops for 1.7.0-alpha.1 2017-07-07 00:57:10 -04:00
Chris Love 24c0bc19ed Merge pull request #2768 from ottoyiu/calico_cidr
Update calico to use the correct CIDR for pods
2017-07-06 14:29:18 -06:00
Chris Love 20535248b4 Merge pull request #2773 from justinsb/authn_integration
Initial support for authentication (kopeio)
2017-07-06 14:11:22 -06:00