diff --git a/services/health/wger-deployment.yaml b/services/health/wger-deployment.yaml index de985429..f9134402 100644 --- a/services/health/wger-deployment.yaml +++ b/services/health/wger-deployment.yaml @@ -55,14 +55,17 @@ spec: {{ .Data.data.SIGNING_KEY }} {{- end -}} spec: + # Wger can use titan-22's spare amd64 capacity, but Jellyfin keeps the + # higher media-core priority and can preempt it during media demand. + priorityClassName: scavenger affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/hostname - operator: NotIn - values: ["titan-13", "titan-15", "titan-17", "titan-19"] + operator: In + values: ["titan-22"] preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 preference: @@ -80,8 +83,13 @@ spec: fsGroup: 1000 fsGroupChangePolicy: OnRootMismatch nodeSelector: - kubernetes.io/arch: arm64 + kubernetes.io/arch: amd64 node-role.kubernetes.io/worker: "true" + tolerations: + - key: atlas.bstein.dev/media-primary + operator: Equal + value: "true" + effect: PreferNoSchedule serviceAccountName: health-vault-sync initContainers: - name: init-storage