Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kube-prometheus-stack] Prometheus ignore some configs in values.yaml #3803

Open
ZrytyADHD opened this issue Sep 14, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ZrytyADHD
Copy link

ZrytyADHD commented Sep 14, 2023

Describe the bug a clear and concise description of what the bug is.

Hello,
Today I try to install latest 51.0.2 Prometheus-stack on my Kubernets Cluster with values.yaml file but not all values from config file are used.

What's your helm version?

version.BuildInfo{Version:"v3.11.3", GitCommit:"323249351482b3bbfc9f5004f65d400aa70f9ae7", GitTreeState:"clean", GoVersion:"go1.20.3"}

What's your kubectl version?

1.23.8

Which chart?

prometheus-community/kube-prometheus-stack

What's the chart version?

51.0.2

What happened?

When I try to install Prometheus stack everything is going ok, but instalation ignore:
hostNetwork:
enabled: false

which I have in values.yaml file.
After instalation i got error in Prometheus

serviceMonitor/monitoring/kube-prometheus-stack-prometheus-node-exporter

After change hostNetwork to false everything start working

What you expected to happen?

Install Prometheus stack with hostNetwork:false

How to reproduce it?

Install chart 51.0.2 which set hostNetwork: false in daemonset kube-prometheus-stack-prometheus-node-exporter

Enter the changed values of values.yaml?

hostNetwork:
enabled: false

Disable Etcd metrics

kubeEtcd:
enabled: false

Disable Controller metrics

kubeControllerManager:
enabled: false

Disable Scheduler metrics

kubeScheduler:
enabled: false

Disable Proxy metrics

kubeProxy:
enabled: false

Enter the command that you execute and failing/misfunctioning.

helm install kube-prometheus-stack prometheus-community/kube-prometheus-stack --version 51.0.2 --create-namespace --namespace monitoring --values=values.yaml

Anything else we need to know?

After install I can edit daemonset kube-prometheus-stack-prometheus-node-exporter and change it but after upgrade vaule come back to default.
This is a blocker for my scripts to automate install and upgrade process.

@ZrytyADHD ZrytyADHD added the bug Something isn't working label Sep 14, 2023
@zeritti zeritti changed the title Prometheus ignore some configs in values.yaml [kube-prometheus-stack] Prometheus ignore some configs in values.yaml Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant