Commit Graph

3924 Commits

Author SHA1 Message Date
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
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
Kubernetes Prow Robot beb8b62746
Merge pull request #10700 from avdhoot/expose-metrics-Calico
Fix rendering issue created by #10414
2021-02-04 01:46:29 -08:00
Kubernetes Prow Robot 31c8771587
Merge pull request #10702 from olemarkus/fix-cp-hop-limit
Increase IMDSv2 hop limit on control plane nodes
2021-02-01 04:17:49 -08:00
avdhoot 0717e4a50a Fix rendering issue created by #10414 2021-02-01 14:09:20 +05:30
Kubernetes Prow Robot dae40386cd
Merge pull request #10698 from hakman/weave-2.8.1
Update Weave to v2.8.1
2021-01-31 21:49:49 -08:00
Ole Markus With 4e00e29fc3 Increse imdv2 hop limit on control plane nodes
Non-hostNetworking fails to talk to the instance metadata otherwise. Breaking e.g CSI controller
2021-01-31 19:35:07 +01:00
Ciprian Hacman dc407e8a9b Update Weave to v2.8.1 2021-01-31 09:52:57 +02:00
Ole Markus With 1db7b72843 Use serving cert for metrics-server 2021-01-30 09:01:36 +01:00
Ciprian Hacman 12cb288df1 Set IMDSv2 to "required" only for new clusters 2021-01-29 14:07:52 +02:00
Kubernetes Prow Robot 3d39be7721
Merge pull request #10661 from hakman/etcd-manager-defaults
Update AWS etcd-manager volumes defaults
2021-01-28 22:01:41 -08:00
Peter Rifel 7428b95837
Remove taints from spotinst ocean terraform resource
This field isn't being set anywhere and is causing problems with the terraform HCL2 serialization.

If we do end up setting it we can redefine the struct type ourselves with the necessary field tags.
2021-01-28 10:51:09 -06:00
Kubernetes Prow Robot 3699edcf4f
Merge pull request #10665 from rudeigerc/fix-loadbalancer
Create default loadbalancer when SSL certificate is specified
2021-01-27 20:13:07 -08:00
Ciprian Hacman 5fcd4e4b28 Allow attaching same external load balancer to multiple instance groups 2021-01-27 16:25:39 +02:00
rudeigerc 0e3317b341 Create default loadbalancer when SSL certificate is specified 2021-01-27 13:24:57 +08:00
Ciprian Hacman 4c5d7ddabf Remove workaround for volume throughput when using Terraform 2021-01-27 06:33:15 +02:00
Ciprian Hacman fcea4f5b08 Set default volume encryption to "true" for etcd-manager volumes in AWS 2021-01-26 11:29:27 +02:00
Nicholas Galantowicz 0735d15b7a feat: implement azure getapiingressstatus fn 2021-01-23 15:01:18 -05:00
srikiz b04af61a4b Add SFO3 region for DO. Also update e2e tests to use the full list of supported zones 2021-01-22 21:19:30 +05:30
Ciprian Hacman 80ab8b18b3 Bump internal version for CoreDNS 2021-01-22 09:49:34 +02:00
Ciprian Hacman ebd0759033 Add startup probe for calico-kube-controllers 2021-01-22 09:44:53 +02:00
Kubernetes Prow Robot 48411de7bb
Merge pull request #10624 from hakman/aws-lt-defaults
Update AWS instances defaults
2021-01-21 03:51:01 -08:00
Kubernetes Prow Robot f3172c3e6c
Merge pull request #10604 from hakman/weave-2.8.0
Update Weave to v2.8.0
2021-01-21 02:39:01 -08:00
Ciprian Hacman 3b24a11b30 Add throughput field for gp3 volumes to additional volumes with CF 2021-01-21 11:26:45 +02:00
Kubernetes Prow Robot 7cd0b9fab9
Merge pull request #10610 from johanneswuerbach/patch-1
Increase CoreDNS default ttl
2021-01-20 09:42:04 -08:00
Otto Sulin 31c8b10453 Remove unneeded nil checks as in requested changes 2021-01-20 14:59:15 +02:00
Otto Sulin c66a079e3e Add network and router availability zone hints to OpenStack
This pull request makes it possible to add availability zone hints to routers and networks if the hints are supported.
2021-01-20 13:34:08 +02:00
Johannes Würbach 38a8c35ba0
Increase CoreDNS default ttl 2021-01-19 22:20:09 +01:00
Ole Markus With f476857add Warn if cilium encryption is enabled, but no secret has been set 2021-01-19 20:20:12 +01:00
Ciprian Hacman 31f8cbd571 Use a more generic check for etcd member prefixes 2021-01-19 09:06:02 +02:00
Ciprian Hacman 3799d135a3 Fix tests and spelling 2021-01-19 09:06:02 +02:00
Ciprian Hacman 01efb505a6 Update Weave to v2.8.0 2021-01-19 07:29:05 +02:00
Justin SB ce036d397d Require KOPS_TERRAFORM_0_12_RENAMED, to guard against tf breakage
Terraform 0.12 broke compatability and this could result in data loss
if we deleted the etcd volumes.  Document the procedure to fix the
tfstate, and require an env var to be passed to avoid accidental data
loss.
2021-01-18 18:09:22 -05:00
Barry Melbourne 337c9c4c66 Set default container runtime to containerd 2021-01-16 14:55:35 +00:00
Kubernetes Prow Robot a051af8dc0
Merge pull request #10564 from bjhaid/master
Make cluster proportional autoscaler image configurable.
2021-01-15 11:03:52 -08:00
Ciprian Hacman bb787d3075 Release 1.20.0-alpha.1 2021-01-15 15:29:55 +02:00
Ciprian Hacman 65ebf4760d Update integration test for gp3 with etcd volumes 2021-01-15 09:53:10 +02:00
Justin SB acb247fa5f Allow nodeup (and others) to replace in-use files
By creating a tempfile and then moving the file into place, we both
write more atomically and we can overwrite in-use files.

