fix(suc/talos): k8s wait all nodes

while test coverage isn't as good, `talosctl health` has repeatedly been annoying to make happy, the latest being 'waiting for all nodes disk sizes: error getting nodes mounts: 3 errors occurred: context deadline exceeded'
This commit is contained in:
JJGadgets
2024-02-08 09:44:22 +08:00
parent 5b33b3ff9d
commit 01ea4e8a27

View File

@@ -22,16 +22,11 @@ spec:
kubernetes.io/os: "linux"
prepare: &prepare
image: "registry.k8s.io/kubectl:v1.29.1@sha256:59b3035b8826b0a1d5d950588ecc3f33cbc3bb9b5a70735245691a211821a22f"
envs:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: status.nodeName
args:
- "wait"
- "--for=condition=Ready"
- "--timeout=1h"
- "node/$(NODE_NAME)"
- "--timeout=3600s"
- "--all"
#image: "ghcr.io/siderolabs/talosctl:${TALOS_VERSION}"
#envs:
# - name: NODE_IP