placement(wger): use preemptible titan-22 capacity
This commit is contained in:
parent
e22e4793bb
commit
0ebab9d412
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user