ops(traefik): keep ingress available during balancing
This commit is contained in:
parent
0115f5f684
commit
178e523bc2
@ -10,7 +10,7 @@ items:
|
|||||||
namespace: traefik
|
namespace: traefik
|
||||||
spec:
|
spec:
|
||||||
progressDeadlineSeconds: 600
|
progressDeadlineSeconds: 600
|
||||||
replicas: 1
|
replicas: 2
|
||||||
revisionHistoryLimit: 10
|
revisionHistoryLimit: 10
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
@ -23,6 +23,7 @@ items:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
|
descheduler.alpha.kubernetes.io/evict: "false"
|
||||||
kubectl.kubernetes.io/restartedAt: "2025-02-12T05:57:48-06:00"
|
kubectl.kubernetes.io/restartedAt: "2025-02-12T05:57:48-06:00"
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@ -8,6 +8,7 @@ resources:
|
|||||||
- crds.yaml
|
- crds.yaml
|
||||||
- ingressclass.yaml
|
- ingressclass.yaml
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
|
- pdb.yaml
|
||||||
- serviceaccount.yaml
|
- serviceaccount.yaml
|
||||||
- clusterrole.yaml
|
- clusterrole.yaml
|
||||||
- clusterrolebinding.yaml
|
- clusterrolebinding.yaml
|
||||||
|
|||||||
11
infrastructure/traefik/pdb.yaml
Normal file
11
infrastructure/traefik/pdb.yaml
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user