Our cluster infrastructure is now observable—we can deploy Prometheus with appropriate configuration files and start monitoring the cluster. To deploy Prometheus, we have several options:
- Deploy it manually using multiple manifest files.
- Use the stable/prometheus Helm chart (https://github.com/helm/charts/tree/master/stable/prometheus). This chart provides Prometheus, Alertmanager, Pushgateway, Node Exporter (for Linux nodes), and kube-state-metrics.
- Use the stable/prometheus-operator Helm chart (https://github.com/helm/charts/tree/master/stable/prometheus-operator) or kube-prometheus (https://github.com/coreos/kube-prometheus). These solutions aim at providing a way to quickly provision multiple Prometheus clusters in your Kubernetes cluster.
In our case, the best choice is to use the stable/prometheus Helm chart as it requires...