|
|
|
@ -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
|
|
|
|
|