Commit Graph

985 Commits

Author SHA1 Message Date
John Gardiner Myers 1b7c5139e0 Merge branch 'master' into surge 2020-03-03 17:53:18 -08:00
tanjunchen 64ffe00b1c support apiserver --kubelet-certificate-authority flag 2020-03-02 11:27:59 +08:00
John Gardiner Myers ed73726195 Address review comments 2020-02-28 21:05:43 -08:00
Ciprian Hacman 44a508cb18 Add full field path to validation errors 2020-02-27 14:56:58 +02:00
Ciprian Hacman 5b9f01cdc7 Validate IptablesBackend for Calico and Canal 2020-02-27 04:35:56 +02:00
Ciprian Hacman f218f0bd7a Update Calico and Canal to v3.12.0 2020-02-27 04:03:42 +02:00
Kubernetes Prow Robot e07f84708e
Merge pull request #8276 from rifelpet/aws-vpc-cni-env-vars
Add support for custom env vars in amazon-vpc-cni
2020-02-26 15:07:20 -08:00
John Gardiner Myers ad8b018f1e Validate at most one networking option chosen 2020-02-23 21:30:47 -08:00
Kubernetes Prow Robot 145963fb09
Merge pull request #8590 from fenggw-fnst/work
Fix typo in comment for struct LyftVPCNetworkingSpec
2020-02-22 07:50:47 -08:00
Justin Santa Barbara 930207e156
kubelet: map rotate-certificates options
Additive flag mapping, may be useful for kubelet bootstrap.
2020-02-22 08:47:39 -05:00
Dao Cong Tien 8e3bd4f94c Fix a bug in UT apis/kops/util/labels_test.go
Go does not keep the order of items when iterate over a map.

Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-02-21 17:09:06 +07:00
Dao Cong Tien 9df6851cb3 Add unit test for pkg/apis/kops/util/labels.go
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-02-21 09:37:15 +07:00
Guangwen Feng ea6dd4e0f3 Fix typo in comment for struct LyftVPCNetworkingSpec
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
2020-02-20 11:18:05 +08:00
Ole Markus With d0d833144d Bump Cilium to 1.7 for k8s 1.12+
Cilium 1.7 requires K8s 1.12 minimum. Changed the templates so that we
can have different cilium versions for different k8s versions.

This also mean that this addon will behave similar to other addons wrt
upgrades. Cilium used to add a fixed version to the cluster spec on cluster creation so
upgrades were slightly more manual. Now, for new clusters, upgrades will
happen implicitly with kops updates unless the .Version is added
manually to the cluster spec.
2020-02-19 18:26:07 +01:00
John Gardiner Myers 9f9b98e9f4 Merge branch 'master' into surge 2020-02-17 09:17:26 -08:00
John Gardiner Myers 53c362da25 Fix field name for api validation 2020-02-17 09:17:19 -08:00
Kubernetes Prow Robot 4f82e77a4b
Merge pull request #8578 from johngmyers/not-invalid
Fix inappropriate use of field.Invalid()
2020-02-17 07:51:29 -08:00
Matt Ouille f025ff0e70
Add External Policies (AWS managed policy attachments) 2020-02-16 21:54:12 -08:00
John Gardiner Myers eb58874aea Fix inappropriate use of field.Invalid() 2020-02-16 20:59:33 -08:00
John Gardiner Myers 54449386a0 Simplify chained .Child() calls 2020-02-16 17:29:41 -08:00
Ole Markus With ced8f00201 Add option to use ENI as IPAM mode for Cilium
* Force cilium-operator run on master nodes
* Add option for setting cilium ipam mode
* If cilium ipam mode is eni, add additional permissions to master nodes
* Allow NonMasqueradeCIDR overlap with NetworkCIDR when Cilium ENI is enabled
2020-02-16 19:11:01 +01:00
John Gardiner Myers 8844b97fe3 Fix field names in api validation 2020-02-15 14:52:27 -08:00
Kubernetes Prow Robot 91867ce4b5
Merge pull request #8220 from olemarkus/cilium-nodeport
Cilium nodeport
2020-02-13 09:18:36 -08:00
Ciprian Hacman d5f96d7204 Update amazon-vpc-cni-k8s to v1.6.0 2020-02-13 10:32:51 +02:00
Ole Markus With 5437f6c090 Small fix in the validation logic 2020-02-12 14:30:09 +01:00
Ole Markus With eee672f293 Fixes some issues with running Cilium nodeport
* Cilium need to talk to the internal cluster API on  public IPs instead of the internal service
* Tell people explicitly they have to disable kubeproxy so it won't conflict with nodeport
2020-02-11 10:14:59 +01:00
Peter Rifel 79424e8562 Add env API field to amazonvpc 2020-02-10 16:38:09 -06:00
John Gardiner Myers 323130ebbf Merge branch 'master' into validate-multiple 2020-02-10 09:05:47 -08:00
John Gardiner Myers 0c0e2dcf5f Add comment on initialization of kubernetesRelease 2020-02-10 08:14:17 -08:00
Kubernetes Prow Robot 4f2cddaa8b
Merge pull request #8433 from olemarkus/cilium-prometheus
Make it possible to enable Prometheus metrics for Cilium
2020-02-06 10:17:24 -08:00
Ole Markus With 43b074bfbc Update cilium to 1.6.6 2020-02-06 16:21:59 +01:00
Ole Markus With eed15b471a Make it possible to enable Prometheus metrics for Cilium 2020-02-03 19:11:34 +01:00
Peter Rifel eb5d2b754d Add an EnvVar type to the API
This was copied from the k8s API [0] with the ValueFrom field removed for simplicity.

