prometheus-operated

by arldka

Helm chartv0.3.0App 2.44.0Verified publisher

A Helm chart that deploys a Prometheus instance using the prometheus operator

About this chart

Prometheus Operated Chart

Description

A Helm chart that deploys a Prometheus instance using the prometheus operator

Prerequisites

Requirements

Kubernetes: >=1.22.0-0

Get Helm Repository Info

helm repo add arldka https://arldka.github.io/helm-charts
helm repo update

See helm repo for command documentation.

Install Helm Chart

helm install [RELEASE_NAME] arldka/prometheus-operated

See configuration below.

See helm install for command documentation.

Upgrading Chart

helm upgrade [RELEASE_NAME] arldka/prometheus-operated

With Helm v3, CRDs created by this chart are not updated by default and should be manually updated. Consult also the Helm Documentation on CRDs.

See helm upgrade for command documentation.

Upgrading an existing Release to a new major version

A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an incompatible breaking change needing manual actions.

Limitations

Because the operator can only run as a single pod, there is potential for this component failure to cause rule deployment failure. Because this risk is outweighed by the benefit of having validation, the feature is enabled by default.

Values

KeyTypeDefaultDescription
additionalScrapeConfigslist[]
annotationsobject{}
enableAdminAPIboolfalse
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
instanceNamestring"default"
nodeSelectorobject{}
pausedboolfalse
resourcesobject{}
retentionstring"7d"
securityContext.fsGroupint65534
securityContext.runAsGroupint65534
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint65534
service.annotationsobject{}
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
storageCapacitystring"30Gi"
storageClassNamestring""
versionstring"v2.44.0"

Deploy prometheus-operated with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has prometheus-operated 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-operated is pinned at v0.3.0 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