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

[promtail] Add common version label to daemonset pods #3456

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jhulick
Copy link

@jhulick jhulick commented Nov 26, 2024

What this PR does / why we need it:

  • It adds common labels to metadata labels in the pod spec. The main reasoning is to persist the app.kubernetes.io/version and app.kubernetes.io/name labels to the pod for standardization. Per docs, (https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels) "In order to take full advantage of using these labels, they should be applied on every resource object.".

  • Improves traceability throughout the application. Ex. via Kiali dashboard.

Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
N/A

@jhulick jhulick force-pushed the promtail-common-pod-labels branch from 5b9d867 to 6734ab4 Compare November 26, 2024 19:49
@Sheikh-Abubaker Sheikh-Abubaker added the enhancement New feature or request label Dec 7, 2024
Signed-off-by: jeremy.hulick <jeremy.hulick@gmail.com>
Signed-off-by: jeremy.hulick <jeremy.hulick@gmail.com>
@jhulick jhulick force-pushed the promtail-common-pod-labels branch from ce44d87 to 6d45c99 Compare December 9, 2024 19:02
@jhulick jhulick changed the title Add common version label to daemonset pods [promtail] Add common version label to daemonset pods Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants