Commit Graph

13234 Commits

Author SHA1 Message Date
Peter Rifel 144d038b76
Kubetest2 - Use a shell lexer for passing extra args to `create cluster`
This way any spaces within a quoted value wont cause the value to be broken up into multiple arguments.
The CentOS image in AWS has spaces in its name which is what exposed this issue.
2021-02-08 22:12:30 -06:00
Kubernetes Prow Robot b78d66464a
Merge pull request #10771 from bharath-123/fix/cloud-zones
Update GCE zones
2021-02-08 18:16:28 -08:00
Kubernetes Prow Robot 4507be8e13
Merge pull request #10469 from justinsb/boot_nodes_from_kops_controller
Boot nodes without state store access
2021-02-08 11:28:19 -08:00
shil 11098d072c Update doc with doc links 2021-02-08 11:11:02 -08:00
Bharath Vedartham e1e02aa761 Refactor error message 2021-02-09 00:24:30 +05:30
Bharath Vedartham 8a3cf01384 Update GCE zones 2021-02-09 00:17:19 +05:30
Kubernetes Prow Robot fef525f790
Merge pull request #10764 from olemarkus/troubleshoot-api-etcd
Add troubleshooting of corrupted api server leases
2021-02-08 09:51:40 -08:00
Kubernetes Prow Robot 9f8562f3fe
Merge pull request #10768 from hakman/relnotes_1.20.0-alpha.2
Release notes for 1.20.0-alpha.2
2021-02-08 08:05:38 -08:00
Ciprian Hacman 57b88fa007 Release notes for 1.20.0-alpha.2 2021-02-08 16:29:39 +02:00
Kubernetes Prow Robot 3673b6e7f8
Merge pull request #10765 from hakman/release-1.20.0-alpha.2
Release 1.20.0-alpha.2
2021-02-08 04:19:12 -08:00
Johannes Würbach f89d407945
fix: asset task copy docker image 2021-02-08 13:09:54 +01:00
Ciprian Hacman ede4daf7ce Release 1.20.0-alpha.2 2021-02-08 13:36:48 +02:00
Ole Markus With 0c5ec01d4a Add troubleshooting of corrupted api server leases 2021-02-08 12:19:14 +01:00
Kubernetes Prow Robot 741564e22c
Merge pull request #10758 from hakman/kops-controller-certs
Always generate kops-controller certs
2021-02-08 01:33:13 -08:00
Kubernetes Prow Robot 51dbaccb31
Merge pull request #10757 from justinsb/nodeup_set_owner_group
nodeup file: Set owner & group when we write the file.
2021-02-08 00:39:12 -08:00
Ciprian Hacman 47adc91dc2 Add dummy EnsureFileOwner function for Windows 2021-02-08 09:12:33 +02:00
shil ab3a10f0fa Add more details about ca.crt append and refresh in case cert rotation happens. 2021-02-07 20:54:06 -08:00
Justin SB 4ca45411d1 nodeup file: Set owner & group when we write the file.
Otherwise we had an issue where the file existed with the correct
owner/group; when we rewrote it we set the owner/group to root/root;
but we then didn't set the owner/group if they were previously
correct.

Was visible in the flatcar test results.
2021-02-07 17:41:13 -05:00
Ciprian Hacman 8ea5987851 Always generate kops-controller certs 2021-02-07 23:35:11 +02:00
Kubernetes Prow Robot dbd19259ca
Merge pull request #10754 from rifelpet/fix-update-asg-elb
Use EnsureTask instead of prepending IG names to external ELB tasks
2021-02-07 10:23:11 -08:00
Peter Rifel 9f5e225424
Add integration test for one external CLB being attached to multiple ASGs 2021-02-07 10:47:55 -06:00
Peter Rifel 0ef3f5a12c
Use LoadBalancerName field of CLB task when attaching CLBs to existing ASGs
This shouldn't have a functional change, just improving consistency with how we attach CLBs to ASGs being created
2021-02-07 10:46:44 -06:00
Peter Rifel e7ede2b13e
Use EnsureTask instead of prepending IG names to external ELB tasks
This way we end up with one CLB task per CLB regardless of how many ASGs to which it is attached.
2021-02-07 10:45:38 -06:00
Kubernetes Prow Robot 0aa9cf1921
Merge pull request #10695 from olemarkus/cilium-1-9
Add support for cilium 1.9
2021-02-07 01:07:11 -08:00
Kubernetes Prow Robot 016b0e5500
Merge pull request #10732 from zetaab/feature/uagent
add user agent to openstack api requests
2021-02-06 23:53:12 -08:00
Ole Markus With 07eb88145f Remove unset config options 2021-02-07 08:03:07 +01:00
Ole Markus With cd857b97f2 Catch bad/unknown cilium version 2021-02-07 08:00:58 +01:00
Ole Markus With a6dce2e820 Add support for cilium 1.9
Apply suggestions from code review

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2021-02-07 08:00:54 +01:00
Peter Rifel dd1ebb8b77
Add overrides support in lifecycle integration tests
This allows specific changes to be tested during an `update cluster --yes` and ensuring a subsequent `update cluster` dryrun correctly reports no changes.

