CHORE(traefik): exclude worker-1 from deploy
- Add node anti-affinity for worker-1 - Fix API issues on worker-1
This commit is contained in:
@@ -5,12 +5,21 @@ metadata:
|
|||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
valuesContent: |-
|
valuesContent: |-
|
||||||
# 3 replicas for HA
|
# 2 replicas (mayne-worker-1 has issues)
|
||||||
deployment:
|
deployment:
|
||||||
replicas: 3
|
replicas: 2
|
||||||
|
|
||||||
# Pod Anti-Affinity - 각 노드에 최대 1개씩만 배치
|
# Pod Anti-Affinity - 각 노드에 최대 1개씩만 배치
|
||||||
|
# Node Affinity - mayne-worker-1 제외 (Traefik API 문제)
|
||||||
affinity:
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: NotIn
|
||||||
|
values:
|
||||||
|
- mayne-worker-1
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
- labelSelector:
|
- labelSelector:
|
||||||
|
|||||||
Reference in New Issue
Block a user