cloudflow icon indicating copy to clipboard operation
cloudflow copied to clipboard

Add the ability to declare k8s pod `tolerations` that allow (but do not require) the pods to schedule onto nodes with matching taints

Open idrismike opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Cloudflow deployments do not provide the ability to schedule pods on specific nodes in k8s cluster.

Is your feature request related to a specific runtime of cloudflow or applicable for all runtimes? This is relevant for all runtimes deployment to k8s.

Describe the solution you'd like Currently, we can declare k8s related configuration in a conf file and provide as --conf to kubectl cloudflow. However, these configuration do not support tolerations for pods that can be scheduled on nodes with matching taints in the k8s cluster. Therefore, it is highly recommended to make this feature available in the cloudflow operator to parse this and add to the deployments before deploying them in the cluster.

Describe alternatives you've considered N/A

Additional context For details on taints and tolerations - see https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/

idrismike avatar May 31 '22 12:05 idrismike

I have proposed a PR to fix this: https://github.com/lightbend/cloudflow/pull/1211

thomasschoeftner avatar Jul 02 '22 00:07 thomasschoeftner