Fix plantwiki deployment skew

main
trivernis 1 year ago
parent c2703834f0
commit 5830136c8f
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -11,7 +11,7 @@ metadata:
name: plantwiki name: plantwiki
namespace: plantwiki namespace: plantwiki
spec: spec:
replicas: 1 replicas: 2
selector: selector:
matchLabels: matchLabels:
app: plantwiki app: plantwiki
@ -20,7 +20,13 @@ spec:
labels: labels:
app: plantwiki app: plantwiki
spec: spec:
nodeName: hetzner-dedicated topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app: plantwiki
containers: containers:
- image: git.trivernis.net/trivernis/plantwiki:latest - image: git.trivernis.net/trivernis/plantwiki:latest
name: plantwiki name: plantwiki

Loading…
Cancel
Save