Prometheus is a large project with many capabilities, options, and integrations. Deploying it and managing it is not a trivial task. There a couple of projects that can help. The Prometheus operator (https://github.com/coreos/prometheus-operator) provides a way to deeply configure Prometheus using Kubernetes resources.
The operator concept (https://coreos.com/blog/introducing-operators.html) was introduced in 2016 by CoreOS (who was acquired by RedHat, who was acquired by IBM). A Kubernetes operator is a controller that is responsible for managing stateful applications inside a cluster using Kubernetes CRDs. Operators, in practice, extend the Kubernetes API to provide a seamless experience when managing ...