Add traefik HA : 2 replicas + PDB + pod anti-affinity
This commit is contained in:
parent
77ce4060fb
commit
ded4b413f2
1 changed files with 16 additions and 0 deletions
|
|
@ -36,6 +36,22 @@ spec:
|
|||
additionalArguments:
|
||||
- "--log.level=DEBUG"
|
||||
|
||||
deployment:
|
||||
replicas: 2
|
||||
|
||||
podDisruptionBudget:
|
||||
enabled: true
|
||||
minAvailable: 1
|
||||
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: traefik
|
||||
app.kubernetes.io/instance: traefik-common-services
|
||||
topologyKey: kubernetes.io/hostname
|
||||
|
||||
ports:
|
||||
traefik:
|
||||
port: 9000
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue