fluxcd: monitoring promtail

This commit is contained in:
Márcio Fernandes
2026-06-07 21:08:54 +00:00
parent 0a3bab3ff6
commit 104682a63b
13 changed files with 113 additions and 106 deletions
+9 -8
View File
@@ -8,15 +8,16 @@ kubectl create namespace monitoring
## promtail
### setup
## Setup
Using flux for reconciliation.
``` bash
# add repo
helm repo add grafana https://grafana.github.io/helm-charts
# Install & Upgrade
helm upgrade --install promtail grafana/promtail --namespace monitoring \
--values=./promtail/values.yaml \
--values=./promtail//values.local.yaml
./ops-scripts/apply-flux.sh
```
## Continuous Deploy
**Encrypt secrets:**
``` bash
sops -e deploy/promtail/helm-values.private.dec.yaml > deploy/promtail/helm-values.private.yaml
```