kube-prometheus-stack Helm Chart
Automate the deployment and configuration of the Prometheus monitoring stack in Kubernetes clusters using Minimus images. The chart deploys Prometheus, Alertmanager, Grafana, node-exporter, kube-state-metrics, and the Prometheus Operator.
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 deploys CRDs (Custom Resource Definitions) for Prometheus, Alertmanager, ServiceMonitors, and related resources. Ensure your cluster allows CRD creation.
Try It Out
In this example we will deploy the kube-prometheus-stack on a Kubernetes cluster using the Minimus Helm chart. This provides full cluster monitoring with Prometheus, Grafana dashboards, and alerting via Alertmanager.
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 monitoring
Step 3: Save Values File Locally
Go to the Values tab and save a copy of it locally.
Step 4: Deploy the Helm Chart
Deploy the Minimus Helm chart with the values.yaml file you saved in the previous step:
helm install my-kube-prometheus-stack oci://helm.mini.dev/kube-prometheus-stack \
--version 83.4.0 \
-f values.yaml \
-n monitoring \
--wait
Step 5: Verify the Stack is Running
Confirm the chart deployed successfully and all components started:
kubectl get pods -n monitoring
You should see output similar to:
NAME READY STATUS RESTARTS AGE
my-kube-prometheus-stack-grafana-xxxxx 3/3 Running 0 2m
my-kube-prometheus-stack-kube-state-metrics-xxxxx 1/1 Running 0 2m
my-kube-prometheus-stack-operator-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 6: Access Grafana UI
Port-forward to the Grafana service to access the dashboards:
kubectl port-forward svc/my-kube-prometheus-stack-grafana -n monitoring 3000:80
Access Grafana at http://localhost:3000. The default username is admin and you can retrieve the password with:
kubectl -n monitoring get secret my-kube-prometheus-stack-grafana -o jsonpath="{.data.admin-password}" | base64 -d
Step 7: Access Prometheus UI
Port-forward to the Prometheus service:
kubectl port-forward svc/my-kube-prometheus-stack-prometheus -n monitoring 9090:9090
Access Prometheus at http://localhost:9090.
Step 8: Clean Up
Uninstall the chart and delete the namespace to remove all resources:
helm uninstall my-kube-prometheus-stack -n monitoring
kubectl delete namespace monitoring
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.