REFACTOR(repo): standardize taint to control-plane
- Remove deprecated master taint from traefik - Update svclb annotation to control-plane - Remove master taint from argocd-image-updater
This commit is contained in:
@@ -18,11 +18,8 @@ resources:
|
|||||||
limits:
|
limits:
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
|
|
||||||
# Tolerations for master node
|
# Tolerations for control-plane node
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "node-role.kubernetes.io/master"
|
|
||||||
operator: "Exists"
|
|
||||||
effect: "NoExecute"
|
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
effect: "NoSchedule"
|
effect: "NoSchedule"
|
||||||
|
|||||||
@@ -28,10 +28,8 @@ spec:
|
|||||||
app.kubernetes.io/name: traefik
|
app.kubernetes.io/name: traefik
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
|
|
||||||
# Master 노드에도 배치 허용
|
# Control-plane 노드에도 배치 허용
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/master
|
|
||||||
operator: Exists
|
|
||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
|
||||||
@@ -58,10 +56,10 @@ spec:
|
|||||||
expose:
|
expose:
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
# svclb tolerations for master node
|
# svclb tolerations for control-plane node
|
||||||
service:
|
service:
|
||||||
annotations:
|
annotations:
|
||||||
svccontroller.k3s.cattle.io/tolerations: '[{"key":"node-role.kubernetes.io/master","operator":"Exists","effect":"NoExecute"}]'
|
svccontroller.k3s.cattle.io/tolerations: '[{"key":"node-role.kubernetes.io/control-plane","operator":"Exists","effect":"NoSchedule"}]'
|
||||||
|
|
||||||
# Prometheus metrics
|
# Prometheus metrics
|
||||||
metrics:
|
metrics:
|
||||||
|
|||||||
Reference in New Issue
Block a user