-
Notifications
You must be signed in to change notification settings - Fork 184
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
feat(chart): drop kube-prometheus-stack #3561
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request contains invalid labels. Please remove all of the following labels: ['do-not-merge/hold']
@@ -311,6 +311,7 @@ If dryRun=true, we do not create any chart labels. | |||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | |||
release: "{{ .Release.Name }}" | |||
heritage: "{{ .Release.Service }}" | |||
app.kubernetes.io/instance: "{{ .Release.Name }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was added because kube-state-metrics and node-exporter charts don't add the release
label to their ServiceMonitors, and I needed a label to select for. In the near future, this shouldn't be necessary, as otel operator will expose more powerful selectors for this.
5d617a0
to
c9ef9da
Compare
c9ef9da
to
52b57d8
Compare
This is a draft showing what getting rid of kube-prometheus-stack would look like in practice. Integration tests should pass, template tests should not, as updating them would pollute the diff too much.
Changes:
kube-state-metrics
andprometheus-node-exporter
charts as direct dependencies. I copied the configuration, as I haven't found anyway to avoid a breaking change here.values.yaml
sections, but I'm not sure we want to make this fully configurable.