Commit Graph

3799 Commits

Author SHA1 Message Date
Bharath Vedartham cebe171805 Explicitly specify http_endpoint in launch_template terraform
http_endpoint has to be explicitly specified in the metadata_options block
of the launch template terraform according to issue
https://github.com/hashicorp/terraform-provider-aws/issues/12564
2020-12-10 01:37:15 +05:30
Ciprian Hacman 4acc1d4f5d Update docs for CentOS 8 2020-12-09 09:36:43 +02:00
Kubernetes Prow Robot bee16c052d
Merge pull request #10324 from bharath-123/feature/aws-imdv2
Add support for AWS IMDS v2
2020-12-07 22:55:11 -08:00
Ciprian Hacman 265bf4d106 Add option for setting the volume encryption key in AWS 2020-12-08 07:08:09 +02:00
Bharath Vedartham 7f6e125733 Add support for aws ec2 instance metadata v2
A new field is add to the InstanceGroup spec with 2 sub fields,
HTTPPutResponseHopLimit and HTTPTokens. These fields enable the user
to disable IMDv1 for instances within an instance group.

By default, both IMDv1 and IMDv2 are enabled in instances in an instance group.
2020-12-07 02:57:02 +05:30
Kubernetes Prow Robot baec60214b
Merge pull request #10375 from olemarkus/ca-no-limits
Remove resource limits from cluster autoscaler
2020-12-06 06:19:25 -08:00
Kubernetes Prow Robot e68a4648b9
Merge pull request #10374 from hakman/eip-egress
Add option to reuse existing Elastic IPs for NAT gateways
2020-12-06 04:55:25 -08:00
Ole Markus With 75d4e2b897 Remove resource limits from cluster autoscaler 2020-12-06 13:36:06 +01:00
Ciprian Hacman e11d934268 Add option to reuse existing Elastic IPs for NAT gateways 2020-12-06 09:37:17 +02:00
Kubernetes Prow Robot 7140d96e92
Merge pull request #10318 from olemarkus/cert-manager-addon
Add minimal cert-manager addon
2020-12-04 22:57:25 -08:00
Ole Markus With 09eebec765
Update upup/pkg/fi/cloudup/bootstrapchannelbuilder.go
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-12-05 07:21:12 +01:00
Ole Markus With 1ae09e86a5 Add minimal cert-manager addon 2020-12-04 21:52:07 +01:00
srikiz 33a4b4a76b Remove AlphaAllowDO flag 2020-12-04 21:32:01 +05:30
srikiz 052ec647dd Move DO to beta 2020-12-04 21:15:08 +05:30
Kubernetes Prow Robot 1b45f876a4
Merge pull request #10335 from hakman/same-tg-multiple-igs
Allow attaching same external target group to multiple instance groups
2020-12-02 21:38:59 -08:00
Ciprian Hacman e57cd534b5 Allow attaching same external target group to multiple instance groups 2020-12-03 06:59:59 +02:00
Kubernetes Prow Robot 443567426e
Merge pull request #9704 from nckturner/aws-cloud-controller
Add aws-cloud-controller-manager config to addons
2020-12-02 12:17:00 -08:00
Timo Reimann 492b4a61e3 Update DigitalOcean cloud-controller-manager to v0.1.30
This changes bumps DigitalOcean's cloud-controller-manager to version
0.1.30 which brings a number of new features.
2020-12-02 18:11:52 +01:00
Kubernetes Prow Robot 924ca30354
Merge pull request #10337 from MoShitrit/aws-vpc-cni-1.7.6
Bump aws-vpc-cni version to 1.7.6
2020-12-02 08:28:51 -08:00
Ciprian Hacman e11156135b Update Docker to v19.03.14 2020-12-02 10:11:27 +02:00
Ciprian Hacman 2b6d730354 Update containerd to v1.4.3 2020-12-02 09:53:57 +02:00
MoShitrit 59e2b8357b Bump aws-vpc-cni version to 1.7.6 2020-12-01 22:20:38 -05:00
Nick Turner c9feb36f3f Add aws-cloud-controller-manager config to addons
- Config at aws-cloud-controller.addons.k8s.io/k8s-1.18.yaml.template
- AWSCCMTag function for CCM image tag
2020-11-30 01:35:07 -08:00
Kubernetes Prow Robot ead7143a79
Merge pull request #10319 from hwoarang/tolerate-missing-detached-ec2
Tolerate missing detached EC2 instances
2020-11-26 10:40:19 -08:00
Markos Chandras 0eb114d751
Tolerate missing detached EC2 instances
Sometimes we see the following error during a rolling update:

I1125 18:12:46.467059     165 instancegroups.go:340] Draining the node: "ip-X-X-X-X.X.compute.internal".
I1125 18:12:46.473365     165 instancegroups.go:359] deleting node "ip-X-X-X-X.X.compute.internal" from kubernetes
I1125 18:12:46.476756     165 instancegroups.go:486] Stopping instance "i-XXXXXXXX", node "ip-X-X-X-X.X.compute.internal", in group "X" (this may take a while).
E1125 18:12:46.523269     165 instancegroups.go:367] error deleting instance "i-XXXXXXXX", node "ip-X-X-X-X.X.compute.internal": error deleting instance "i-XXXXXXXX", node "ip-X-X-X-X.X.compute.internal": error deleting instance "i-XXXXXXXX": InvalidInstanceID.NotFound: The instance ID 'i-XXXXXXXXX' does not exist
	status code: 400, request id: 91238c21-1caf-41eb-91d7-534d4ca67ed0

