Open danielhoult opened 1 year ago
Hi @danielhoult. Thanks for reporting your solution. If you ever feel up to it, PRs are always welcome. Otherwise this issue will have to wait until someone else picks it up.
I also need nodeSelector and tolerations to be assigned to securityconfig jobs
Same here, would be nice to have it. Then we can use it in cluster where not exists nodes without taints.
Hi Team,
When trying deploy OpenSearch to a k8s cluster with multiple node pools, the default securityconfig-update pod is unable to start when it is scheduled on a windows node pool. The nodeselector option is available for the bootstrap, dashboard, and nodes sections, but not for the securityconfig-update pod.
To work around the issue I updated the CRDs:
opensearch-operator/api/v1/opensearch_types.go
I contemplated trying to use the NodeSelector from one of the other config sections, but it didn't feel right.
I was then able to build the code and docker image, push the image to my private container registry, and have the cluster use this image when deploying the OpenSearch cluster. I do not have experience with go, so would take more time to understand how to write a test and submit a PR, but I wanted to share the solution that I have so far.
Thanks Daniel