kubeservice-ebpf-exporter
A Helm chart for ebpf_exporter
About this chart
Kubeservice eBPF Exporter
eBPF Exporter is a Prometheus exporter for custom eBPF metrics.
Kubeservice eBPF Exporter motivation of this exporter is to allow you to write eBPF code and export metrics that are not otherwise accessible from the Linux kernel.
This chart creates a Kubeservice eBPF Exporter deployment on a Kubernetes cluster using the Helm package manager.
Source Code
Requirements
Kubernetes 1.16+
Add Helm repository
helm repo add kubeservice-stack https://kubeservice-stack.github.io/kubservice-charts
helm repo update
See helm repo for command documentation.
Install Chart
helm install [RELEASE_NAME] kubeservice-ebpf-exporter
See configuration below.
See helm install for command documentation.
Uninstall Chart
helm uninstall [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Upgrading Chart
helm upgrade [RELEASE_NAME] [CHART] --install
See helm upgrade for command documentation.
Configuration
See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:
# Helm 2
$ helm inspect values kubeservice-ebpf-exporter
# Helm 3
$ helm show values kubeservice-ebpf-exporter
See kubeservice-stack/ebpf_exporter/README.md for further information.
Values
| Parameter | Description | Default |
|---|---|---|
image.repository | image repository | ghcr.io/cloudflare/ebpf_exporter |
image.tag | image tag | latest |
image.pullPolicy | image pull policy | IfNotPresent |
service.type | service type | ClusterIP |
service.port | service port | 80 |
service.annotations | service annotations | {} |
resources | resource requests of the pods in the daemonset | {} |
podAnnotations | annotations of pods in daemonset | {} |
nodeSelector | node selector rules | {} |
tolerations | node tolerations | - effect: NoSchedule operator: Exists |
affinity | pod affinity rules | {} |
Autogenerated from chart metadata using helm-docs v1.4.0
Deploy kubeservice-ebpf-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubeservice-ebpf-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 chartkubeservice-ebpf-exporter is pinned at v1.2.1 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