init
This commit is contained in:
28
talos-k8s-flux/clusters/t8s-demo/install/promtail.yaml
Normal file
28
talos-k8s-flux/clusters/t8s-demo/install/promtail.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: promtail
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 1m
|
||||
dependsOn:
|
||||
- name: monitoring
|
||||
- name: loki
|
||||
chart:
|
||||
spec:
|
||||
version: "6.x"
|
||||
chart: promtail
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: grafana-charts
|
||||
interval: 60m
|
||||
targetNamespace: loki
|
||||
values:
|
||||
# https://grafana.com/docs/loki/latest/send-data/promtail/installation/
|
||||
config:
|
||||
# publish data to loki
|
||||
clients:
|
||||
- url: http://loki-loki-gateway/loki/api/v1/push
|
||||
tenant_id: 1
|
||||
---
|
Reference in New Issue
Block a user