To specify changes, create a cluster.overrides.txt or instancegroup.<name>.overrides.txt file in the update_cluster integration test's directory.
Each line is a field=value format, each batch of changes is separated by a `---` line.
Each batch will be ran through `update cluster --yes`
2021-02-06 23:18:15 -06:00
Peter Rifel c91ea29cb8
Add cloudmock support for launch template versions and updating ASGs 2021-02-06 23:06:46 -06:00
Kubernetes Prow Robot 54c7c4b102
Merge pull request #10750 from bharath-123/fix-doc-build-failure
Fix docs build failure
2021-02-06 09:01:11 -08:00
Bharath Vedartham 247664a94d Fix docs build failure 2021-02-06 21:42:29 +05:30
Kubernetes Prow Robot 0422349081
Merge pull request #10748 from justinsb/update_alpha_channel
alpha channel: Update older images
2021-02-06 08:01:11 -08:00
Justin SB fce17c4341 alpha channel: Update older images
To pick up the sudo fixes, also addresses some problems with docker
preinstallation.

Issue #10122
2021-02-06 10:19:17 -05:00
Kubernetes Prow Robot 5bd15cef15
Merge pull request #10746 from olemarkus/deprecate-aliyun
Deprecate aliyun
2021-02-06 02:05:11 -08:00
Kubernetes Prow Robot f7b0f4444a
Merge pull request #10739 from zhijianli88/master
Fix ineffassign issues
2021-02-05 14:00:31 -08:00
Ole Markus With 091b63a15a Deprecate aliyun 2021-02-05 22:51:49 +01:00
Alexander Block 6d354233d6 Add documentation for new subnet fields 2021-02-05 17:53:20 +01:00
Alexander Block 6facd1b8ab Allow to explicitely choose subnets and private IPs for the API loadbalancer 2021-02-05 17:53:20 +01:00
Alexander Block 49e7ec8890 Use SubnetMappings for NLBs instead of Subnets
SubnetMappings allow to explicitely set the private IPv4 address that
must be used for the NLB.

SubnetMappings and Subnets in the AWS API are compatible as long as the
address settings are not changes, making this commit backwards compatible.
2021-02-05 17:53:20 +01:00
Kubernetes Prow Robot 5c50fffd0f
Merge pull request #10742 from h3poteto/iss-10718
Use expected LaunchTemplateId in updating ASG when MixedInstancePolicy is changed
2021-02-05 08:48:52 -08:00
AkiraFukushima 37c68e27df Use expected LaunchTemplateId in updating ASG when MixedInstancePolicy is changed
When user changes only mixedInstancePolicy, LaunchTemplateId is not changed.
So it is not necessary to change LaunchTemplateId in AutoScalingGroup.
2021-02-06 01:08:40 +09:00
Alexander Block 190073e766 Refactor and fix NLB subnet change checks
Move checks for valid subnet operations into CheckChanges. This also fixes
a bug where changes would cause immutable field errors while it's actually
perfectly fine to add new subnets (only detaching is forbidden).

This also commit changes the actualSubnets and expectedSubnets lists to
be maps of *string. This is in preparation for the next commit that then
relies on it being a map.
2021-02-05 13:08:57 +01:00
Li Zhijian 501df662d4 upup/pkg/fi/cloudup/gcetasks/subnet: Fix ineffectual assignment to patch
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2021-02-05 16:41:55 +08:00
Li Zhijian f1484df4b8 upup/pkg/fi/cloudup/alitasks/rampolicy: Fix ineffectual assignment to policyRequest
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2021-02-05 16:40:39 +08:00
Li Zhijian d39f196292 pkg/apis/kops/validation/validation: Fix ineffectual assignment to optionTaken
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2021-02-05 16:39:28 +08:00
Jesse Haka 034dad258c modify names 2021-02-05 09:57:54 +02:00
Kubernetes Prow Robot ae3579076d
Merge pull request #10692 from bharath-123/feat/set-cluster-validation
Throw error if path being set by kops set is not present in struct
2021-02-04 22:08:52 -08:00
Jesse Haka 41d04d8d4b add user agent to openstack api requests 2021-02-04 23:04:06 +02:00
Kubernetes Prow Robot 0271f0e8cb
Merge pull request #10729 from olemarkus/imdsv2-not-default
Revert making imdsv2 default
2021-02-04 11:46:25 -08:00