Skip to content

Commit

Permalink
fix: add CriticalAddonsOnly toleration into controller pod
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Oct 21, 2024
1 parent 8a7759e commit ebff094
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
Binary file modified charts/latest/azuredisk-csi-driver-v1.29.10.tgz
Binary file not shown.
3 changes: 3 additions & 0 deletions charts/latest/azuredisk-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ controller:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "CriticalAddonsOnly"
operator: "Exists"
effect: "NoSchedule"
hostNetwork: true # this setting could be disabled if controller does not depend on MSI setting
labels: {}
annotations: {}
Expand Down
Binary file modified charts/v1.29.10/azuredisk-csi-driver-v1.29.10.tgz
Binary file not shown.
3 changes: 3 additions & 0 deletions charts/v1.29.10/azuredisk-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ controller:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "CriticalAddonsOnly"
operator: "Exists"
effect: "NoSchedule"
hostNetwork: true # this setting could be disabled if controller does not depend on MSI setting
labels: {}
annotations: {}
Expand Down
3 changes: 3 additions & 0 deletions deploy/csi-azuredisk-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "CriticalAddonsOnly"
operator: "Exists"
effect: "NoSchedule"
containers:
- name: csi-provisioner
image: mcr.microsoft.com/oss/kubernetes-csi/csi-provisioner:v5.1.0
Expand Down
3 changes: 3 additions & 0 deletions deploy/v1.29.10/csi-azuredisk-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "CriticalAddonsOnly"
operator: "Exists"
effect: "NoSchedule"
containers:
- name: csi-provisioner
image: mcr.microsoft.com/oss/kubernetes-csi/csi-provisioner:v5.1.0
Expand Down

0 comments on commit ebff094

Please sign in to comment.