Commit Graph

37 Commits

Author SHA1 Message Date
Ciprian Hacman 9547347a04 etcd-manager: Keep the ImageVolume feature gate for K8s 1.35 2025-08-11 19:07:06 +03:00
Ciprian Hacman 3f99d04ca5 etcd-manager: Use image volumes to mount etcd images 2025-08-10 16:17:05 +03:00
Ciprian Hacman 384b65d7a0 Use official etcd images from registry.k8s.io 2025-08-02 00:43:56 +03:00
Ciprian Hacman c55b23e5cd Update etcd to v3.5.21 2025-04-25 13:55:44 +03:00
Ciprian Hacman f8fa17329c Update etcd to v3.5.17 2025-01-02 11:46:21 +02:00
justinsb 29d6fd897e refactor: OptionsBuilder works on kops.Cluster
Previously it worked on ClusterSpec, but that means we can't read the
labels or annotations.  We want to use those labels/annotations to
experiment with new cloud providers (e.g. bare metal) before adding
this to the API.

Introduce generics so we also get type-safety.
2024-08-25 12:58:34 -04:00
Ciprian Hacman a72ca2f22b Update etcd to v3.5.13 2024-05-06 12:25:19 +03:00
John Gardiner Myers 57b0d8e9cd v1alpha3: Move configBase to configStore.base 2023-07-22 15:57:35 -07:00
justinsb c19788e83c etcd: only support 3.4 and 3.5
We also fill in all the symlinks for these versions.
2023-07-10 11:19:04 -04:00
justinsb d6350a5a6e etcd-manager: support symlinking versions
This is an easy way for us to signal that certain versions are
compatible with each to etcd-manager, which is otherwise
overly-cautious when it comes to unknown versions.

We extend kops-utils to support the `-t` flag (like cp) to write to a
directory; and the `-s` flag (like cp) to use symlinks.  The syntax
isn't identical to cp, but should be semi-familiar and allows us to
minimize the number of initContainers we use.
2023-07-10 11:11:59 -04:00
Ciprian Hacman be69b25221 Revert "Remove obsolete etcd versions"
This reverts commit 76cacc5c6f.
2023-06-30 21:20:30 +03:00
Ciprian Hacman 825e60b3ff etcd-manager: Add back etcd v3.5.7 binaries 2023-06-05 16:46:31 +03:00
Ciprian Hacman 2f07263d3d Update etcd to v3.5.9 2023-05-26 07:33:12 +03:00
Ciprian Hacman 76cacc5c6f Remove obsolete etcd versions 2023-05-17 13:00:02 +03:00
Ciprian Hacman 1d8114dd8c Update etcd to v3.5.7 2023-01-28 16:28:07 +02:00
Ciprian Hacman 40bf0b9f52 Load etcd binaries dynamically from container images 2023-01-21 09:24:33 +02:00
Ciprian Hacman b111ea52e3 Update etcd to v3.5.6 2022-12-06 18:59:51 +02:00
Ciprian Hacman 5b4daf85d0 Update etcd to v3.5.4 2022-05-02 10:32:13 +03:00
justinsb 3027943dd2 Use etcd 3.5.3 instead of 3.5.1
3.5.3 includes the fixes for the potential etcd 3.5.x corruption
issues.
2022-04-17 17:04:46 -04:00
Ciprian Hacman 0643271a97 Revert "Enable etcd corruption check as mitigatio of 3.5 corruption issue"
This reverts commit 6d75f8f9f0.
2022-04-17 18:34:49 +03:00
Ole Markus With 6d75f8f9f0 Enable etcd corruption check as mitigatio of 3.5 corruption issue 2022-04-03 14:11:15 +02:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
Ciprian Hacman 5f8af27efa Add support for etcd v3.5.1 2021-11-25 11:32:18 +02:00
John Gardiner Myers be8933b577 Remove code for unsupported features 2021-08-28 13:49:55 -07:00
Ciprian Hacman 1e41439e36 Use etcd v3.5.0 for Kubernetes 1.22+ 2021-07-08 22:09:22 +03:00
Ciprian Hacman 689b76d0ff Mark control-plane node for update when etcd manager config changes 2021-05-02 08:50:42 +03:00
Ciprian Hacman 4853bf982a Use etcd v3.4.13 for k8s v1.19+ 2020-11-20 14:25:22 +02:00
John Gardiner Myers 2ac17bee69 Remove code for no-longer-supported k8s releases 2020-10-29 16:45:53 -07:00
Peter Rifel 7d9f0a06cf
Update API slice fields to not use pointers
This is causing problems with the Kubernetes 1.19 code-generator.
A nil entry in these slices wouldn't be valid anyways, so this should have no impact.
2020-08-24 07:46:38 -05:00
Peter Rifel 4d9f0128a3
Upgrade to klog2
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
John Gardiner Myers e88e0cf7ec Remove code supporting dropped k8s versions 2020-06-04 12:11:51 -07:00
Justin SB 35a42c37e4 Add etcd 3.3.17 to supported etcd version list 2020-04-30 01:35:50 +00: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
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB 72b4563729
Warn/prevent if the version of etcd is unsupported with etcd-manager
Should prevent the scenario where etcd-manager can't come up because of a different version.

Can be bypassed with the SkipEtcdVersionCheck feature flag.
2019-07-29 18:28:15 -04:00
Justin Santa Barbara 54c499fe9b Introduce field to specify whether we are using etcd-manager or legacy mode
Splitting this out from the bigger bundle PR
2018-10-01 15:36:24 -07:00
Justin Santa Barbara ba87c36f73 Support (optional) etcd-manager 2018-05-25 16:01:22 -04:00