github-exporter

by jkroepke

Helm chartv1.4.0App 1.8.0Verified publisher

exporter for export github metrics

About this chart

github-exporter

exporter for export github metrics

Homepage: https://github.com/jkroepke/github_exporter

Installation

helm repo add jkroepke https://jkroepke.github.io/helm-charts/
helm install github-exporter jkroepke/github-exporter

Maintainers

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

Source Code

Values

KeyTypeDefaultDescription
annotationsobject{}annotations of the Deployment.
envobject{}
extraVolumeMountsstring""Add additional volumes mounts, e. g. for custom secrets
extraVolumesstring""Add additional volumes, e.g. for custom secrets
fullnameOverridestring""String to fully override amazon-eks-pod-identity.fullname template
image.pullPolicystring"IfNotPresent"
image.registrystring"docker.io"github_exporter image registry
image.repositorystring"jkroepke/github_exporter"github_exporter image repository
image.tagstring.Chart.AppVersiongithub_exporter image tag (immutable tags are recommended).
imagePullSecretslist[]registry secret names as an array
labelsobject{}labels of the Deployment.
metrics.serviceMonitor.annotationsobject{}Additional ServiceMonitor annotations (evaluated as a template) #
metrics.serviceMonitor.enabledboolfalseSpecify if a ServiceMonitor will be deployed for Prometheus Operator #
metrics.serviceMonitor.honorLabelsboolfalsehonorLabels chooses the metric's labels on collisions with target labels #
metrics.serviceMonitor.intervalstring""Interval at which metrics should be scraped. # ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint # e.g: # interval: 10s #
metrics.serviceMonitor.jobLabelstring""The name of the label on the target service to use as the job name in Prometheus #
metrics.serviceMonitor.labelsobject{"release":"kube-prometheus-stack"}Extra labels for the ServiceMonitor #
metrics.serviceMonitor.metricRelabelingslist[]Specify additional relabeling of metrics #
metrics.serviceMonitor.namespacestring""Namespace in which Prometheus is running #
metrics.serviceMonitor.relabelingslist[]Specify general relabeling #
metrics.serviceMonitor.scrapeTimeoutstring""Timeout after which the scrape is ended # ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint # e.g: # scrapeTimeout: 10s #
metrics.serviceMonitor.selectorobject{}Prometheus instance selector labels # ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration # selector: # prometheus: my-prometheus #
nameOverridestring""String to partially override github_exporter.fullname template (will maintain the release name)
podAnnotationsobject{}Annotations for github_exporter pods
podLabelsobject{}Additional labels for github_exporter pods
podSecurityContextobject{}github_exporter pods' Security Context.
resources.limitsobject{}The resources limits for the amazon-eks-pod-identity-webhook container # Example: # limits: # cpu: 100m # memory: 128Mi
resources.requestsobject{}The requested resources for the amazon-eks-pod-identity-webhook container # Examples: # requests: # cpu: 100m # memory: 128Mi
secretsobject{}
securityContext.readOnlyRootFilesystembooltruePod securityContext: Enable read-only root filesystem
securityContext.runAsGroupint1Pod securityContext: Run primary group id
securityContext.runAsNonRootboolfalsePod securityContext: Disable root user
securityContext.runAsUserint65534Pod securityContext: Run user id
service.annotationsobject{}Service annotations
service.typestring"ClusterIP"Service type
serviceAccount.annotationsobject{}Annotations for service account. Evaluated as a template.
serviceAccount.createbooltrueEnable creation of ServiceAccount for nginx pod
serviceAccount.labelsobject{}Labels for service account. Evaluated as a template.
serviceAccount.namestringA name is generated using the github_exporter.fullname templateThe name of the ServiceAccount to use.

Deploy github-exporter with OpenTenant

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