separate these two
This commit is contained in:
parent
5db2a450ae
commit
1a0b36e511
2 changed files with 22 additions and 0 deletions
|
@ -84,6 +84,17 @@ spec:
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
supplementalGroups: [10000]
|
supplementalGroups: [10000]
|
||||||
seccompProfile: { type: RuntimeDefault }
|
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:
|
service:
|
||||||
app:
|
app:
|
||||||
controller: sabnzbd
|
controller: sabnzbd
|
||||||
|
|
|
@ -76,6 +76,17 @@ spec:
|
||||||
supplementalGroups: [10000]
|
supplementalGroups: [10000]
|
||||||
seccompProfile: { type: RuntimeDefault }
|
seccompProfile: { type: RuntimeDefault }
|
||||||
terminationGracePeriodSeconds: 300
|
terminationGracePeriodSeconds: 300
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- weight: 100
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app.kubernetes.io/name
|
||||||
|
operator: In
|
||||||
|
values: ["sabnzbd"]
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
service:
|
service:
|
||||||
app:
|
app:
|
||||||
controller: *app
|
controller: *app
|
||||||
|
|
Loading…
Reference in a new issue