maintenance: run image sweeper on all nodes

This commit is contained in:
Brad Stein 2026-01-10 23:57:26 -03:00
parent b7e5a04265
commit 1517dec30b
2 changed files with 16 additions and 4 deletions

View File

@ -16,8 +16,14 @@ spec:
serviceAccountName: node-image-sweeper
restartPolicy: OnFailure
nodeSelector:
kubernetes.io/arch: arm64
node-role.kubernetes.io/worker: "true"
kubernetes.io/os: linux
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
containers:
- name: image-sweeper
image: python:3.12.9-alpine3.20

View File

@ -16,9 +16,15 @@ spec:
app: node-image-sweeper
spec:
serviceAccountName: node-image-sweeper
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
nodeSelector:
kubernetes.io/arch: arm64
node-role.kubernetes.io/worker: "true"
kubernetes.io/os: linux
containers:
- name: node-image-sweeper
image: python:3.12.9-alpine3.20