Prometheus Operator install
Check if there is an installed operator in your cluster
If you are unsure if the operator is in your cluster, you can run the following commands
Check if you already have Prometheus server in your cluster
If you have a Prometheus server, It might be configured the collect data only from Pod/ServiceMontor
s with specific labels and/or namespaces. Run the following command (based on the example output above, this might be different in your environment) and check the output of the following fields
Pod Monitor Namespace Selector
Pod Monitor Selector
Service Monitor Namespace Selector
Service Monitor Selector
In its default setup kube-prometheus-stack
requires some labels to be present on the monitor objects for them to be propagated to the Prometheus server. If that is the case, write down the required labels - we will use them below
Last updated