Commit Graph

6032 Commits

Author SHA1 Message Date
ederst 65dd16a301 OpenStack: Use task engine to retry failed servers
This will make use of the kOps taks engine to retry failed servers.

The former approach had the side effect of not making kOps fail when the
last retry failed:

Because there is now a server present - although in an erroneous state -
the "instance task" which the task engine retried reconciled the server
(port, floating ip) instead of recreating it again.

With the approach of letting the task engine retry the failed servers
this will be handled correctly.
2023-05-22 13:43:42 +02:00
Kubernetes Prow Robot 4cbcbf251b
Merge pull request #15281 from justinsb/gce_ipv6_subnets
gce: Add IPv6 support to subnet/instances
2023-03-31 13:43:49 -07:00
Justin SB 98c1109cc6 gce: Add IPv6 support to subnet/instances
We need to specify StackType & IPv6AccessType
2023-03-31 09:33:47 -04:00
Justin SB f20e08cab9 GCE FirewallRule: Use an explicit field for ipv4 vs ipv6
We were previously relying on the name, but the name was "fooled" by
cluster names like ipv6.example.com
2023-03-31 09:33:29 -04:00
justinsb 9964bb8d01 Log detailed reasons when we can't match an instance type 2023-03-29 10:55:43 -04:00
Leïla MARABESE b4d230f8c2 scaleway integration test 2023-03-28 16:58:54 +02:00
Kubernetes Prow Robot b202130d8f
Merge pull request #15221 from infonova/os-set-allowed-addresses
OpenStack: Allow setting allowed address pairs for ports
2023-03-26 23:35:56 -07:00
Kubernetes Prow Robot 5bedb1c672
Merge pull request #15265 from justinsb/cilium_as_component
Allow Cilium manifest to be replaced (for testing)
2023-03-26 22:39:54 -07:00
justinsb 8cda714fb8 Allow Cilium manifest to be replaced (for testing)
We allow the Cilium manifest to be specified as an addon, to enable
better testing of new Cilium versions.
2023-03-27 07:53:13 +03:00
chenliu1993 d36b3e2de6
Update kube-router to v1.5.3
Signed-off-by: chenliu1993 <cl2037829916@gmail.com>
2023-03-26 08:46:06 +00:00
ederst 1e9fc8e6d5 OpenStack: Add OCCM address sort order config
This will add the OCCM config to specify an address sort order:
* https://github.com/kubernetes/cloud-provider-openstack/pull/1946
2023-03-24 11:34:22 +01:00
yehiel etah dc54a96abb spot: support latest controller version
Update go.mod

 revert go.mod

Update upup/models/cloudup/resources/addons/spotinst-kubernetes-cluster-controller.addons.k8s.io/v1.14.0.yaml.template

Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2023-03-23 16:33:39 +02:00
ederst 37c2cf56d2 OpenStack: Allow setting allowed address pairs for ports 2023-03-23 15:01:10 +01:00
Kubernetes Prow Robot bccbdaccc6
Merge pull request #15102 from infonova/retry-failed-openstack-servers
Retry creating failed OpenStack servers
2023-03-20 07:41:18 -07:00
Kubernetes Prow Robot 69519a9e17
Merge pull request #15248 from moshevayner/aws-cni-1.12.5
Bump AWS CNI to 1.25.5
2023-03-19 03:25:15 -07:00
Jesse Haka 69460da4c1 switch to use registry.k8s.io images for openstack 2023-03-18 16:14:04 +02:00
Moshe Shitrit 9477463655 hack/update-expected 2023-03-18 15:55:55 +02:00
Moshe Shitrit f34e9482a7 bump aws cni to 1.12.5 and align with vendor chart 2023-03-18 15:53:18 +02:00
Ciprian Hacman 88fd444987 gcp: Update terraform rendering for Target Pool 2023-03-16 08:55:15 +02:00
Ciprian Hacman 1db17ab949 gcp: Update terraform rendering for HTTP Health Check 2023-03-16 08:10:25 +02:00
Ciprian Hacman 8f2236e3ea gcp: Add terraform rendering to Pool Health Check 2023-03-16 07:49:47 +02:00
Peter Rifel cb6908802d
Add terraform rendering to GCP HTTP Health Check 2023-03-15 18:45:39 -05:00
Justin SB ca47771cff Set the nonMasqueradeCIDR for GCE networking
We do need a non-masquerade CIDR, and we can use the range we draw the
pod CIDRs from (10.0.0.0/8).
2023-03-02 07:45:11 -05:00
Anthony Hausman cc47bd278c
feat(nodelocaldns): Add possibility to set an ExternalCoreFile
Allow users to provide entirely custom CoreFile for NodeLocalDNS to provide improved flexibility.
2023-02-28 08:19:20 +01:00
Kubernetes Prow Robot b5dc9f6371
Merge pull request #15122 from Mia-Cross/scw_profiles
scaleway: get credentials from Scaleway profile
2023-02-24 07:43:34 -08:00
Kubernetes Prow Robot e8f704a855
Merge pull request #15036 from johngmyers/addlcidr-subnet
Improve support for AdditionalNetworkCIDRs
2023-02-24 06:33:34 -08:00
ederst 9f828259ba Remove unused wait for status active func 2023-02-24 01:28:39 +01:00
ederst 8434481557 Retry creating failed OpenStack servers
This aims to improve the experience when creating openstack servers and
they run into issues during scheduling, which is not covered by the
create API request.

