Skip to content
New issue

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

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

Already on GitHub? # to your account

Missing app.kubernetes.io/component Label in Pods Generated by Helm for Grafana #3497

Open
gvrodrigueznetlabs opened this issue Dec 19, 2024 · 0 comments

Comments

@gvrodrigueznetlabs
Copy link

gvrodrigueznetlabs commented Dec 19, 2024

Problem Description:

The Grafana Service is configured with a selector that uses several labels, but the pods generated by Helm for Grafana lack some of the labels required by the Service selector. This mismatch prevents the Service from properly targeting the Grafana pods.

Details:
Grafana Service:
The Grafana Service uses the following selector to match pods:

selector:
app.kubernetes.io/component: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/name: grafana

The pods generated by Helm for Grafana currently have the following labels:

labels:
app.kubernetes.io/instance: grafana
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 11.3.1
helm.sh/chart: grafana-8.6.4
pod-template-hash: 57ffb45bd8

The label app.kubernetes.io/component: grafana is missing, which is required for the Service to properly select the pods.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant