ops(traefik): keep ingress available during balancing

This commit is contained in:
jenkins 2026-05-20 05:23:49 -03:00
parent 0115f5f684
commit 178e523bc2
3 changed files with 14 additions and 1 deletions

View File

@ -10,7 +10,7 @@ items:
namespace: traefik
spec:
progressDeadlineSeconds: 600
replicas: 1
replicas: 2
revisionHistoryLimit: 10
selector:
matchLabels:
@ -23,6 +23,7 @@ items:
template:
metadata:
annotations:
descheduler.alpha.kubernetes.io/evict: "false"
kubectl.kubernetes.io/restartedAt: "2025-02-12T05:57:48-06:00"
creationTimestamp: null
labels:

View File

@ -8,6 +8,7 @@ resources:
- crds.yaml
- ingressclass.yaml
- deployment.yaml
- pdb.yaml
- serviceaccount.yaml
- clusterrole.yaml
- clusterrolebinding.yaml

View File

@ -0,0 +1,11 @@
# infrastructure/traefik/pdb.yaml
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: traefik
namespace: traefik
spec:
minAvailable: 1
selector:
matchLabels:
app: traefik