opencost-parquet-exporter

by OpenCost

Helm chartv0.3.1App 0.2.1Verified publisher

OpenCost Parquet Exporter

About this chart

opencost-parquet-exporter

OpenCost Parquet Exporter

Maintainers

NameEmailUrl
cklingspor

Values

KeyTypeDefaultDescription
activeDeadlineSecondsint3600Keep job running (from start time) for [activeDeadlineSeconds]
awsRolenamestring"testrole"AWS IAM role to use when writing to the S3 Bucket.
commonLabelsobject{}Additional labels applied to the CronJob, the Job template, and the Pod template. Chart-managed keys (helm.sh/chart, app.kubernetes.io/name, app.kubernetes.io/instance, app.kubernetes.io/version, app.kubernetes.io/managed-by) are reserved and silently dropped to keep the chart's identity labels stable.
concurrencyPolicystring"Forbid"Do not allow multiple runs
dnsConfigobject{"options":[{"name":"single-request-reopen"},{"name":"ndots","value":"2"}]}Specific DNS parameters of the pod
dnsConfig.options[0]object{"name":"single-request-reopen"}Turning this option on [...] so that if two requests from the same port are not handled correctly it will close the socket and open a new one before sending the second request. See also "single-request-reopen"
dnsConfig.options[1]object{"name":"ndots","value":"2"}Sets a threshold for the number of dots which must appear in a name [...] before an initial absolute query will be made. . See also "ndots"
dnsPolicystring"ClusterFirst"A pod's DNS polics
envlist[{"name":"AWS_REGION","value":"us-west-2"},{"name":"KUBE_CLUSTER","value":"YOUR_CLUSTER_NAME_CHANGE_ME"},{"name":"OPENCOST_PARQUET_FILE_KEY_PREFIX","value":"cluster=$(KUBE_CLUSTER)"},{"name":"OPENCOST_PARQUET_S3_BUCKET","value":"YOUR_S3_BUCKET_NAME_CHANGE_ME"},{"name":"OPENCOST_PARQUET_S3_REGION","value":"YOUR_S3_BUCKET_REGION_NAME_CHANGE_ME"},{"name":"OPENCOST_PARQUET_SVC_HOSTNAME","value":"opencost.opencost.svc.cluster.local"},{"name":"OPENCOST_PARQUET_SVC_PORT","value":"9003"}]List of env vars
envFromstringnil
existingServiceAccountstringnilOptional ServiceAccount use to run this pod
failedJobsHistoryLimitint3Keep up to three failed jobs
image.imagePullPolicystring"Always"
image.repositorystring"ghcr.io/opencost/opencost-parquet-exporter"
image.tagstring""
resourcesobject{"limits":{"cpu":2,"memory":"5Gi"},"requests":{"cpu":1,"memory":"1Gi"}}Compute resources required
restartPolicystring"Never"
schedulestring"* * * * *"Schedule on which to run the cron job
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint1001
successfulJobsHistoryLimitint3Keep up to three successful jobs
suspendboolfalse
terminationGracePeriodSecondsint30
ttlSecondsAfterFinishedint14400Limit the lifetime of the execution

Autogenerated from chart metadata using helm-docs v1.13.1

Deploy opencost-parquet-exporter with OpenTenant

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