From 01ea4e8a27a817c03fc84f7c403afa7df82bec31 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Thu, 8 Feb 2024 09:44:22 +0800 Subject: [PATCH] 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' --- .../system-upgrade-controller/plans/talos/app/talos.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/kube/deploy/core/system-upgrade-controller/plans/talos/app/talos.yaml b/kube/deploy/core/system-upgrade-controller/plans/talos/app/talos.yaml index 76f07016..f1a7284d 100644 --- a/kube/deploy/core/system-upgrade-controller/plans/talos/app/talos.yaml +++ b/kube/deploy/core/system-upgrade-controller/plans/talos/app/talos.yaml @@ -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