Issue #10122
2021-01-14 10:52:10 -05:00
Kubernetes Prow Robot fb0fbb5280
Merge pull request #10557 from zetaab/feature/hashname
[OpenStack] Use new hash format in instance names
2021-01-13 09:24:36 -08:00
Kubernetes Prow Robot 0412bf7566
Merge pull request #10561 from spotinst/feat-launchspec-restrictions
Spotinst: Specify whether scale-down activities should be restricted
2021-01-13 08:24:36 -08:00
liranp f5cb758d55
feat(spot/addon): bump ocean-controller to 1.0.70 2021-01-13 15:08:43 +02:00
Jesse Haka 1bc330b0bb nameprefix -> groupname 2021-01-13 11:54:07 +02:00
Kubernetes Prow Robot 09bf333433
Merge pull request #10567 from rifelpet/nlb-listener-order
Fix NLB listener -> target group association for TF & CF
2021-01-13 01:04:35 -08:00
Peter Rifel 580d73bdc7
Fix NLB listener -> target group association for TF & CF
The old code made the incorrect assumption that the NLB's list of TargetGroup tasks is in the same order as the NLB's list of listeners for their associations.
Because the model adds them in opposite orders this resulted in the TLS listener being forwarded to the TCP TG and vice versa.

This updates the terraform and cloudformation generation code to search the NLB's list of target groups by name for the target group that should be associated with the listener.
This matches the logic used in the "direct" target.
2021-01-12 23:21:55 -06:00
bjhaid f299566822 Make cluster proportional autoscaler image configurable.
Similar to how we can configure coreDNS image we will like to configure
cluster Proportional autoscaler so we can use our internal docker
registry rather than gcr.io.
2021-01-12 13:30:42 -06:00
Jesse Haka 185ccba246 Use random instance names in OpenStack 2021-01-12 14:52:39 +02:00
liranp 9fe505abed
feat(spot/ocean): new label: spotinst.io/restrict-scale-down 2021-01-12 11:35:28 +02:00
Ole Markus With f5ae5f8808 AWS CSI driver 2021-01-12 07:09:10 +01:00
Kubernetes Prow Robot 695be2666c
Merge pull request #10281 from dntosas/cluster-autoscaler-improvements
[addons/CA] Add support for specifying resources and metrics
2021-01-11 12:16:26 -08:00
dntosas 56fe4bab24
[addons/CA] Add support for specifying resources and metrics
- Resources
We enable users to set their desired capacity for cluster-autoscaler addon.
There are edge cases, especially in big clusters, where autoscaler needs
to reconcile a large number of objects thus may need increased memory or
increased cpu to avoid saturation.

- Metrics
Cluster autoscaler provides valuable insights for monitoring capacity
allocation and scheduling aspects of a cluster. In this commit, we
add proper annotation on deployment to enable Prometheus scrape metrics.

We also bump patch version of container images.

Signed-off-by: dntosas <ntosas@gmail.com>
2021-01-11 20:53:08 +02:00