From c256253f7269af6ac6a592aa2260f0b4a504820a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 22 Nov 2025 21:53:02 +0000 Subject: [PATCH] modified: .gitea/workflows/monitoring-deploy.yaml --- .gitea/workflows/monitoring-deploy.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/monitoring-deploy.yaml b/.gitea/workflows/monitoring-deploy.yaml index 908c074..d2bb29c 100644 --- a/.gitea/workflows/monitoring-deploy.yaml +++ b/.gitea/workflows/monitoring-deploy.yaml @@ -14,7 +14,7 @@ on: - 'monitoring/**' - '.gitea/workflows/monitoring**' schedule: - - cron: '0 15 * * 0' # every sunday 3 pm + - cron: '0 12 * * 0' # every sunday 12 am jobs: deploy: @@ -52,4 +52,18 @@ jobs: # Install & Upgrade helm upgrade --install promtail grafana/promtail --namespace monitoring \ --values=./monitoring/promtail/values.yaml --set config.clients[0].url=${LOKI_URL} + + - name: Deploy Telegraf + shell: bash + run: | + # add repo + helm repo add grafana https://grafana.github.io/helm-charts + # Install & Upgrade + helm upgrade --install prometheus-stack prometheus-community/kube-prometheus-stack \ + --namespace monitoring \ + --values=./monitoring/prometheus/deploy/helm/01-only-crd-and-operator.yaml \ + --values=./monitoring/prometheus/deploy//helm/02-kube-metrics.yaml \ + --values=./monitoring/prometheus/deploy/helm/03-node-exporter.yaml \ + --values=./monitoring/prometheus/deploy/helm/04-kubelet.yaml + kubectl apply -f ./monitoring/prometheus/deploy/prometheus-agent.yaml