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

Loading…
Cancel
Save