K3s-cluster/monitoring/grafana/datasources.yaml
Tanguy Herbron 838ccaccf2 feat(grafana): Add ingress
Basic ingress for grafana (beta) and force some containers to specific node (beta environment)
2022-09-21 18:17:32 +02:00

30 lines
607 B
YAML

---
# Source: loki-stack/templates/datasources.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: loki-loki-stack
namespace: monitoring
labels:
app: loki-stack
chart: loki-stack-2.8.2
release: loki
heritage: Helm
grafana_datasource: "1"
data:
loki-stack-datasource.yaml: |-
apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
url: "http://loki:3100"
version: 1
isDefault: true
- name: Prometheus
type: prometheus
access: proxy
url: "http://prometheus-svc:9090"
version: 1
isDefault: false