-
Notifications
You must be signed in to change notification settings - Fork 183
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
add custom labels to fluentd sts and setup job pods #819
Conversation
…ogic/sumologic-kubernetes-collection into vsinghal-add-custom-labels
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.
one comment, then LGTM
@@ -9,6 +9,9 @@ metadata: | |||
labels: | |||
app: {{ template "sumologic.labels.app.setup.job" . }} | |||
{{- include "sumologic.labels.common" . | nindent 4 }} | |||
{{- if .Values.sumologic.setup.job.podLabels }} |
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.
I would add the common set here as well i think
We should add this to the otelcol as well 😅 |
…ogic/sumologic-kubernetes-collection into vsinghal-add-custom-labels
Good call on OTELCOL, we should add them there too as it will be 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.
LGTM, just one nit
Co-authored-by: Sam Song <[email protected]>
Customers should be aware that changing the labels for existing installation need to be done with cc: @frankreno |
@sumo-drosiek I'm trying to reproduce the error with labels and/or annotations and can't do it, I don't need to provide the |
@perk-sumo even if you change value of the label during upgrade? |
Yes, I've tested this with latest 1.2.3 and see no issue with fresh install nor upgrade. |
@perk-sumo, confirming 👍 |
Description
Configs:
sumologic.podLabels
-> add labels to fluentd sts, setup job, otelcol deploymentfluentd.podLabels
-> add labels to all fluentd sts.fluentd.logs.statefulset.podLabels
-> add labels only to logs fluentd sts.fluentd.metrics.statefulset.podLabels
-> add labels only to metrics fluentd sts.fluentd.events.statefulsetpodLabels
-> add labels only to events fluentd sts.otelcol.deployment.podLabels
-> add labels only to otelcol deployment.sumologic.setup.job.podLabels
-> add labels only to setup job.Testing performed