From 8113ebda75ef05bd1e9333197becccf09997f8eb Mon Sep 17 00:00:00 2001 From: jenkins Date: Thu, 3 Dec 2026 12:16:50 -0600 Subject: [PATCH] bstein: prefer the observer worker with cached images The previous rollout stalled resolving Docker Hub on titan-19. Static nginx uses 1 MiB. Reserve 8 MiB for it so the existing worker can accommodate the rolling overlap, preserving the existing container limits and worker eligibility. --- services/bstein-dev-home/av-observer/deployment.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/services/bstein-dev-home/av-observer/deployment.yaml b/services/bstein-dev-home/av-observer/deployment.yaml index 8ee3a2b1..9b99ba9a 100644 --- a/services/bstein-dev-home/av-observer/deployment.yaml +++ b/services/bstein-dev-home/av-observer/deployment.yaml @@ -13,6 +13,15 @@ spec: labels: {app: lesavka-av-observer} spec: automountServiceAccountToken: false + # This worker already holds both pinned ARM64 images. Keep other workers + # eligible when it has insufficient capacity. + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + preference: + matchExpressions: + - {key: kubernetes.io/hostname, operator: In, values: [titan-07]} nodeSelector: kubernetes.io/arch: arm64 node-role.kubernetes.io/worker: "true" @@ -33,7 +42,8 @@ spec: readOnlyRootFilesystem: true capabilities: {drop: [ALL]} resources: - requests: {cpu: 10m, memory: 16Mi} + # Static nginx used 1 MiB during the previous rollout. + requests: {cpu: 10m, memory: 8Mi} limits: {cpu: 100m, memory: 64Mi} readinessProbe: httpGet: {path: /av-test/, port: http}