1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-25 13:37:34 +00:00
Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes
Find a file
2016-11-28 14:58:23 +01:00
cmd/operator prometheus: simplify service monitor selection 2016-11-24 16:40:42 +01:00
Documentation Fix documentation 2016-11-28 12:26:13 +01:00
example prometheus: fix Alertmanager discovery congfig 2016-11-28 12:03:39 +01:00
hack Rename external run script 2016-11-01 14:28:05 +01:00
pkg Log when TPR API endpoints are ready 2016-11-28 12:28:39 +00:00
scripts *: add license header and script to ensure it 2016-11-01 16:59:36 +01:00
test/e2e test: build image from current tree when running e2e tests 2016-11-28 14:58:23 +01:00
vendor *: add basic e2e test for Prometheus TPR 2016-11-24 17:46:12 +01:00
.gitignore Rename controller to operator 2016-11-01 14:19:25 +01:00
.header *: add license header and script to ensure it 2016-11-01 16:59:36 +01:00
code-of-conduct.md Add liecense, CoC, etc. 2016-11-01 14:37:27 +01:00
CONTRIBUTING.md Add liecense, CoC, etc. 2016-11-01 14:37:27 +01:00
DCO Add liecense, CoC, etc. 2016-11-01 14:37:27 +01:00
deployment.yaml example: use deployment and operator term 2016-11-02 17:32:00 -07:00
Dockerfile Rename controller to operator 2016-11-01 14:19:25 +01:00
LICENSE Add liecense, CoC, etc. 2016-11-01 14:37:27 +01:00
Makefile test: build image from current tree when running e2e tests 2016-11-28 14:58:23 +01:00
NOTICE Add liecense, CoC, etc. 2016-11-01 14:37:27 +01:00
README.md README: standardise on "operator" term, fix typo 2016-11-04 11:09:15 +01:00

Prometheus Operator

Project status: alpha Not all planned features are completed. The API, spec, status and other user facing objects are subject to change. We do not support backward-compability for the alpha releases.

The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of Prometheus instances.

Once installed the Prometheus Operator provides the following features:

  • Create/Destroy: Easily launch a Prometheus instance for your Kubernetes namespace, a specific application or team easily using the Operator.

  • Simple Configuration: Configure the fundamentals of Prometheus like versions, persistence, retention policies, and replicas from a native Kubernetes resource.

  • Target Services via Labels: Automatically generate monitoring target configurations based on familiar Kubernetes label queries; no need to learn a Prometheus specific configuration language.

Third party resources

The Operator acts on two third party resources (TPRs):

  • Prometheus, which defines a desired Prometheus deployment. The Operator ensures at all times that a deployment matching the resource definition is running.

  • ServiceMonitor, which declaratively specifies how groups of services should be monitored. The Operator automatically generates Prometheus scrape configuration based on the definition.

Installation

You can install the Operator inside of your cluster by running the following command:

kubectl apply -f deployment.yaml

To run the Operator outside of your cluster:

make
hack/run-external.sh <kubectl cluster name>

The Prometheus Operator collects anonymous usage statistics to help us learning how the software is being used and how we can improve it. To disable collection, run the Operator with the flag -analytics=false