modified: .gitea/workflows/monitoring-deploy.yaml
Some checks failed
Monitoring services CI/CD Pipeline / deploy (push) Failing after 19s

This commit is contained in:
2025-11-22 21:53:02 +00:00
parent 8fe822ef32
commit c256253f72

View File

@@ -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