kube-prometheus-stack
Purpose: Complete monitoring stack with Prometheus, Grafana, and Alertmanager
Version: v68.0.0 (Helm chart: prometheus-community/kube-prometheus-stack)
Namespace: monitoring
Description
Comprehensive monitoring solution based on Prometheus Operator. Includes:
- Prometheus for metrics collection and storage
- Grafana for visualization and dashboards
- Alertmanager for alert routing and notification
- node-exporter for node-level metrics
- kube-state-metrics for Kubernetes object metrics
Installation
Installed via ArgoCD from Helm chart: prometheus-community/kube-prometheus-stack
Configuration
Configuration file: config/dev/applications/kube-prometheus-stack-values.yaml
Key settings:
- 30s scrape interval
- 15-day retention
- 20Gi persistent storage (local-path)
- ServiceMonitor-based discovery
Access
| Service | URL | Port |
|---|---|---|
| Prometheus | https://prometheus.ssdk8s.xyz | 9090 |
| Grafana | https://grafana.ssdk8s.xyz | 3000 |
| Alertmanager | https://alertmanager.ssdk8s.xyz | 9093 |
Credentials
Username: admin
Get Password:
kubectl get secret kube-prometheus-stack-grafana -n monitoring -o jsonpath='{.data.admin-password}' | base64 -d
Dashboards
Pre-installed dashboards:
- Kubernetes / Compute Resources / Cluster
- Kubernetes / Compute Resources / Namespace
- Kubernetes / Compute Resources / Pod
- ArgoCD (Dashboard ID: 19993)
Import Grafana dashboard ID 19993 for ArgoCD monitoring.
Prometheus Configuration
ServiceMonitor Selectors
Prometheus scrapes targets with label: release: kube-prometheus-stack
Scraped Targets
- kube-state-metrics
- node-exporter
- Prometheus itself
- Alertmanager
- Ingress NGINX
- ArgoCD components
Storage
- Storage Class: local-path
- Size: 20Gi
- Retention: 15 days
Alertmanager
- URL: https://alertmanager.ssdk8s.xyz
- Config: Uses default routing
- Notifications: Not yet configured