scw-exporter

by Promhippie

Helm chartv3.21.0App 2.21.0Apache-2.0Verified publisher

A Helm chart for scw-exporter

About this chart

scw-exporter

A Helm chart for scw-exporter

Homepage: https://promhippie.github.io/scw_exporter/

Installing the Chart

OCI (Recommended)

helm install scw-exporter oci://ghcr.io/promhippie/charts/scw-exporter

Traditional

helm repo add promhippie https://promhippie.github.io/charts
helm repo update
helm install scw-exporter promhippie/scw-exporter

Maintainers

NameEmailUrl
tboerger[email protected]https://github.com/tboerger

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for the deployment
annotationsobject{}Define additional annotations
collector.baremtalbooltrueEnable collector for baremtal
collector.dashboardbooltrueEnable collector for dashboard
collector.securityGroupsbooltrueEnable collector for security groups
collector.serversbooltrueEnable collector for servers
collector.snapshotsbooltrueEnable collector for snapshots
collector.volumesbooltrueEnable collector for volumes
config.accessstringnilAccess key for Scaleway access
config.accessKeystring"accessKey"Key used within secret for access key
config.existingSecretstringnilExisting secret to use for credentials
config.orgstringnilOrganization at Scaleway
config.projectstringnilProject at Scaleway
config.regionstringnilRegion at Scaleway
config.secretstringnilSecret key for Scaleway access
config.secretKeystring"secretKey"Key used within secret for secret key
config.zonestringnilZone at Scaleway
envFromConfigMapstring""Environment variables from existing configmap
envFromSecretstring""environment variables from existing secret
extraEnvSecretsobject{}Extra environment variables from secrets
extraEnvVariablesobject{}Extra environment variables from mapping
extraInitContainerslist[]List of extra init containers
extraVolumeMountslist[]List of extra volume mounts
extraVolumeslist[]List of extra volumes
filesobject{}List of files written to a configmap and mounted to /etc/scw-exporter-files
fullnameOverridestring""Override the fullname
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optional name of pull secret if using a private registry
image.repositorystring"quay.io/promhippie/scw-exporter"Image repository used by deployment
image.tagstring""Optional tag for the repository, defaults to app version
ingress.annotationsobject{}Additional annotations for the ingress
ingress.classNamestringnilClass name for the ingress resource
ingress.enabledboolfalseEnable ingress
ingress.hostslist[{"host":"example.local","paths":[{"path":"/","pathType":"Prefix"}]}]Host definition for ingress
ingress.labelsobject{}Additional labels for the ingress
ingress.tlslist[]Optional TLS configuration for ingress
labelsobject{}Define additional labels
nameOverridestring""Override the name
nodeSelectorobject{}Node selector for the deployment
podSecurityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["all"]},"readOnlyRootFilesystem":true,"runAsGroup":10000,"runAsNonRoot":true,"runAsUser":10000}Security context for the pod
prometheusRule.additionalLabelsobject{}Additional labels for prometheus rules
prometheusRule.enabledboolfalseEnable custom prometheus rules
prometheusRule.namespacestring""Namespace used by prometheus rules
prometheusRule.ruleslist[]Rules definition
replicaCountint1Replicas for the deployment
resourcesobject{}Resources for the deployment
securityContextobject{}Security context for the deployment
service.annotationsobject{}Additional annotations for the service
service.internalPortint9503Internal port of the service
service.labelsobject{}Additional labels for the service
service.portint9503Port of the service
service.typestring"ClusterIP"Type of the service
serviceAccount.createbooltrueCreate a new service account
serviceAccount.namestring""Optional name for an existing service account
serviceMonitor.enabledboolfalseEnable service monitor integration
serviceMonitor.intervalstring"30s"Scrape interval
serviceMonitor.jobLabelstringnilOptionally override the job label
serviceMonitor.labelsobject{}Additional labels for the service monitor
serviceMonitor.metricRelabelingslist[]Metric relabeling configuration
serviceMonitor.namespacestring""Namespace used by service monitor
serviceMonitor.relabelingslist[]Relabeling configuration
serviceMonitor.targetLabelslist[]Target labels
serviceMonitor.telemetryPathstring"/metrics"Scrape path
serviceMonitor.timeoutstring"30s"Scrape timeout
tolerationslist[]Tolerations for the deployment
updateStrategyobject{"type":"RollingUpdate"}Update strategy for the deployment

Deploy scw-exporter with OpenTenant

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