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
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
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
John Gardiner Myers
38b7219b14
Remove code made unnecessary by apimachinery validation
2020-01-27 20:45:17 -08:00
John Gardiner Myers
ebfcf5d909
Implement recovery from previous failed surge rolling updates
2020-01-27 20:45:16 -08:00
John Gardiner Myers
cee662d521
Implement MaxSurge happy path
2020-01-27 20:45:16 -08:00
John Gardiner Myers
4ddc58ca5e
Add MaxSurge to resolveSettings
2020-01-27 20:45:16 -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
John Gardiner Myers
be12d88cc3
Detached instances don't count against instancegroup minimums
2020-01-27 20:15:11 -08:00
John Gardiner Myers
cc5b6f4b8f
Add fi.Cloud.DetachInstance()
2020-01-27 20:15:11 -08:00
John Gardiner Myers
640f5f5b74
Terminate AWS instances through EC2 instead of Autoscaling
2020-01-27 20:15:10 -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
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
Srikanth
d48bb7aa0b
Fix few review comments
2020-01-27 15:03:05 +05:30
Srikanth
42e88a7f89
Initial changes for load balancer task
...
Add load balancer fi tasks
Add load balancer builder for DO
Fix go imports
Implement FindIPAddress functionality
Add load balancer api ingress status calls
Add error checks for FindIPAddress
Add delete LB option
Update load balancer delete logic
Revert make file changes
revert utils code changes
Revert NewDOCloud changes
Remove minor code comments
Update with gomod for dependencies
2020-01-27 15:03:05 +05:30
Kubernetes Prow Robot
bff9ad0b16
Merge pull request #8399 from mmerrill3/feature/etcd-3.4.3
...
Bump etcd-manager to 3.0.20200116 (#8310 )
2020-01-26 23:39:10 -08:00
John Gardiner Myers
dcdf08c853
Add validation of RollingUpdate field
2020-01-26 14:18:55 -08:00
John Gardiner Myers
d56ad41334
Address review comments
2020-01-26 14:18:51 -08:00
Roberto Rodriguez Alcala
1298d541cc
Updates based on feedback
2020-01-25 12:32:40 -08:00
Roberto Rodriguez Alcala
f5c8e46ae2
Update pkg/configbuilder/buildconfigfile.go
...
Co-Authored-By: John Gardiner Myers <jgmyers@proofpoint.com>
2020-01-25 10:07:21 -08:00
Roberto Rodriguez Alcala
99c57b6d87
Update pkg/configbuilder/buildconfigfile.go
...
Co-Authored-By: John Gardiner Myers <jgmyers@proofpoint.com>
2020-01-25 10:07:13 -08:00
Roberto Rodriguez Alcala
069e74a27f
Update pkg/configbuilder/buildconfigfile.go
...
Co-Authored-By: John Gardiner Myers <jgmyers@proofpoint.com>
2020-01-25 10:07:02 -08:00
Roberto Rodriguez Alcala
117353c808
Fixing ci tests
2020-01-24 01:45:48 -08:00
Roberto Rodriguez Alcala
ac9c368cc3
Fix broken test after last change
2020-01-23 20:42:41 -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
13047dbb26
Removes unused func
2020-01-23 19:23:23 -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
mmerrill3
751ce5d19f
Bump etcd-manager to 3.0.20200116 ( #8310 )
...
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2020-01-23 11:09:14 -05:00
Kubernetes Prow Robot
34caaf2d82
Merge pull request #8145 from mccare/gce-terraform-json-output
...
Enabling JSON output for Terraform instead of writing the HCL syntax …
2020-01-22 22:16:48 -08:00
Lee Azzarello
441cd2523c
remove comment
2020-01-17 17:17:30 -08:00
Lee Azzarello
23cf0dd59e
use IAMPrefix() for hostedzone
2020-01-17 14:48:52 -08:00
Christian van der Leeden
549f54de48
Enabling JSON output for Terraform instead of writing the HCL syntax tf file. JSON syntax is officially supported in 0.12 and a terraform version requirement will be set. For previous installations you need to delete the .tf file by hand. JSON generation will fail if kubernetes.tf is present.
...
Added Integration Test using minimal test setup
Added documentation. For terraform 0.12 support the resource names need to be changed still
2020-01-17 22:03:19 +01:00
Kubernetes Prow Robot
d1b6c9a430
Merge pull request #8349 from tiendc/unit_test_pkg_edit
...
Add unit test for pkg/edit/edit.go
2020-01-17 07:23:06 -08:00
Justin Santa Barbara
5ebbfc96b9
Replace deprecated method calls to google cloud libraries
...
Required for static-check to pass.
2020-01-17 06:38:43 -05:00
Justin Santa Barbara
7922356c62
Update apimachinery
2020-01-17 06:35:22 -05:00
Dao Cong Tien
309dc9a8fc
Add unit test for pkg/edit/edit.go
...
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-01-17 11:11:25 +07: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
Austin Moore
4a88f7b5a5
Add ability to specify no ssh key by setting sshKeyName to empty
...
Add tests for no ssh key functionality
Add docs for setting no ssh key
Disable sshKey rendering for cloudformation if nosshkey is set
Fix broken test
make goimports
Fix
Formatting fix
Update kubernetes version for tests
Update expected test output
Fix imports in mesh.pb.go
Run hack/update-expected.sh
Change digital ocean logic to handle *string for SSHKeyName
Fix expected output
Missed a few
2020-01-15 15:24:32 -05:00
Reilly Brogan
a2473156ae
Rename NpcExtraArgs to NPCExtraArgs, fix manifest tests
2020-01-14 17:31:19 -06:00
Kubernetes Prow Robot
b4f60b30d0
Merge pull request #8331 from nvanheuverzwijn/ISSUE-8330
...
Allow removed of additionalUserData on bastion
2020-01-14 09:35:19 -08:00
Kubernetes Prow Robot
b396899152
Merge pull request #8334 from rifelpet/coredns-spec
...
Allow CoreDNS to be specified by create cluster overrides
2020-01-14 06:55:21 -08:00
Peter Rifel
b7960f04d4
Allow CoreDNS to be specified by create cluster overrides
...
This will more easily allow our end-to-end testing to use CoreDNS rather than KubeDNS
2020-01-14 08:14:33 -06:00
Nicolas Vanheuverzwijn
7041a43982
issue-8330: return empty nodeup template when calculating bastion userdata without additionaluserdata
2020-01-13 14:50:50 -05:00
John Gardiner Myers
5f72d12132
Reduce test flakiness
2020-01-12 21:27:55 -08:00
John Gardiner Myers
0c62ffbdfa
Remove code for unsupported k8s versions from api validation
2020-01-12 19:30:38 -08:00
John Gardiner Myers
1e5552c4b8
Remove kops.TaintNoScheduleMaster15
2020-01-12 19:30:37 -08:00
John Gardiner Myers
e428903871
Remove code for unsupported k8s versions from pkg/model
2020-01-12 19:30:37 -08:00
Guangwen Feng
d80aed0c9d
Add unit test for func RenderInstanceGroupSubnets in instancegroup.go
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
2020-01-13 09:34:57 +08:00
John Gardiner Myers
83bdb3ef88
Remove code for unsupported k8s versions from pkg/model/components
2020-01-12 16:05:00 -08:00
Justin SB
4fe3db7faa
Don't share /etc/hosts when using etcd-manager
...
With etcd-manager the DNS names should only be used by the
etcd-manager pod itself, so we don't need to share /etc/hosts with the
host.
By not sharing we avoid:
(1) the temptation to address etcd directly
(2) problems of concurrent updates to /etc/hosts being hard from within a container (because locking is difficult across bind mounts)
Introducing with kubernetes 1.17 to avoid changing behavior of existing versions.
2020-01-12 11:56:14 -05:00
Kubernetes Prow Robot
7116d80467
Merge pull request #8284 from johngmyers/validate-cidr
...
Improve CIDR validation
2020-01-11 21:21:45 -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
John Gardiner Myers
10d6416b8e
Allow MaxConcurrency for masters and bastions
2020-01-11 18:50:35 -08:00
Justin SB
f348b47332
Don't output empty sections in the manifests
...
In our kube-dns manifest for 1.6 we often had an empty section,
normalization converted this to `{}` which causes `kubectl apply` to
fail.
We can simply skip empty objects when outputing.
2020-01-11 20:58:24 -05:00
Kubernetes Prow Robot
2711ed3f11
Merge pull request #8247 from bittopaz/fix-env-vars
...
Stabilize sequence of "export xx=xxx" statements
2020-01-11 07:29:37 -08:00
John Gardiner Myers
bbf85d0a15
Improve CIDR validation
2020-01-06 22:27:34 -08:00
Ciprian Hacman
0781afdce7
Set a default version for containerd even with Kubernetes 1.17
2020-01-06 22:04:29 +02:00
Kubernetes Prow Robot
d53d6f5081
Merge pull request #8277 from longkb/remove_duplicated_words
...
Remove duplicated words
2020-01-06 06:49:34 -08:00
Kubernetes Prow Robot
63930904c3
Merge pull request #8269 from justinsb/ops_kops_writeable
...
Make /opt/kops writeable on COS
2020-01-06 01:33:34 -08:00
Kim Bao Long
41adf418d7
Remove duplicated words
...
Although it is spelling mistakes, it might make an affects while reading.
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
2020-01-06 15:27:54 +07:00
John Gardiner Myers
0c3651c9c8
Implement MaxUnavailable
2020-01-05 12:09:55 -08:00
John Gardiner Myers
0952374027
Extract maybeValidate
2020-01-05 12:09:55 -08:00
John Gardiner Myers
91f4920537
Extract drainTerminateAndWait()
2020-01-05 12:09:55 -08:00
John Gardiner Myers
adaf903b90
Create resolveSettings
2020-01-05 12:09:54 -08:00
John Gardiner Myers
855cd1fe67
make apimachinery
2020-01-05 12:09:54 -08:00
John Gardiner Myers
ce241bc4d1
Add MaxUnavailable setting to cluster and instancegroup
2020-01-05 12:09:54 -08:00
Kubernetes Prow Robot
121d9f461f
Merge pull request #7909 from johngmyers/remove-drain-feature-flag
...
Remove DrainAndValidateRollingUpdate feature flag
2020-01-05 11:15:40 -08:00