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

Investigate service selection not working #564

Open
mariomac opened this issue Jan 19, 2024 · 1 comment
Open

Investigate service selection not working #564

mariomac opened this issue Jan 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mariomac
Copy link
Contributor

mariomac commented Jan 19, 2024

From public slack: https://grafana.slack.com/archives/C05T4PW9E85/p1705676217162779

This discovery section did not work finding the require pod:

    discovery:
      services:
        - k8s_pod_name: "^grafana-0$"
kubectl -n observability get pod
NAME        READY   STATUS    RESTARTS   AGE
grafana-0   6/6     Running   0          4d11h

The following change made it work:

    discovery:
      services:
        - k8s_namespace: observability
        - k8s_pod_name: grafana-0
@mariomac mariomac added the bug Something isn't working label Jan 19, 2024
@nlamirault
Copy link
Contributor

nlamirault commented Jan 19, 2024

it works with this configuration:

discovery:
  services:
    - k8s_namespace: observability
    - k8s_pod_name: grafana-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants