Skip to content

Commit

Permalink
Pods affinity for control plane nodes (#391)
Browse files Browse the repository at this point in the history
Make CSI cinder controller plugin and tigera-operator schedule to
control plane nodes.

This is to avoid pods being "unevictable" for cluster autoscaler
  • Loading branch information
heytrav authored Sep 2, 2024
1 parent 9fd968c commit e4e1ec1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions charts/cluster-addons/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ cni:
version: v3.28.1
release:
namespace: tigera-operator
values: {}
values:
nodeSelector:
node-role.kubernetes.io/control-plane: ""
# Nova metadata service
# See https://docs.openstack.org/nova/latest/user/metadata.html#the-metadata-service
globalNetworkPolicy:
Expand Down Expand Up @@ -93,7 +95,15 @@ openstack:
repo: https://kubernetes.github.io/cloud-provider-openstack
name: openstack-cinder-csi
version: 2.30.0
values: {}
values:
csi:
plugin:
controllerPlugin:
nodeSelector:
node-role.kubernetes.io/control-plane: ""
tolerations:
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
# Definition of the default storage class for Cinder CSI
defaultStorageClass:
# Indicates if the storage class should be enabled
Expand Down

0 comments on commit e4e1ec1

Please sign in to comment.