Last active
September 25, 2025 03:20
-
-
Save DrJosh9000/a473ca09a4e65332685990e9516cc2c9 to your computer and use it in GitHub Desktop.
install kube-prometheus-stack and agent-stack-k8s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install kube-prometheus-stack, configured for reading all available | |
| # PodMonitors (in any namespace) and enabling native histograms. | |
| helm install kube-prometheus-stack oci://ghcr.io/prometheus-community/charts/kube-prometheus-stack \ | |
| --create-namespace --namespace monitoring \ | |
| --set prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false \ | |
| --set prometheus.prometheusSpec.enableFeatures='{native-histograms}' | |
| # Install agent-stack-k8s (fill in your agent token). | |
| # Must be at least v0.32.0 to deploy monitoring components. | |
| helm install agent-stack-k8s oci://public.ecr.aws/buildkite/helm/agent-stack-k8s \ | |
| --create-namespace --namespace buildkite \ | |
| --set agentToken='PUT YOUR AGENT TOKEN HERE' \ | |
| --set monitoring.podMonitor.deploy=true \ | |
| --set monitoring.deployGrafanaDashboard=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment