Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 38922ec

Browse files
authored
fix: set default tolerations on Deployment (nutanix-cloud-native#430)
1 parent 98be813 commit 38922ec

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

charts/capi-runtime-extensions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ A Helm chart for capi-runtime-extensions
6666
| service.annotations | object | `{}` | |
6767
| service.port | int | `443` | |
6868
| service.type | string | `"ClusterIP"` | |
69-
| tolerations | list | `[]` | |
69+
| tolerations | list | `[{"effect":"NoSchedule","key":"node-role.kubernetes.io/master","operator":"Equal"},{"effect":"NoSchedule","key":"node-role.kubernetes.io/control-plane","operator":"Equal"}]` | Kubernetes pod tolerations |

charts/capi-runtime-extensions/values.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,14 @@ nodeSelector: {}
9393
# Allow scheduling of Deployment on linux nodes only
9494
# kubernetes.io/os: linux
9595

96-
tolerations: []
97-
# -- Kubernetes pod tolerations
96+
# -- Kubernetes pod tolerations
97+
tolerations:
98+
- key: node-role.kubernetes.io/master
99+
operator: Equal
100+
effect: NoSchedule
101+
- key: node-role.kubernetes.io/control-plane
102+
operator: Equal
103+
effect: NoSchedule
98104
# Allow scheduling of Deployment on all nodes
99105
# - operator: "Exists"
100106

0 commit comments

Comments
 (0)