Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

256
Visualizações
How to restrict Grafana dashboards for different namespace teams to their own namespace's metrics?

Grafana v6.3.5, Prometheus 2.15.0, Kubernetes 1.16.10

In Kubernetes cluster, namespaces "teamA" and "teamB" (and "admin") Users of each namespace can only access resources in their own namespace, they have no knowledge of anything outside.

Prometheus instance running in separate "admin" namespace, scraping everything in cluster, as well as an admin-access Grafana instance which has dashboards showing all namespaces metrics.

I want to provide both teams their own "local" Grafana, so they can customize own dashboards, alerts etc. They each have own Grafana pod running in their namespace, and with datasource "admin" Prometheus. However because both use "admin" prometheus datasource, there are no restrictions in metrics data access, and both teams can query for other team's metrics (and hence pod, container names, counts, histories, etc), eg in dashboard JSON change "regex": "teamA" to "teamB"

How set up so each team's local grafana can only see metrics data for their own namespace?

Need to create seperate prometheus for scraping each namespace only? and have each team's Grafana source data from here? (also lock down the admin prometheus access?) Use a single grafana, but provide different (non-admin) log-ins per team, with different roles restricted to different metrics?

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda