separate these two

This commit is contained in:
Joseph Hanson 2024-12-11 07:51:32 -06:00
parent 5db2a450ae
commit 1a0b36e511
2 changed files with 22 additions and 0 deletions

View file

@ -84,6 +84,17 @@ spec:
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [10000]
seccompProfile: { type: RuntimeDefault }
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values: ["qbittorrent"]
topologyKey: kubernetes.io/hostname
service:
app:
controller: sabnzbd

View file

@ -76,6 +76,17 @@ spec:
supplementalGroups: [10000]
seccompProfile: { type: RuntimeDefault }
terminationGracePeriodSeconds: 300
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values: ["sabnzbd"]
topologyKey: kubernetes.io/hostname
service:
app:
controller: *app