prometheus-operator-standalone

by Helm

Helm chartv13.4.1App 0.63.0

Stripped down version of prometheus-operator to only provision the operator and nothing else

About this chart

Prometheus operator standalone

This is a stripped down version of the upstream kube-prometheus-stack (originally prometheus-operator) chart.

This chart can be used to install the prometheus operator only, additionally using the .Values.prometheusOperator.customResourceGroupRemap settings you can make it coexist with any prometheus operator already installed in the target system.

For example this values.yaml


prometheusOperator:
    createCustomResource: true
    customResourceGroupRemap:
        enabled: true
        newGroup: "monitoring.backyards.banzaicloud.io"

Will result in a setup that the usual monitoring CRDs will have a group name of monitoring.backyards.banzaicloud.io. In this setup to define a new Prometheus you will need to use the monitoring.backyards.banzaicloud.io/v1/Prometheus object.

To achieve this effect, we are relying on k8s-proxy

Note for developers to update chart

  1. Copy crds from upstream kube-prometheus-stack into resources directory
  2. Update Charts.yaml with appVersion to match upstream version

Deploy prometheus-operator-standalone 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-standalone 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartprometheus-operator-standalone is pinned at v13.4.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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