W1110 12:30:45.495663 257055 gcp.go:119] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.26+; use gcloud instead. To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:44:59Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v4.5.7 Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.3-gke.2100", GitCommit:"25d7334511e90d0b636707059c955baebce769cd", GitTreeState:"clean", BuildDate:"2022-08-16T09:24:54Z", GoVersion:"go1.18.3b7", Compiler:"gc", Platform:"linux/amd64"}
Which chart?
kube-prometheus-stack
What's the chart version?
39.12.1
What happened?
Impossible to set the priorityClassName for the prometheus-node-exporter's pods through the values of kube-prometheus-stack chart.
What you expected to happen?
set the priorityClassName for the prometheus-node-exporter's pods through its daemonset
I reviewed it, and we were able to set the PriorityClass few months ago using this version of the helm chart 41.9.1. Now we are using 48.2.3.
Due to the fact that I cannot find or remember anything special, we created our own Kubernetes priority classes and we use them, thus I closed this PR.
Describe the bug a clear and concise description of what the bug is.
I'm using prometheus-node-exporter.priorityClassName to set prometheus-node-exporter's priorityClass to its Daemonset. I'm trying to add this value to the template [daemonset.yaml(https://github.com/prometheus-community/helm-charts/blob/e52a1f6347f5f0c2865c69ed9a9bf1c01efcc521/charts/prometheus-node-exporter/templates/daemonset.yaml#L29-L31) by referencing in the helm values.yaml, however, it is not working.
There are the values that I'm passing to the prometheus-node-exporter subchart through my values.yaml
What's your helm version?
version.BuildInfo{Version:"v3.7.0", GitCommit:"eeac83883cb4014fe60267ec6373570374ce770b", GitTreeState:"clean", GoVersion:"go1.16.8"}
What's your kubectl version?
W1110 12:30:45.495663 257055 gcp.go:119] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.26+; use gcloud instead. To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:44:59Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v4.5.7 Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.3-gke.2100", GitCommit:"25d7334511e90d0b636707059c955baebce769cd", GitTreeState:"clean", BuildDate:"2022-08-16T09:24:54Z", GoVersion:"go1.18.3b7", Compiler:"gc", Platform:"linux/amd64"}
Which chart?
kube-prometheus-stack
What's the chart version?
39.12.1
What happened?
Impossible to set the priorityClassName for the prometheus-node-exporter's pods through the values of kube-prometheus-stack chart.
What you expected to happen?
set the priorityClassName for the prometheus-node-exporter's pods through its daemonset
How to reproduce it?
Apply the configuration mentioned above.
Enter the changed values of values.yaml?
Enter the command that you execute and failing/misfunctioning.
helm install prometheus prometheus-community/kube-prometheus-stack --version 39.12.1 --values values.yaml
Anything else we need to know?
Note that I'm using argocd to apply the helm chart, not helm command.