So after creating the instance kops waits for it to become ACTIVE and if
not, tries to reprovision the instance by deleting the failed instance
and creating a new one.

If the last attempt was still not successful, erroneous instances will
persist to allow further investigation, and the task will fail, which
will ultimately fail the update call.
2023-02-24 01:26:06 +01:00
Jesse Haka bcc700909e update openstack csi & ccm versions 2023-02-20 18:02:06 +02:00
Kubernetes Prow Robot 511f32a20c
Merge pull request #15138 from zetaab/exitgracefully
exit nodeup gracefully if server already exists in k8s
2023-02-20 03:49:49 -08:00
Ciprian Hacman 8d6a809d10 Update containerd to v1.6.18 2023-02-18 04:38:08 +02:00
Rafael da Fonseca e9fce322ad fix goimports 2023-02-14 15:10:38 +00:00
Rafael da Fonseca bc37c7408c Add terraform target support for configuring Warm Pool 2023-02-14 14:27:46 +00:00
Kubernetes Prow Robot ca3b53c00a
Merge pull request #15095 from infonova/use-clustername-in-cinder-csi-plugin
Pass actual cluster name to cinder-csi-plugin
2023-02-13 09:33:29 -08:00
ederst cd50ee00ac Pass actual cluster name to cinder-csi-plugin
This passes the acutal cluster name to the cinder-csi-plugin, so that
the plugin will add the name as metadata to the backing volume in
OpenStack.

Effectively, the change will help to better identify which volume in
OpenStack belongs to which cluster, which is especially helpful when
running multiple clusters in one OpenStack tenant/project.

Setting the cluster name in both - the controller and the nodeserver -
will ensure that dynamic and ephemeral volumes will receive the correct
metadata.
2023-02-13 17:31:32 +01:00
Kubernetes Prow Robot 9ec9d42910
Merge pull request #15131 from hakman/containerd-v1.6.17
Update containerd to v1.6.17
2023-02-13 02:27:29 -08:00
Kubernetes Prow Robot 2a3bf8dd8a
Merge pull request #15127 from justinsb/do_ssh
DigitalOcean: Support SSH key provisioning
2023-02-12 09:45:30 -08:00
justinsb 150a98e258 DigitalOcean: Support SSH key provisioning
This means we don't need to pre-upload our SSH keys.
2023-02-12 10:34:40 -05:00
Jesse Haka 43dd96ead0 add clustername to ccm opts 2023-02-12 17:22:13 +02:00
Jesse Haka 8e6199fa39 exit gracefully if server already exists in k8s 2023-02-12 16:52:13 +02:00
Ciprian Hacman 4f61895bd5 Use registry.k8s.io for managed addons 2023-02-12 13:45:32 +02:00
Ciprian Hacman 0d39e0920e Update containerd to v1.6.17 2023-02-12 12:27:24 +02:00
Kubernetes Prow Robot fce388e3a2
Merge pull request #15124 from justinsb/integration_hetzner
hetzner: support toolbox dump of instances
2023-02-11 11:07:29 -08:00
Justin SB 0b699832ec Use cloud-discovery on GCE in gossip mode
It's a little simpler and should speed up our boot.
2023-02-11 11:03:12 -05:00
justinsb 312ee7fefc hetzner: support toolbox dump of instances
Makes for easier debugging.
2023-02-11 10:55:54 -05:00
Kubernetes Prow Robot 165e4c6935
Merge pull request #15109 from moshevayner/aws-cni-1-12-2
Bump AWS CNI to 1.12.2
2023-02-10 15:15:29 -08:00
Leïla MARABESE 9f950f4a3a scaleway profiles feature 2023-02-10 17:02:45 +01:00
Justin SB 8f7ef492bf gce: Always apply the metadata-proxy-ready node label
This restores the behaviour before #14127, which wasn't documented /
intended.
2023-02-05 13:40:02 -05:00
Moshe Shitrit 8081c28823 hack/update-expected 2023-02-04 08:07:15 -05:00
Moshe Shitrit b902a427f2 bump aws cni to v1.12.2 2023-02-04 08:04:29 -05:00