openshift-monitoring
namespace, extra permissions will be required for the service account (openshift-monitoring:prometheus-k8s
) to pull metrics from the openshift-operators namespace, where TrilioVault is deployed.prometheus.io/scrape:
The default configuration will scrape all pods and, if set to false, this annotation will exclude the pod from the scraping process.prometheus.io/path:
If the metrics path is not /metrics, define it with this annotation.prometheus.io/port:
Scrape the pod on the indicated port instead of the pod’s declared ports, Here it is 8080.prometheus.yml
configuration file.EXPORTER_ADDRESS
is the IP of the Prometheus exporter pod which can be found by running the followingk8s-triliovault-exporter
as active targets in Prometheus UI.prometheus.yml
configuration file.