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
015c80f950
Update etcd-manager to v3.0.20230630
2023-07-01 09:48:40 +03:00
Ciprian Hacman
e8980bc21a
Add option for specifying the list of etcd metrics urls
2023-06-27 19:50:05 +03:00
John Gardiner Myers
cad5b69446
Release 1.28.0-alpha.1 ( #15548 )
2023-06-24 20:45:09 -07:00
justinsb
476f1661f7
etcd-manager: set environment variables once
...
Previously we were setting the env variable up to 3 times in an HA
control-plane, because we were adding to the etcd-manager
configuration once for each replica.
2023-06-22 17:14:51 +03:00
Ciprian Hacman
1d0fbfc4f1
Fix promotion of `kops-utils-cp`
2023-06-19 16:40:40 +03:00
Alasdair Tran
63cbe32293
Remap all init container images of etcd-manager
2023-06-19 00:09:32 +00:00
Ciprian Hacman
bec7226ad1
Rename `kops-copy` to `kops-utils-cp`
2023-06-16 22:24:51 +03:00
Ciprian Hacman
071d272ad3
Use `opt` instead for volume name
2023-05-31 12:54:57 +03:00
Ciprian Hacman
f51e347f99
Build and use cp replacement
2023-05-27 05:18:53 +03:00
Jesse Haka
6ac7903449
update etcd-manager to v3.0.20230516
2023-05-16 16:26:11 +03:00
justinsb
6bdbbc4fd4
nodeup: Use functional options pattern for HostPathMapping
...
This means that the object is not mutated after construction, making
it easier to do validity checks (such as whether we have mounted the
same path twice).
2023-05-11 10:16:30 -04:00
ederst
3ccb8746cf
OpenStack: Add network-cidr config for etcd-manager
2023-03-27 11:14:25 +02:00
Ciprian Hacman
bdd7ff49da
Update etcd-manager to v3.0.20230201
2023-02-01 09:35:32 +02:00
Ciprian Hacman
b1ef66f136
etcd-manager: Add option to set backup retention
2023-01-23 09:43:09 +02:00
Ciprian Hacman
61acbe72fa
Update etcd-manager to v3.0.20230119
2023-01-21 09:24:33 +02:00
Ciprian Hacman
40bf0b9f52
Load etcd binaries dynamically from container images
2023-01-21 09:24:33 +02:00
Leïla MARABESE
e52af91e34
scaleway: refactoring: instance and tags
2023-01-18 15:50:37 +01:00
Ciprian Hacman
0f7bd5dc5e
Infer the dns suffix from the cluster name for etcd-manager
2023-01-12 12:45:33 +02:00
justinsb
b7d9319fff
EnsureTask should panic on error
...
This means that we automatically check the error code. A linter could
detect errors here (maybe), but in practice we can't recover from
errors here anyway.
2023-01-04 08:29:20 -05:00
Ciprian Hacman
b3a07ee83e
Use short service name with discovery labels
2022-12-26 13:21:43 +02:00
John Gardiner Myers
7c3e32369a
Refactor Context into separate cloudup and nodeup types
2022-12-17 17:42:46 -08:00
Ciprian Hacman
53060426db
Update etcd-manager to v3.0.20221209
2022-12-09 07:52:27 +02:00
Ciprian Hacman
73127ad23d
Update etcd-manager to latest staging
2022-12-06 19:00:07 +02:00
Leïla MARABESE
af2018261a
using instance group tag as volumeNameTag in etcd
2022-12-05 14:40:31 +01:00
Leïla MARABESE
af19c467e8
added scaleway to all switches for cluster creation
2022-12-05 14:38:08 +01:00
John Gardiner Myers
d39ba74bd7
Change the control-plane IG role to "ControlPlane" in v1alpha3 API
2022-11-22 17:05:29 -08:00
Ciprian Hacman
d29812fc6e
Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf
2022-11-19 03:45:23 +02:00
Ciprian Hacman
8f79c9bd68
Replace fi.Bool/Float*/Int*/String() with fi.PtrTo()
2022-11-19 03:45:22 +02:00
John Gardiner Myers
8473e8b2e7
Stop making MasterInternalName configurable
2022-11-16 22:06:02 -08:00
Ciprian Hacman
dc98c74428
Move Gossip check to cluster struct
2022-10-21 09:48:07 +03:00
Ciprian Hacman
85026145a1
Always infer gossip DNS from cluster name
2022-10-02 12:54:37 +03:00
Ole Markus With
33fa4de890
Bump verbosity level for some log statements
2022-09-11 16:15:28 +02:00
Ciprian Hacman
6dbe334494
Update etcd-manager to v3.0.20220831
2022-08-31 09:16:15 +03:00
Ciprian Hacman
13f768f50b
Run etcd-manager with instance group name as volume name tag for Hetzner
2022-08-25 12:43:14 +03:00
Ciprian Hacman
a32cf690bb
Create etcd-manager config for each instance group
2022-08-10 11:04:36 +03:00
Ciprian Hacman
98ebfac085
Update etcd-manager to v3.0.20220727
2022-07-27 21:52:35 +03:00
Ciprian Hacman
1270963832
Update etcd-manager to v3.0.20220717
2022-07-18 06:34:40 +03:00
Ciprian Hacman
19ca0861a1
Add option to set etcd-manager backup interval
2022-07-14 09:58:19 +03:00
Ciprian Hacman
e0a92f22f4
Update etcd-manager to v3.0.20220617
2022-06-18 08:59:55 +03:00
Ciprian Hacman
b5f14b589b
Add initial support for Hetzner Cloud
2022-05-09 06:12:15 +03:00
Ciprian Hacman
70718dde32
Update etcd-manager to v3.0.20220503
2022-05-03 20:04:10 +03:00
Ciprian Hacman
80493ed902
Update to etcd-manager 3.0.v3.0.20220417-19-g1140ce25
2022-05-02 10:31:05 +03:00
justinsb
74397b2a4f
Update to etcd-manager 3.0.20220417
...
In particular we want to pick up changes addressing the potential
corruption found in 3.5.0 - 3.5.2:
* Use etcd 3.5.3
* Pass the ETCD_EXPERIMENTAL_INITIAL_CORRUPT_CHECK for all 3.5 series
2022-04-17 10:29:01 -04:00
Ciprian Hacman
a4ed2b0654
Migrate to registry.k8s.io
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 08:47:12 +02:00
John Gardiner Myers
70f7d9bdb2
Use function to get cloud provider from cluster spec
2022-03-02 21:59:47 -08:00
justinsb
97b7b90226
Update to etcd-manager v3.0.20220203
...
Relevant changes:
* Only emit GOMAXPROCS if non-zero [justinsb](https://github.com/justinsb ) [284](https://github.com/kubernetes-sigs/etcdadm/pull/284 )
* Set ETCD_STRICT_RECONFIG_CHECK [justinsb](https://github.com/justinsb ) [286](https://github.com/kubernetes-sigs/etcdadm/pull/286 )
* environment: ignore empty lines when converting to map [justinsb](https://github.com/justinsb ) [285](https://github.com/kubernetes-sigs/etcdadm/pull/285 )
* Fix ipv6 detection [olemarkus](https://github.com/olemarkus ) [291](https://github.com/kubernetes-sigs/etcdadm/pull/291 )
* Test for nil in to not found check [olemarkus](https://github.com/olemarkus ) [292](https://github.com/kubernetes-sigs/etcdadm/pull/292 )
2022-02-03 11:21:09 -05:00
Ole Markus With
6327cc378f
Fix etcd-manager for ipv6
2022-02-03 12:59:26 +01:00
Ole Markus With
af4d69cab3
Use etcd-manager pre-release until final release has been cut
2022-02-02 13:10:32 +01:00
Ole Markus With
994588c0fd
Bump etcd-manager to v3.0.20220128
2022-01-30 07:13:32 +01:00