opensearch-k8s-operator icon indicating copy to clipboard operation
opensearch-k8s-operator copied to clipboard

[FEATURE] Add nodeSelector/tolerations/affinity for updateJob and inithelper

Open astorath opened this issue 9 months ago • 2 comments

Is your feature request related to a problem?

I'm unable to deploy operator in a cluster with restrictive taints (e.g. when all cluster node pools have some taints applied)

What solution would you like?

Add a standard set of pod template attributes (nodeSelector/tolerations/affinity) to security.config.updateJob and inithelperconfig sections of OpenSearchCluster CRD similar to other sections like bootstrap, dashboards, nodePools

What alternatives have you considered?

There is no direct alternative, other than reconfiguring the cluster itself or using custom Admission Webhook to alter Jobs/Pods on creation

Do you have any additional context?

astorath avatar Apr 27 '24 08:04 astorath

Can we prioritise this feature request ? Its a mandatory feature for most of us to use the openSearch operator.

aravindhkudiyarasan avatar May 11 '24 09:05 aravindhkudiyarasan

[Triage] There is one affinity and tolerations options PR went it https://github.com/opensearch-project/opensearch-k8s-operator/pull/821, we should extend this for other resources as mentioned above. @astorath @aravindhkudiyarasan is there a way one of you can please contribute to this feature ? Thank you @getsaurabh02 @swoehrl-mw

prudhvigodithi avatar Jun 20 '24 19:06 prudhvigodithi