Copy sample file from config-sample/prometheus/prom.yml to the prometheus sub-directory within your config folder
If you want to write prometheus data to a remote prometheus instance, please define these 4 variables :
You can configure which prometheus components you want to deploy :
deploy_prometheus: true to deploy prometheus
deploy_node_exporter: requires prometheus deployment. Set to true to gather data about the k8s nodes.
deploy_kube_control_plane_monitoring: requires prometheus deployment. Set to true to gather data about the kube controle plane.
deploy_kube_state_metrics: requires prometheus deployment. Set to true to gather data about kube metrics.
deploy_element_service_monitors: Set to true to create ServiceMonitor resources into the K8S cluster. Set it to true if you want to monitor your element services stack using prometheus.
You can choose to deploy grafana on the cluster :
After running the installer, open the FQDN of Grafana. The initial login user is admin and password is admin. You'll be required to set a new password, please define one secured and keep it in a safe place.