kubernetes/hack/lib
Patrick Ohly a2b0ea30b0 DRA upgrade/downgrade: run etcd directly
The local-up-cluster.sh script was used as proxy for controlling the etcd
lifecycle because the script was using a helper function that didn't support
dry-run mode. That approach was flawed in several ways, causing etcd to be left
running:

- Cmd.Stop wasn't actually called for the script by Cluster.Stop.
- If it had been called, the additional output during shutdown wouldn't
  have been processed, which might have caused the command to block instead
  of terminating (untested).
- It's unclear whether the script would have handled the signal properly.

A cleaner approach is to enable dry-run mode also in etcd .sh and then let
Cluster manage it like any other long-running process. Then we can let
local-up-cluster.sh terminate when it's done with its work. Cluster.Start can
check it's result immediately.
2026-05-04 09:24:47 +02:00
..
.gitattributes Capture git export-subst strings in version.sh for 'git archive' use. 2017-11-09 16:36:27 -08:00
etcd.sh DRA upgrade/downgrade: run etcd directly 2026-05-04 09:24:47 +02:00
golang.sh Merge pull request #137080 from cpanato/update-go-1.26 2026-03-05 21:56:21 +05:30
init.sh Create Workload API v1alpha2 (#136976) 2026-03-10 07:59:10 +05:30
logging.sh hack: more output about running tests 2025-08-18 14:33:57 +02:00
protoc.sh Update protobindings scripts to drop gogo paths 2025-09-01 09:35:20 +02:00
test.sh Remove long/golang version information making short the default 2023-07-07 18:46:34 +02:00
util.sh hack/lib/util.sh: support uutils' date command 2025-11-18 17:27:50 +09:00
verify-generated.sh cleanup tempdirs on exit in kube::verify::generated 2025-08-26 18:10:33 -07:00
version.sh hack/lib/util.sh: support uutils' date command 2025-11-18 17:27:50 +09:00