Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set-proper-tolarate-taint-for-capi #1022

Merged
merged 4 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s

## [Unreleased]

### Changed

- Changed pod taint toleration to only tolerate `NotReady` for CAPI.

## [2.35.0] - 2023-05-04

### Changed
Expand Down
11 changes: 10 additions & 1 deletion helm/chart-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,17 @@ spec:
{{- if or .Values.chartOperator.cni.install .Values.bootstrapMode.enabled }}
hostNetwork: true
tolerations:
- effect: NoSchedule
- key: node.kubernetes.io/not-ready
effect: NoSchedule
operator: Exists
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
- key: node-role.kubernetes.io/master
effect: NoSchedule
- key: node.cloudprovider.kubernetes.io/uninitialized
effect: NoSchedule
- key: node.cluster.x-k8s.io/uninitialized
effect: NoSchedule
{{- else }}
tolerations:
- key: node-role.kubernetes.io/control-plane
Expand Down
Loading