Commit Graph

2300 Commits

Author SHA1 Message Date
John Gardiner Myers 704f41dbf1 Use supported kubernetes versions in tests 2020-02-21 22:24:29 -08:00
Kubernetes Prow Robot 249beba657
Merge pull request #8604 from tiendc/fix_unit_test_labels
Fix a bug in UT apis/kops/util/labels_test.go
2020-02-21 11:38:12 -08:00
Kubernetes Prow Robot 0aa97af94e
Merge pull request #8466 from hakman/fix-launch-template-tags
Update tags support for LaunchTemplates
2020-02-21 10:42:31 -08: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
Ciprian Hacman e8c107f767 Update tags support for LaunchTemplates 2020-02-21 10:12:14 +02:00
John Gardiner Myers 8148f2da69 Fail cluster validation if a master missing kube-controller-manager 2020-02-20 21:50:11 -08:00
Kubernetes Prow Robot 194874d103
Merge pull request #8595 from tiendc/unit_test_apis_kops_util
Add unit test for pkg/apis/kops/util/labels.go
2020-02-20 19:18:32 -08: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
Kubernetes Prow Robot fb7801d1bf
Merge pull request #8539 from tiendc/unit_test_pkg_nodelabels
Add unit test for pkg/nodelabels/builder.go
2020-02-20 13:29:57 -08:00
Kubernetes Prow Robot ea8c8fbc18
Merge pull request #8589 from olemarkus/cilium-1-7
Bump Cilium to 1.7 for k8s 1.12+
2020-02-19 15:32:30 -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
Kubernetes Prow Robot 9cbbdd8426
Merge pull request #8533 from spotinst/fix-spotinst-owners
Spotinst: Add OWNERS file to Spotinst specific packages
2020-02-19 07:00:31 -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 4ad5dd7e83
Merge pull request #8548 from rifelpet/amazon-vpc-cni-1.6.0-iam
Update IAM permissions for amazon-vpc-cni-k8s 1.6.0
2020-02-13 10:20:35 -08:00
Kubernetes Prow Robot 91867ce4b5
Merge pull request #8220 from olemarkus/cilium-nodeport
Cilium nodeport
2020-02-13 09:18:36 -08:00
Peter Rifel bf42bb0e43 Update IAM permissions for amazon-vpc-cni-k8s 1.6.0 2020-02-13 11:10:38 -06:00
Dao Cong Tien 2c765eb835 Add unit test for pkg/nodelabels/builder.go
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-02-13 19:58:49 +07:00
Ciprian Hacman d5f96d7204 Update amazon-vpc-cni-k8s to v1.6.0 2020-02-13 10:32:51 +02:00
liranp fb54cbfd1a
chore(spotinst): add OWNERS file to spotinst specific packages 2020-02-12 18:08:24 +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
Dao Cong Tien ba68560229 Add unit test for pkg/jsonutils/streamwriter.go
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-02-11 11:42:42 +07:00
Kubernetes Prow Robot 4cea7ffe66
Merge pull request #8246 from bittopaz/ali-fix-lc
Alicloud: support modification of LaunchConfiguration
2020-02-10 19:32:01 -08: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
Ciprian Hacman 7048755c0e Add support for containerd v1.3.3 2020-02-07 08:01:09 +02:00
Justin SB 187d5e5e7f
GCS: Don't try to set ACLs if bucket-policy only is set
This means we won't be able to work unless there's a bucket permission
(which actually will typically happen if the state store is in the
same GCS project).

This is the minimal workaround for cherry-picking.
2020-02-06 14:49:30 -05: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
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
Ole Markus With eed15b471a Make it possible to enable Prometheus metrics for Cilium 2020-02-03 19:11:34 +01:00
Kubernetes Prow Robot 4c6b87494a
Merge pull request #8237 from srikiz/DO-AddLoadBalancer
[DigitalOcean] Add load balancer support for master HA
2020-02-02 21:09:20 -08:00
John Gardiner Myers 4b33efedaa Tag EBS volumes when using launch templates with AWS API target 2020-02-01 22:32:37 -08: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
Kubernetes Prow Robot 044196ac94
Merge pull request #8016 from bittopaz/ali-patch-6
Alicloud: etcd-manager support
2020-01-28 22:52:14 -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
Srikanth e440397548 Incorporate review comments 2020-01-28 14:22:49 +05:30
Ciprian Hacman 5f930683ed Update support for Amazon Linux 2 2020-01-28 08:13:45 +02: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
Kubernetes Prow Robot ace4c60610
Merge pull request #8407 from rralcala/master
Support additional kube-scheduler config parameters via config file
2020-01-27 13:11:39 -08:00
Roberto Rodriguez Alcala 03af6b80b5 Adds test and fixes incorrect flag 2020-01-27 11:46:12 -08:00
Srikanth 38513b3a91 Address all review comments 2020-01-27 15:03:05 +05:30
Srikanth ddf2a90dde Update more review comments 2020-01-27 15:03:05 +05:30