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
| Name | Url | |
|---|---|---|
| jkroepke | [email protected] | https://github.com/jkroepke |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| annotations | object | {} | annotations of the Deployment. |
| env | object | {} | |
| extraVolumeMounts | string | "" | Add additional volumes mounts, e. g. for custom secrets |
| extraVolumes | string | "" | Add additional volumes, e.g. for custom secrets |
| fullnameOverride | string | "" | String to fully override amazon-eks-pod-identity.fullname template |
| image.pullPolicy | string | "IfNotPresent" | |
| image.registry | string | "docker.io" | github_exporter image registry |
| image.repository | string | "jkroepke/github_exporter" | github_exporter image repository |
| image.tag | string | .Chart.AppVersion | github_exporter image tag (immutable tags are recommended). |
| imagePullSecrets | list | [] | registry secret names as an array |
| labels | object | {} | labels of the Deployment. |
| metrics.serviceMonitor.annotations | object | {} | Additional ServiceMonitor annotations (evaluated as a template) # |
| metrics.serviceMonitor.enabled | bool | false | Specify if a ServiceMonitor will be deployed for Prometheus Operator # |
| metrics.serviceMonitor.honorLabels | bool | false | honorLabels chooses the metric's labels on collisions with target labels # |
| metrics.serviceMonitor.interval | string | "" | 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.jobLabel | string | "" | The name of the label on the target service to use as the job name in Prometheus # |
| metrics.serviceMonitor.labels | object | {"release":"kube-prometheus-stack"} | Extra labels for the ServiceMonitor # |
| metrics.serviceMonitor.metricRelabelings | list | [] | Specify additional relabeling of metrics # |
| metrics.serviceMonitor.namespace | string | "" | Namespace in which Prometheus is running # |
| metrics.serviceMonitor.relabelings | list | [] | Specify general relabeling # |
| metrics.serviceMonitor.scrapeTimeout | string | "" | 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.selector | object | {} | Prometheus instance selector labels # ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration # selector: # prometheus: my-prometheus # |
| nameOverride | string | "" | String to partially override github_exporter.fullname template (will maintain the release name) |
| podAnnotations | object | {} | Annotations for github_exporter pods |
| podLabels | object | {} | Additional labels for github_exporter pods |
| podSecurityContext | object | {} | github_exporter pods' Security Context. |
| resources.limits | object | {} | The resources limits for the amazon-eks-pod-identity-webhook container # Example: # limits: # cpu: 100m # memory: 128Mi |
| resources.requests | object | {} | The requested resources for the amazon-eks-pod-identity-webhook container # Examples: # requests: # cpu: 100m # memory: 128Mi |
| secrets | object | {} | |
| securityContext.readOnlyRootFilesystem | bool | true | Pod securityContext: Enable read-only root filesystem |
| securityContext.runAsGroup | int | 1 | Pod securityContext: Run primary group id |
| securityContext.runAsNonRoot | bool | false | Pod securityContext: Disable root user |
| securityContext.runAsUser | int | 65534 | Pod securityContext: Run user id |
| service.annotations | object | {} | Service annotations |
| service.type | string | "ClusterIP" | Service type |
| serviceAccount.annotations | object | {} | Annotations for service account. Evaluated as a template. |
| serviceAccount.create | bool | true | Enable creation of ServiceAccount for nginx pod |
| serviceAccount.labels | object | {} | Labels for service account. Evaluated as a template. |
| serviceAccount.name | string | A name is generated using the github_exporter.fullname template | The 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgithub-exporter is pinned at v1.4.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