Files
casa/monitoring/prometheus/deploy/README.md
T
Márcio Fernandes 16e819dc01
Monitoring services CI/CD Pipeline / deploy (push) Successful in 19s
monitoring prometheus version 86.0.1
2026-05-29 10:53:42 +00:00

1.1 KiB

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 \
--version=86.0.1 \
--namespace monitoring \
--values=./deploy/helm/01-only-crd-and-operator.yaml \
--values=./deploy/helm/02-kube-metrics.yaml \
--values=./deploy/helm/03-node-exporter.yaml \
--values=./deploy/helm/04-kubelet.yaml \
--values=./deploy/helm/10-testing-values.yaml

deploy prometheus agent

requirements:

On namespaces running prometheus monitors add label prometheus-monitoring=enabled

Example:

kubectl label namespace monitoring prometheus-monitoring=enabled --overwrite
kubectl apply -f ./deploy/prometheus-agent.yaml