Pin deployment to amd64 nodes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

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.
This commit is contained in:
Kaien 2026-08-08 02:14:49 +03:00
parent 66f3478c08
commit 00d84f3a8d

View File

@ -38,6 +38,10 @@ spec:
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: registry-secret - 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: containers:
- name: woodpecker-mcp - name: woodpecker-mcp
# Immutable per-commit tag (rendered by envsubst in CI from CI_COMMIT_SHA). # Immutable per-commit tag (rendered by envsubst in CI from CI_COMMIT_SHA).