allow specifying the nodeSelector for the init jobs
Fixes #
Motivation
When deploying pulsar to an AKS cluster with windows nodepools i was unable to specify that the Jobs of the initalize release had to run on linux nodes. With the change i can now specify a node selector for the init jobs.
Modifications
add nodeSelector on pulsar_init and bookie_init
Verifying this change
- [ ] Make sure that the change passes the CI checks.
Thanks for the PR. Would it be possible to use the key
pulsar_metadata.nodeSelectorinstead ofinitialize_jobs.nodeSelector? Please also add a placeholder in the default values.yaml with a comment documenting the setting. The value should be empty.
what do i do for the bookkeeper_cluster_initalize jobs? specify another nodeSelector value? or use the pulsar_metadata.nodeSelector value there as well?
what do i do for the bookkeeper_cluster_initalize jobs? specify another nodeSelector value? or use the pulsar_metadata.nodeSelector value there as well?
I think it's fine to use the pulsar_metadata.nodeSelector value there as well.
Thanks for your contribution @elangelo!