flink-on-k8s-operator icon indicating copy to clipboard operation
flink-on-k8s-operator copied to clipboard

Why there is no nodeSelector in spec level or in Job in CRD?

Open chethanuk opened this issue 4 years ago • 6 comments
trafficstars

Why there is no nodeSelector in spec level or in Job in latest crd?

Having node selector in Job also will be helpful or at spec level will be much better

Also, there is no option to set affinity and anti affinity

chethanuk avatar Dec 03 '20 20:12 chethanuk

+1 for including affinity and anti affinity in CRD

yanghui16355 avatar Dec 04 '20 23:12 yanghui16355

Yeah, that's something we missed in the past, it should be added.

functicons avatar Dec 07 '20 20:12 functicons

@ChethanUK Do you want to make a PR for it?

functicons avatar Dec 10 '20 02:12 functicons

@functicons Is this still in ToDos or is someone working on it? Would like to work on this if it's not taken by someone else yet.

the-cybersapien avatar Jan 04 '21 19:01 the-cybersapien

@the-cybersapien I got busy with something else, I missed this. You can pick up this.

chethanuk avatar Jan 05 '21 07:01 chethanuk

created a PR #423 for this, as well as #422 which adds affinity to the jobmanager & taskmanager specs. apologies if I stepped on anyone's toes here

sgraham785 avatar Feb 24 '21 06:02 sgraham785