Commit Graph

173 Commits

Author SHA1 Message Date
Ciprian Hacman 126dafe079 Update etcd-manager to v3.0.20250803 2025-08-03 19:13:48 +03:00
Peter Rifel c2ad571ecb
remove unnecessary error from function signature 2025-07-15 22:00:29 -05:00
Ciprian Hacman 3d9086163f
Release 1.33.0-beta.1 (#17475) 2025-07-05 04:29:25 -07:00
Ciprian Hacman 1016fd7fe3 Update etcd-manager to v3.0.20250704 2025-07-04 09:03:35 +03:00
Ciprian Hacman 18126697e7 Mount ca-bundle on RHEL and AL2023 2025-06-29 17:09:51 +03:00
Ciprian Hacman 977527f06f Update etcd-manager to v3.0.20250629 2025-06-29 14:06:06 +03:00
Justin Santa Barbara a6c7599557
Release 1.33.0-alpha.1 (#17389) 2025-05-04 18:00:59 +03:00
Justin Santa Barbara 0789af746b
Release 1.32.0-beta.1 (#17241) 2025-01-30 06:25:58 +02:00
justinsb 4ec6c5b73b Release 1.31.0-beta.1 2024-12-14 14:15:16 -05:00
Peter Rifel 5833a83c51
Release 1.31.0-alpha.1 2024-10-13 20:03:59 -05:00
Ciprian Hacman 049ed0c56b Update etcd-manager to v3.0.20241012 2024-10-13 22:15:15 +03:00
justinsb 28bd115577 metal: assume etcd discovery is external
localhost won't work for multiple nodes and turns out not to even work for one node.

Assume that there is a discovery mechanism that sets up /etc/hosts (it might be static configuration).

Add to metal test to get to kube-apiserver responding.
2024-09-11 23:38:23 -04:00
justinsb ab0f6847d4 bare-metal: configure etcd with static configuration
Likely restricted to a single node for now (because of the need for well-known IP addresses)
2024-09-03 14:09:09 -04:00
justinsb 7f58570a04 metal: stub out functions to enable cluster creation
Start adding the minimal implementation such that we can `kops create cluster`
2024-08-29 22:39:48 -04:00
justinsb 3646a610b1 refactor: Move GetCloudProvider to cluster
This lets us use labels (or annotations), meaning we can experiment
with different clouds without changing the API.

We also add initial (experimental/undocumented) support for exposing a "Metal" provider.
2024-08-26 08:20:37 -04:00
Peter Rifel 6f628ad5b2
Use new staging etcd-manager image for testing 2024-08-03 06:07:18 -05:00
Justin Santa Barbara b9c632d3eb
Release 1.30.0-beta.1 (#16629) 2024-06-22 13:38:55 -07:00
Ciprian Hacman 86f5d455e5
Release 1.30.0-alpha.1 (#16563)
* Release 1.30.0-alpha.1

* Update tests for K8s v1.30

* Remove mentions of K8s v1.24
2024-05-11 23:40:27 -07:00
Justin Santa Barbara f0537f4301
Release 1.29.0-beta.1 (#16406) 2024-03-14 17:58:17 -07:00
Justin Santa Barbara 0300a3b858
Release 1.29.0-alpha.3 (#16183) 2023-12-21 14:24:27 +01:00
Ciprian Hacman 8916d1e547
Release 1.29.0-alpha.2 (#16095) 2023-11-11 13:29:12 +01:00
Ciprian Hacman b5aedcf73b Update etcd-manager to v3.0.20230925 2023-09-25 18:17:44 +02:00
John Gardiner Myers 9ae4e967d1
Release 1.29.0-alpha.1 (#15889) 2023-09-07 22:00:13 -07:00
Ciprian Hacman 9caf0b2662
Release 1.29.0-alpha.0 (#15858) 2023-09-02 23:19:12 -07:00
Ciprian Hacman db8b0f32f9
Release 1.28.0-beta.1 (#15855) 2023-09-02 21:29:12 -07:00
John Gardiner Myers edac43faed
Release 1.28.0-alpha.2 (#15758) 2023-08-09 21:13:26 -07:00
justinsb 3cce79d4e4 gce: Refactor resource labeling
Create a more strongly-typed label object and use it when labeling
cluster resources.
2023-07-28 23:48:41 -04:00
Kubernetes Prow Robot b7f017b016
Merge pull request #15565 from justinsb/symlink_approach_2
etcd-manager: support symlinking versions
2023-07-20 23:40:07 -07:00
John Gardiner Myers 977aacc356 Remove dead code for non-kops-controller bootstrap 2023-07-16 07:40:25 -07: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 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