kube-prometheus-stack Helm Chart
kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator. The kube-prometheus-stack Helm chart automates deployment and configuration of the Prometheus monitoring stack in Kubernetes clusters using Minimus images.
Prerequisites
- A subscription to the Minimus images included in the chart
- A running Kubernetes cluster (v1.25 or higher is recommended)
kubectl installed and configured
- Helm v3.8 or higher for OCI support (Installation instructions)
- Cluster Admin privileges
Note: kube-prometheus-stack installs CRDs (Custom Resource Definitions) for Prometheus, Alertmanager, ServiceMonitors, PodMonitors, and related Prometheus Operator resources. Installing these CRDs requires cluster-admin privileges.
Try It Out
In this example we will deploy the Prometheus monitoring stack on a Kubernetes cluster using the Minimus kube-prometheus-stack Helm chart. Out of the box you get Prometheus, Alertmanager, Grafana, node-exporter, kube-state-metrics, and the Prometheus Operator, wired together for end-to-end cluster monitoring.
Step 1: Start Cluster
If you have a cluster to work with, skip this step. Otherwise, start a Minikube cluster. Deployment instructions
Step 2: Create Namespace
Create a namespace:
kubectl create ns kube-prometheus-stack
Step 3: Deploy the Helm Chart
Deploy the Minimus Helm chart:
helm install my-kube-prometheus-stack oci://helm.mini.dev/kube-prometheus-stack \
--version 87.0.1 \
-n kube-prometheus-stack \
--wait
If you want to override the chart's defaults, go to the Values tab, save a copy locally with your changes. Deploy the chart with your overrides using -f values.yaml:
helm install my-kube-prometheus-stack oci://helm.mini.dev/kube-prometheus-stack \
--version 87.0.1 \
-f values.yaml \
-n kube-prometheus-stack \
--wait
Step 4: Verify kube-prometheus-stack is Running
Confirm the chart deployed successfully and all components started:
kubectl get pods -n kube-prometheus-stack
You should see output similar to:
NAME READY STATUS RESTARTS AGE
my-kube-prometheus-stack-grafana-xxxxxxxxx-xxxxx 3/3 Running 0 2m
my-kube-prometheus-stack-kube-state-metrics-xxxxxxxxx-xxxxx 1/1 Running 0 2m
my-kube-prometheus-stack-operator-xxxxxxxxx-xxxxx 1/1 Running 0 2m
my-kube-prometheus-stack-prometheus-node-exporter-xxxxx 1/1 Running 0 2m
alertmanager-my-kube-prometheus-stack-alertmanager-0 2/2 Running 0 2m
prometheus-my-kube-prometheus-stack-prometheus-0 2/2 Running 0 2m
Step 5: Test the Monitoring Stack
Port-forward to the Prometheus service and confirm it is healthy:
kubectl port-forward svc/my-kube-prometheus-stack-prometheus -n kube-prometheus-stack 9090:9090
In another terminal, query the health endpoint — it should return Prometheus Server is Healthy.:
curl -sf http://localhost:9090/-/healthy
You can also reach the Grafana dashboards. Port-forward the Grafana service:
kubectl port-forward svc/my-kube-prometheus-stack-grafana -n kube-prometheus-stack 3000:80
Open http://localhost:3000 and log in as admin. Retrieve the password with:
kubectl -n kube-prometheus-stack get secret my-kube-prometheus-stack-grafana -o jsonpath="{.data.admin-password}" | base64 -d
Step 6: Clean Up
Uninstall the chart and delete the namespace to remove all resources:
helm uninstall my-kube-prometheus-stack -n kube-prometheus-stack
kubectl delete namespace kube-prometheus-stack
Terms & Info
Trademark
This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.
Disclaimer
Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.