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

Add tolerations to the helm chart #1907

Merged
merged 1 commit into from
Mar 15, 2024
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
5 changes: 3 additions & 2 deletions chart/kube-flannel/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ spec:
- linux
hostNetwork: true
priorityClassName: system-node-critical
{{- with .Values.flannel.tolerations }}
tolerations:
- operator: Exists
effect: NoSchedule
{{- toYaml . | trim | nindent 8 }}
{{- end }}
serviceAccountName: flannel
initContainers:
- name: install-cni-plugin
Expand Down
30 changes: 22 additions & 8 deletions chart/kube-flannel/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,40 @@ flannel:
# Port used by the backend 0 means default value (VXLAN: 8472, Wireguard: 51821, UDP: 8285)
#backendPort: 0
# MTU to use for outgoing packets (VXLAN and Wiregurad) if not defined the MTU of the external interface is used.
#mtu: 1500
# mtu: 1500
#
# VXLAN Configs:
#
# VXLAN Identifier to be used. On Linux default is 1.
#vni: 1
# Enable VXLAN Group Based Policy (Default false)
#GBP: false
# GBP: false
# Enable direct routes (default is false)
#directRouting: false
# directRouting: false
# MAC prefix to be used on Windows. (Defaults is 0E-2A)
#macPrefix: "0E-2A"
# macPrefix: "0E-2A"
#
# Wireguard Configs:
#
# UDP listen port used with IPv6
#backendPortv6: 51821
# backendPortv6: 51821
# Pre shared key to use
#psk: 0
# psk: 0
# IP version to use on Wireguard
#tunnelMode: "separate"
# tunnelMode: "separate"
# Persistent keep interval to use
#keepaliveInterval: 0
# keepaliveInterval: 0
#
# General daemonset configs
#
tolerations:
- key: "node.kubernetes.io/not-ready"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
effect: "NoSchedule"
- key: "node.cloudprovider.kubernetes.io/uninitialized"
effect: "NoSchedule"
value: "true"
- key: "node-role.kubernetes.io/etcd"
operator: "Exists"
effect: "NoExecute"
Loading