From 00d84f3a8d193bed24d04433751b1822281570b0 Mon Sep 17 00:00:00 2001 From: Kaien Date: Sat, 8 Aug 2026 02:14:49 +0300 Subject: [PATCH] Pin deployment to amd64 nodes The image is built for linux/amd64, but without a nodeSelector the pod scheduled onto the ARM64 node (deg-pi) and died with 'exec format error'. Select nodes by the architecture label instead of a hostname. --- k8s-deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/k8s-deploy.yaml b/k8s-deploy.yaml index 2976773..3bc26d2 100644 --- a/k8s-deploy.yaml +++ b/k8s-deploy.yaml @@ -38,6 +38,10 @@ spec: spec: imagePullSecrets: - name: registry-secret + # Our image is built for linux/amd64 only; pin to x86 nodes so the pod + # never lands on ARM nodes (e.g. deg-pi) with an exec format error. + nodeSelector: + kubernetes.io/arch: amd64 containers: - name: woodpecker-mcp # Immutable per-commit tag (rendered by envsubst in CI from CI_COMMIT_SHA).