-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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] Change AlertManager and Prometheus CR naming. #1752
Conversation
f74529f
to
cf9f234
Compare
@andrewgkew @gianrubio @gkarthiks @anandsinghkunwar @monotek @mrueg Pinging some guys and some recently reviewed the PRs. Would someone take a look? It looks to me that for workflows to run an approval is needed. |
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.
Please sign your commits, to get the dco check work.
Have you tested what happens if you update from 30.2.0 and the names change?
@monotek I've now signed the follow-up commits. Thanks for the heads up. |
So I guess the naming would not justify a new major version with likely rather complicated data migration path. |
How about merging this when there is something that justifies a major version change? |
@monotek I went ahead and created name templates. Now the change is really minor until turned on by default. |
8fd3d71
to
4117765
Compare
@monotek Can you please take a look? Or who may be a good person to ping? |
I would like to see some more reviews here. |
Just wanted to chime in supporting this change. Currently the pv/pvc created names are too long for my storageClass and therefore I cannot persist any data. |
Waiting for this! |
Waiting for this too |
I've rebased on the latest main |
@monotek Would you reconsider? I see a few more people showed interest. Other code owners didn't express opinions. |
The maintainers of the chart should decide: https://github.com/prometheus-community/helm-charts/blob/main/.github/CODEOWNERS#L10 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
Ping |
@monotek Can you unblock? |
@ksa-real |
This is to avoid weird dependent object names. AlertManager instance is named `releasename-alertmanager`, which results in most dependent objects be named `alertmanager-releasename-alertname`. Same for Prometheus CR. Generated PersistentVolume is particularly bad: `prometheus-releasename-prometheus-db-prometheus-releasename-prometheus-0`. If .Release.Name is `main` and we are not using .Values.nameoverride then we get insane `prometheus-main-kube-prometheus-stack-prometheus-db-prometheus-main-kube-prometheus-stack-prometheus-db-0`. Signed-off-by: Sergei Kuzmin <sergeikuzmin@gmail.com>
This is to avoid weird dependent object names. AlertManager instance is
named
releasename-alertmanager
, which results in most dependentobjects being named
alertmanager-releasename-alertname
. Same forPrometheus CR. Generated PersistentVolume is particularly bad:
prometheus-releasename-prometheus-db-prometheus-releasename-prometheus-0
.If .Release.Name is
main
and we are not using .Values.nameoverridethen we get insane
prometheus-main-kube-prometheus-stack-prometheus-db-prometheus-main-kube-prometheus-stack-prometheus-0
.Signed-off-by: Sergei Kuzmin sergeikuzmin@gmail.com
What this PR does / why we need it:
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
Checklist
[prometheus-couchdb-exporter]
)