prometheus-operator
by Helm
Provides easy monitoring definitions for Kubernetes services, and deployment and management of Prometheus instances.
About this chart
prometheus-operator
Installs prometheus-operator to create/configure/manage Prometheus clusters atop Kubernetes.
TL;DR;
$ helm install opsgoodness/prometheus-operator
Introduction
This chart bootstraps a prometheus-operator deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.4+ with Beta APIs & ThirdPartyResources enabled
Installing the Chart
To install the chart with the release name my-release:
$ helm install opsgoodness/prometheus-operator --name my-release
The command deploys prometheus-operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following tables lists the configurable parameters of the prometheus-operator chart and their default values.
| Parameter | Description | Default |
|---|---|---|
global.hyperkube.repository | Hyperkube image | quay.io/coreos/hyperkube |
global.hyperkube.tag | Hyperkube image tag | v1.5.3_coreos.0 |
global.hyperkube.pullPolicy | Hyperkube image pull policy | IfNotPresent |
image.repository | Image | quay.io/coreos/prometheus-operator |
image.tag | Image tag | v0.6.0 |
image.pullPolicy | Image pull policy | IfNotPresent |
nodeSelector | Node labels for pod assignment | {} |
resources | Pod resource requests & limits | {} |
sendAnalytics | Collect & send anonymous usage statistics | true |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
$ helm install opsgoodness/prometheus-operator --name my-release --set sendAnalytics=true
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
$ helm install opsgoodness/prometheus-operator --name my-release -f values.yaml
Tip: You can use the default values.yaml
Deploy prometheus-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has prometheus-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartprometheus-operator is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply