helm chart - remove hard coded nodeSelector for kubestatemetrics portion #3735
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
Description
If you don't have the node label of control-plane on your cluster the metrics pod will not start. Consider making this a variable so you can provide your own node selector or provide affinity rules.
https://github.com/volcano-sh/volcano/blob/master/installer/helm/chart/volcano/templates/kubestatemetrics.yaml#L187-L190
Steps to reproduce the issue
Run the helm chart with Values.custom.metrics_enable = true
Describe the results you received and expected
The kube-state-metrics pod should start for clusters that are not using the control-plane label
What version of Volcano are you using?
volcano version: "1.5" appVersion: "0.1"
Any other relevant information
No response
The text was updated successfully, but these errors were encountered: