Files
casa/monitoring/prometheus/deploy
Márcio Fernandes 484301cd99
All checks were successful
Monitoring services CI/CD Pipeline / deploy (push) Successful in 21s
Deploy Casa services CI/CD Pipeline / deploy (push) Successful in 17s
modified: monitoring/prometheus/deploy/prometheus-agent.yaml
2025-12-11 21:51:32 +00:00
..
2025-11-15 11:54:06 +00:00

Prometheus Setup

helm chart

#add repo
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts

This helm chart, installs:

  • crd
  • Operator
  • kubernetes services monitors
kubectl get namespace monitoring || kubectl create namespace monitoring
helm upgrade --install prometheus-stack prometheus-community/kube-prometheus-stack \
--namespace monitoring \
--values=./helm/01-only-crd-and-operator.yaml \
--values=./helm/02-kube-metrics.yaml \
--values=./helm/03-node-exporter.yaml \
--values=./helm/04-kubelet.yaml \
--values=./helm/10-testing-values.yaml

deploy prometheus agent

kubectl apply -f ./prometheus-agent.yaml