kubero icon indicating copy to clipboard operation
kubero copied to clipboard

Adding node selector options

Open cskiwi opened this issue 1 year ago • 2 comments

hi,

I was wondering if we could have the nodeSelector option availible in the config of a deployment/stage/pipeline. So we can run the apps on the right nodes :)

e.g.:

nodeSelector:
  worker: 'true'

This would make sure it only runs on the nodes with the worker annotation on it

cskiwi avatar Apr 03 '24 09:04 cskiwi

Good point. There might be one already in the app CRD. But let me check that.

mms-gianni avatar Apr 03 '24 10:04 mms-gianni

There is a nodeSelector field for apps here:

https://github.com/kubero-dev/kubero-operator/blob/main/helm-charts/kuberoapp/values.yaml#L162

But it's not acceisble by UI

mms-gianni avatar Apr 16 '24 14:04 mms-gianni