It's possible that the EC2 instance to have disappeared by the time it
was detached (it may have been a spot instance for example)

In any case, we can't do much when we do not find an instance id, and
throwing this error during the update is not very user friendly.

As such, we can simply report and tolerate this problem instead of
exiting with non-zero code. This is similar to how we handle missing
EC2 when updating an IG[1]

[1] https://github.com/kubernetes/kops/pull/594
2020-11-26 08:55:38 +00:00
Ciprian Hacman 8b9fb1ffe8 Update Calico to v3.17.0 2020-11-24 08:17:23 +02:00
Kubernetes Prow Robot c44d8fb0d8
Merge pull request #10297 from hakman/no_model_store_needed
Remove dead code
2020-11-22 12:07:34 -08:00
Kubernetes Prow Robot 064e39299b
Merge pull request #10295 from hakman/master-1.19.0-beta.2
Update kOps version after 1.19.0-beta.2 release
2020-11-22 11:31:34 -08:00
Kubernetes Prow Robot 085b57527f
Merge pull request #10273 from dntosas/weave-add-ability-to-specify-image
[weave] Add support for default version override
2020-11-21 23:55:34 -08:00
Ciprian Hacman d2cebfe01f Remove dead code 2020-11-22 09:18:43 +02:00
Ciprian Hacman 338fb43f8b Update kOps version after 1.19.0-beta.2 release 2020-11-22 08:10:50 +02:00
Ciprian Hacman e11c663e29 Check changes before attaching/detaching TargetGroups 2020-11-20 19:44:34 +02:00
dntosas b7a2d0a1b1
[weave] Add support for default version override
In this commit, we enable users to override default version
of networking/Weave specs.

Signed-off-by: dntosas <ntosas@gmail.com>
2020-11-20 14:26:50 +02:00
Ciprian Hacman 19345c3f7f Order attached TargetGrups list by name 2020-11-20 10:40:27 +02:00
Ciprian Hacman fdcc2607bf Parse TargetGrup names from ARNs 2020-11-20 10:40:26 +02:00
Frank Yang 93dcaddc48 feat(aws): add PolicyNames for ELB to change listener's security policy 2020-11-19 16:07:21 +08:00
Kubernetes Prow Robot 454ffddcb1
Merge pull request #10239 from johngmyers/kops-controller-domain
Use separate domain for kops-controller bootstrap
2020-11-17 23:24:04 -08:00
John Gardiner Myers d5ed8509fe Fix version of storage-aws addon manifest 2020-11-16 14:48:29 -08:00
Kubernetes Prow Robot 92911d7dcf
Merge pull request #10167 from olemarkus/cilium-ondelete
Make it possible to use OnDelete update strategy on addon daemonset
2020-11-16 12:38:03 -08:00
Ole Markus With f4e3dd3e26 Rename NeedUpdate struct to NeedsRollingUpdate 2020-11-16 19:48:18 +01:00
Ole Markus With 2659a30280 Make get instances respect needs-update annotation
Make it possible for addons to set needs-update annotation

Use onDelete update strategy for cilium and set needs-update annotation

Rename node roles
2020-11-16 08:26:17 +01:00
Justin SB 73b075d3b2 GCE: ignore (output-only) networkInterface.name
This field was causing spurious differences to be detected.

We probably should be comparing the values in the kops model, not the
GCE model.
2020-11-15 10:31:24 -05:00
John Gardiner Myers 046a64cb19 Use separate domain for kops-controller bootstrap 2020-11-14 12:14:34 -08:00
Kubernetes Prow Robot c8e6ceea17
Merge pull request #10217 from hakman/nits
Fix various nits
2020-11-12 14:54:25 -08:00
Ciprian Hacman c946f16c32 Print changes also for consistency errors 2020-11-12 14:34:35 +02:00
Kubernetes Prow Robot 74c7a7a75d
Merge pull request #10215 from zetaab/specimage
Allow to use custom csi plugin image and enable topology support
2020-11-11 02:15:48 -08:00
Ciprian Hacman 3e8770f763 Update kOps version after 1.19.0-beta.1 release 2020-11-11 10:15:39 +02:00
Jesse Haka a8ed94b74f Allow to use custom csi plugin image and enable topology support 2020-11-11 09:50:08 +02:00
Kubernetes Prow Robot 9b3f13d93f
Merge pull request #10151 from hakman/launch-template-versions
Use LaunchTemplate versions instead of timestamped LaunchTemplates
2020-11-10 23:23:48 -08:00
Kubernetes Prow Robot ddb3a38e28
Merge pull request #10190 from spotinst/feat-ocean-resource-limits
Spotinst: Configure Resource Limits in Ocean Auto Scaler
2020-11-10 18:15:48 -08:00