yace-exporter

by empathy.co

Helm chartv0.1.0App v0.32.0-alpha

A Helm chart for Kubernetes

About this chart

YACE - yet another cloudwatch exporter Helm chart

A Helm chart for nerdwords's YACE - yet another cloudwatch exporter. This Helm chart does not modify the YACE image in any way, and all credit for YACE belongs to the contributiors and maintainers of nerdwords's YACE - yet another cloudwatch exporter.

Installation

To install the chart, run:

$ helm repo add empathy-public https://empathyco.github.io/helm-charts
$ helm install my-release empathy-public/yace-exporter

Configuration

YACE is configured through a YAML file, mounted in the container as a configmap in this Helm chart. The contents of this YAML file should be included in the config parameter of the Helm chart values.yaml.

Values

KeyTypeDefaultDescription
affinityobject{}Kubernetes pod affinity
configstring""YACE exporter configuration is rendered with tpl function, therefore you can use any Helm variables and/or templates here
fullnameOverridestring""Chart full name override
image.pullPolicystring"IfNotPresent"Image pullpolicy
image.repositorystring"ghcr.io/nerdswords/yet-another-cloudwatch-exporter"Image repository
image.tagstring"v0.32.0-alpha"Image tag
imagePullSecretslist[]Image pull secrets
metrics.prometheusRule.enabledboolfalseif true, creates a Prometheus Operator PrometheusRule
metrics.prometheusRule.namespacestring""Namespace for the PrometheusRule Resource
metrics.prometheusRule.ruleslist[]Prometheus Rule definitions
metrics.prometheusRule.selectorobject{}Prometheus instance selector labels
metrics.serviceMonitor.enabledbooltrueif true, creates a Prometheus Operator ServiceMonitor
metrics.serviceMonitor.intervalstringnilInterval at which metrics should be scraped.
metrics.serviceMonitor.namespacestring""Namespace for the ServiceMonitor Resource (defaults to the Release Namespace).
metrics.serviceMonitor.scrapeTimeoutstringnilTimeout after which the scrape is ended
metrics.serviceMonitor.selectorobject{"release":"prometheus"}Prometheus instance selector labels
nameOverridestring""Chart name override
nodeSelectorobject{}Kubernetes node selector
podAnnotationsobject{}Custom pod annotations
podSecurityContextobject{}Custom pod security context
replicaCountint1Number of deployment replicas
resourcesobject{}Container resources
securityContextobject{}Custom container security context
service.annotationsobject{}Additional annotations to add to the service
service.labelsobject{}Additional labels to add to the service
service.portint80Port for kubernetes service
service.typestring"ClusterIP"Type of Service
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
tolerationslist[]Kubernetes tolerations

Autogenerated from chart metadata using helm-docs v1.5.0

Deploy yace-exporter with OpenTenant

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