Skip to content

Commit

Permalink
fix: ensure that the controller and gateway can be deployed to the ma…
Browse files Browse the repository at this point in the history
…ster and the tainted node (#5359)
  • Loading branch information
zijiren233 authored Jan 27, 2025
1 parent f31d747 commit c070c58
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions scripts/cloud/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,10 @@ spec:
type: NodePort
kind: DaemonSet
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- effect: "NoExecute"
operator: "Exists"
- effect: "NoSchedule"
operator: "Exists"
resources:
requests:
cpu: 256m
Expand All @@ -436,11 +437,12 @@ spec:
autoscaling:
enabled: true
nodeSelector:
node-role.kubernetes.io/control-plane: ''
node-role.kubernetes.io/control-plane: "true"
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- effect: "NoExecute"
operator: "Exists"
- effect: "NoSchedule"
operator: "Exists"
resources:
requests:
cpu: 256m
Expand Down

0 comments on commit c070c58

Please sign in to comment.