modified: .gitea/workflows/monitoring-deploy.yaml
Some checks failed
Monitoring services CI/CD Pipeline / deploy (push) Failing after 19s
Some checks failed
Monitoring services CI/CD Pipeline / deploy (push) Failing after 19s
This commit is contained in:
@@ -14,7 +14,7 @@ on:
|
|||||||
- 'monitoring/**'
|
- 'monitoring/**'
|
||||||
- '.gitea/workflows/monitoring**'
|
- '.gitea/workflows/monitoring**'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 15 * * 0' # every sunday 3 pm
|
- cron: '0 12 * * 0' # every sunday 12 am
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@@ -52,4 +52,18 @@ jobs:
|
|||||||
# Install & Upgrade
|
# Install & Upgrade
|
||||||
helm upgrade --install promtail grafana/promtail --namespace monitoring \
|
helm upgrade --install promtail grafana/promtail --namespace monitoring \
|
||||||
--values=./monitoring/promtail/values.yaml --set config.clients[0].url=${LOKI_URL}
|
--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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user