It will be used by the aws-vpc-cni provider and etcd

[0] bb84ecda43/core/v1/types.go (L1827-L1846)
2020-01-31 14:16:35 -06:00
John Gardiner Myers 8e2fe44391 Return more errors at once during Cluster validation 2020-01-30 22:04:19 -08:00
John Gardiner Myers 8f6529879b Return more errors at once during InstanceGroup validation 2020-01-28 08:22:44 -08:00
John Gardiner Myers fbeefee8ee Remove unnecessary validation
CrossValidateInstanceGroup() is always called with a cluster that has been already validated.
2020-01-28 08:22:22 -08:00
John Gardiner Myers c95a43c026 make apimachinery 2020-01-27 20:44:37 -08:00
John Gardiner Myers 10f06c5c51 Add MaxSurge setting to cluster and instancegroup 2020-01-27 20:44:34 -08:00
Kubernetes Prow Robot e56c507c7f
Merge pull request #8271 from johngmyers/max-unavailable
Option to increase concurrency of rolling update within instancegroup
2020-01-27 20:11:39 -08:00
Roberto Rodriguez Alcala 03af6b80b5 Adds test and fixes incorrect flag 2020-01-27 11:46:12 -08:00
John Gardiner Myers dcdf08c853 Add validation of RollingUpdate field 2020-01-26 14:18:55 -08:00
Roberto Rodriguez Alcala 1298d541cc Updates based on feedback 2020-01-25 12:32:40 -08:00
Roberto Rodriguez Alcala 117353c808 Fixing ci tests 2020-01-24 01:45:48 -08:00
Roberto Rodriguez Alcala b9945594fd Updates based on feedback 2020-01-23 20:31:18 -08:00
Roberto Rodriguez Alcala 447b46d109 Fix for copyright and ran update-bazel.sh 2020-01-23 20:11:41 -08:00
Roberto Rodriguez Alcala 7a017396ba Fixes incorrect tag name and copyright year 2020-01-23 19:58:45 -08:00
Roberto Rodriguez Alcala a9f3db63fc Support additional kube-scheduler config parameters via config file
Mentioned in #6942

This change allows using the --config flag and a generated configfile to set
options that were not previously supported and the use via flags is deprecated.
(https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/)

I thought that it might be better to have them in a config file to ensure
support in newer kubernetes versions.

It also makes it easy to add more.
2020-01-23 19:13:31 -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
Kubernetes Prow Robot 77d6d381c3
Merge pull request #8327 from johngmyers/remove-code
Remove code for unsupported Kubernetes versions
2020-01-15 14:54:22 -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