Configuring Prometheus remote_write for Kubernetes deployments
This guide demonstrates how to configure remote_write
for Prometheus deployed inside of a Kubernetes cluster.
Instructions for configuring remote_write
to ship metrics to Grafana Cloud vary depending on how you installed Prometheus in your Kubernetes cluster. In this guide we’ll discuss how to configure remote_write
for the following common deployment methods:
- Prometheus Operator deployed using either Prometheus Operator or the kube-prometheus stack. To learn how to do this, please see Configuring remote_write with Prometheus Operator.
- Prometheus Operator and kube-prometheus deployed using the Helm kube-prometheus-stack chart. To learn how to do this, please see Configuring remote_write with Helm and kube-prometheus-stack.
- Prometheus deployed using the Prometheus Helm chart. To learn how to do this, please see Configuring remote_write with Helm and Prometheus.
- Prometheus deployed using a Kubernetes Deployment and ConfigMap manifests. To learn how to do this, please see Configuring remote_write with a Prometheus ConfigMap.