yace-exporter
by empathy.co
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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Kubernetes pod affinity |
| config | string | "" | YACE exporter configuration is rendered with tpl function, therefore you can use any Helm variables and/or templates here |
| fullnameOverride | string | "" | Chart full name override |
| image.pullPolicy | string | "IfNotPresent" | Image pullpolicy |
| image.repository | string | "ghcr.io/nerdswords/yet-another-cloudwatch-exporter" | Image repository |
| image.tag | string | "v0.32.0-alpha" | Image tag |
| imagePullSecrets | list | [] | Image pull secrets |
| metrics.prometheusRule.enabled | bool | false | if true, creates a Prometheus Operator PrometheusRule |
| metrics.prometheusRule.namespace | string | "" | Namespace for the PrometheusRule Resource |
| metrics.prometheusRule.rules | list | [] | Prometheus Rule definitions |
| metrics.prometheusRule.selector | object | {} | Prometheus instance selector labels |
| metrics.serviceMonitor.enabled | bool | true | if true, creates a Prometheus Operator ServiceMonitor |
| metrics.serviceMonitor.interval | string | nil | Interval at which metrics should be scraped. |
| metrics.serviceMonitor.namespace | string | "" | Namespace for the ServiceMonitor Resource (defaults to the Release Namespace). |
| metrics.serviceMonitor.scrapeTimeout | string | nil | Timeout after which the scrape is ended |
| metrics.serviceMonitor.selector | object | {"release":"prometheus"} | Prometheus instance selector labels |
| nameOverride | string | "" | Chart name override |
| nodeSelector | object | {} | Kubernetes node selector |
| podAnnotations | object | {} | Custom pod annotations |
| podSecurityContext | object | {} | Custom pod security context |
| replicaCount | int | 1 | Number of deployment replicas |
| resources | object | {} | Container resources |
| securityContext | object | {} | Custom container security context |
| service.annotations | object | {} | Additional annotations to add to the service |
| service.labels | object | {} | Additional labels to add to the service |
| service.port | int | 80 | Port for kubernetes service |
| service.type | string | "ClusterIP" | Type of Service |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | [] | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartyace-exporter is pinned at v0.1.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