pravega / pravega-operator

Pravega Kubernetes Operator
Apache License 2.0
41 stars 38 forks source link

Add tolerations for controller and segment store pods #607

Closed alfred-landrum closed 2 years ago

alfred-landrum commented 2 years ago

Description

It'd be useful to allow specifying pod tolerations for the Pravega controller and segment store pods.

Importance

I'd like to dedicate some nodes in a cluster to run only Pravega workloads. Affinities can be used to schedule Pravega pods onto the dedicated nodes, but node taints seem the best way to prevent other non-Pravega pods from using them. To do this, I'd need to add tolerations for controller & segment store pods.

Location

This would require adding controller & segment store pod tolerations to the Pravega cluster spec. Additionally, it'd make sense to allow the Pravega helm chart to allow specifying the tolerations as well.

anishakj commented 2 years ago

@alfred-landrum Thanks for the contribution. To make the changes in helm charts, you might need to raise a PR in https://github.com/pravega/charts