kubernetes/test/utils
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
..
apiserver svm: set UID and RV on SSA patch to cause conflict on logical create 2024-07-18 17:19:11 -04:00
client-go/ktesting ktesting: address linter hints 2026-04-24 21:54:19 +02:00
crd chore: depr. pointer pkg replacement for test/e2e and utils 2025-07-06 22:18:03 +02:00
fakedns integration test: webhook proxy behavior 2025-10-02 22:31:08 +00:00
format ktesting: move format package 2026-04-24 21:54:19 +02:00
harness Generate and format files 2022-07-26 13:14:05 -04:00
hermeticpodcertificatesigner Merge pull request #136729 from ahmedtd/podcert-pkcs10 2026-02-12 04:43:59 +05:30
image etcd: update etcd image to v3.6.10 2026-04-15 16:18:52 +05:30
junit hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
ktesting ktesting: move format package 2026-04-24 21:54:19 +02:00
kubeconfig svm: set UID and RV on SSA patch to cause conflict on logical create 2024-07-18 17:19:11 -04:00
localupcluster DRA upgrade/downgrade: run etcd directly 2026-05-04 09:24:47 +02:00
oidc Support tls server name overrides in EgressSelectorConfiguration (#136640) 2026-03-11 23:53:35 +05:30
admission_webhook.go Generate and format files 2022-07-26 13:14:05 -04:00
audit.go KEP-5284: add impersonation latency tracking 2026-03-09 19:58:31 -04:00
conditions.go Cleanup unused test functions - cont-ed 2024-07-17 16:22:11 +02:00
create_resources.go Cleanup unused test functions - cont-ed 2024-07-17 16:22:11 +02:00
delete_resources.go Cleanup unused test functions - cont-ed 2024-07-17 16:22:11 +02:00
density_utils.go Use Go 1.22 for-range in test/utils and test/integrations 2026-02-05 16:13:58 +01:00
deployment.go Move dump package from apimachinery to k8s.io/utils 2026-02-12 07:34:19 -05:00
node.go e2e tests 2024-11-08 03:00:54 +00:00
paths.go Setup e2e_node to support testing on ARM64 2023-05-20 00:07:44 +00:00
pki_helpers.go update serial number to a valid non-zero number in ca certificate (#117791) 2023-05-09 06:34:08 -07:00
pod_store.go generated: run refactor 2020-02-07 18:16:47 -08:00
replicaset.go Cleanup unused test functions - cont-ed 2024-07-17 16:22:11 +02:00
runners.go Use Go 1.22 for-range in test/utils and test/integrations 2026-02-05 16:13:58 +01:00
tmpdir.go io/ioutil has already been deprecated in golang 1.16, so replace all ioutil with io and os 2022-02-03 05:32:12 +08:00
update_resources.go Reflect expected replica count to the output of kubectl scale 2026-02-11 17:44:36 +03:00