beyla

by Grafana

Helm chartv1.16.21App 3.44.0

eBPF-based autoinstrumentation HTTP, HTTP2 and gRPC services, as well as network metrics.

About this chart

beyla

eBPF-based autoinstrumentation HTTP, HTTP2 and gRPC services, as well as network metrics.

Homepage: https://grafana.com/oss/beyla-ebpf/

Maintainers

NameEmailUrl
mariomachttps://github.com/mariomac
grcevskihttps://github.com/grcevski
marctchttps://github.com/marctc
rafaelroquettohttps://github.com/rafaelroquetto
sklhttps://github.com/skl

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}used for scheduling of pods based on affinity rules
config.checksumstring""Use tpl so parent charts can pass templated checksums.
config.createbooltrueset to true, to use the below default configurations
config.dataobject{"attributes":{"kubernetes":{"enable":true}},"filter":{"network":{"k8s_dst_owner_name":{"not_match":"{kube*,*jaeger-agent*,*prometheus*,*promtail*,*grafana-agent*}"},"k8s_src_owner_name":{"not_match":"{kube*,*jaeger-agent*,*prometheus*,*promtail*,*grafana-agent*}"}}},"prometheus_export":{"path":"/metrics","port":9090}}default value of beyla configuration
config.namestring""
config.skipConfigMapCheckboolfalseset to true, to skip the check around the ConfigMap creation
contextPropagationobject{"enabled":true}Enables context propagation support.
dnsPolicystring"ClusterFirstWithHostNet"Determines how DNS resolution is handled for that pod. If .Values.preset is set to network or .Values.config.data.network is enabled, Beyla requires hostNetwork access, causing cluster service DNS resolution to fail. It is recommended not to change this if Beyla sends traces and metrics to Grafana components via k8s service.
enabledbooltrueWhether to deploy the Beyla DaemonSet. Defaults to true. Set to false to deploy only the Kubernetes metadata cache.
envobject{}extra environment variables
envValueFromobject{}extra environment variables to be set from resources such as k8s configMaps/secrets
extraCapabilitieslist[]Extra capabilities for unprivileged / less privileged setup.
extraObjectslist[]Extra k8s manifests to deploy
fullnameOverridestring""Overrides the chart's computed fullname.
global.image.pullSecretslist[]Optional set of global image pull secrets.
global.image.registrystring""Global image registry to use if it needs to be overridden for some specific use cases (e.g local registries, custom images, ...)
image.digeststringnilBeyla image's SHA256 digest (either in format "sha256:XYZ" or "XYZ"). When set, will override image.tag.
image.pullPolicystring"IfNotPresent"Beyla image pull policy.
image.pullSecretslist[]Optional set of image pull secrets.
image.registrystring"docker.io"Beyla image registry (defaults to docker.io)
image.repositorystring"grafana/beyla"Beyla image repository.
image.tagstringnilBeyla image tag. When empty, the Chart's appVersion is used.
injectorobject{"enabled":false}Configures RBAC for the k8s-injection-controller OpenTelemetry SDK injector, which writes per-node state ConfigMaps consumed by the injection controller.
injector.enabledboolfalseWhether to grant the DaemonSet permission to create and update the injector state ConfigMaps in its own namespace (via a namespaced Role). Enable this alongside the injector settings in the Beyla configuration. Requires rbac.create to be true.
k8sCacheobject{"affinity":{},"annotations":{},"env":{},"envValueFrom":{},"image":{"digest":null,"pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"docker.io","repository":"grafana/beyla-k8s-cache","tag":null},"internalMetrics":{"path":"/metrics","port":0,"portName":"metrics"},"nodeSelector":{},"podAnnotations":{},"podLabels":{},"profilePort":0,"replicas":0,"resources":{},"service":{"annotations":{},"labels":{},"name":"beyla-k8s-cache","port":50055},"tolerations":[]}Options to deploy the Kubernetes metadata cache as a separate service
k8sCache.affinityobject{}used for scheduling of cache pods based on affinity rules
k8sCache.annotationsobject{}Deployment annotations.
k8sCache.envobject{}extra environment variables
k8sCache.envValueFromobject{}extra environment variables to be set from resources such as k8s configMaps/secrets
k8sCache.image.digeststringnilK8s Cache image's SHA256 digest (either in format "sha256:XYZ" or "XYZ"). When set, will override image.tag.
k8sCache.image.pullPolicystring"IfNotPresent"K8s Cache image pull policy.
k8sCache.image.pullSecretslist[]Optional set of image pull secrets.
k8sCache.image.registrystring"docker.io"K8s Cache image registry (defaults to docker.io)
k8sCache.image.repositorystring"grafana/beyla-k8s-cache"K8s Cache image repository.
k8sCache.image.tagstringnilK8s Cache image tag. When empty, the Chart's appVersion is used.
k8sCache.nodeSelectorobject{}The nodeSelector field allows user to constrain which nodes cache pods are scheduled to based on labels on the node
k8sCache.podAnnotationsobject{}Adds custom annotations to the Beyla Kube Cache Pods.
k8sCache.podLabelsobject{}Adds custom labels to the Beyla Kube Cache Pods.
k8sCache.profilePortint0Enables the profile port for the Beyla cache
k8sCache.replicasint0Number of replicas for the Kubernetes metadata cache service. 0 disables the service.
k8sCache.service.annotationsobject{}Service annotations.
k8sCache.service.labelsobject{}Service labels.
k8sCache.service.namestring"beyla-k8s-cache"Name of both the Service and Deployment
k8sCache.service.portint50055Port of the Kubernetes metadata cache service.
k8sCache.tolerationslist[]Tolerations allow cache pods to be scheduled on nodes with specific taints
minReadySecondsint0Minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its containers crashing, for it to be considered available. ref: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#min-ready-seconds
nameOverridestring""Overrides the chart's name
namespaceOverridestring""Override the deployment namespace
nodeSelectorobject{}The nodeSelector field allows user to constrain which nodes your DaemonSet pods are scheduled to based on labels on the node
podAnnotationsobject{}Adds custom annotations to the Beyla Pods.
podLabelsobject{}Adds custom labels to the Beyla Pods.
podSecurityContextobject{}
presetstring"application"Preconfigures some default properties for network or application observability. Accepted values are "network" or "application".
priorityClassNamestring""
privilegedbooltrueIf set to false, deploys an unprivileged / less privileged setup.
rbac.createbooltrueWhether to create RBAC resources for Beyla
rbac.extraClusterRoleRuleslist[]Extra cluster roles to be created for Beyla
resourcesobject{}
securityContextobject{"privileged":true}Security context for privileged setup.
service.annotationsobject{}Service annotations.
service.appProtocolstring""Adds the appProtocol field to the service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
service.clusterIPstring""cluster IP
service.enabledboolfalsewhether to create a service for metrics
service.internalMetrics.appProtocolstring""Adds the appProtocol field to the service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
service.internalMetrics.portint8080internal metrics service port
service.internalMetrics.portNamestring"int-metrics"name of the port for internal metrics.
service.internalMetrics.targetPortstringniltargetPort overrides the internal metrics port. It defaults to the value of internal_metrics.prometheus.port from the Beyla configuration file.
service.labelsobject{}Service labels.
service.loadBalancerClassstring""loadbalancer class name
service.loadBalancerIPstring""loadbalancer IP
service.loadBalancerSourceRangeslist[]source ranges for loadbalancer
service.portint80Prometheus metrics service port
service.portNamestring"metrics"name of the port for Prometheus metrics.
service.targetPortstringniltargetPort overrides the Prometheus metrics port. It defaults to the value of prometheus_export.port from the Beyla configuration file.
service.typestring"ClusterIP"type of the service
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.labelsobject{}ServiceAccount labels.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
serviceMonitorobject{"additionalLabels":{},"annotations":{},"enabled":false,"internalMetrics":{"endpoint":{"interval":"15s"}},"jobLabel":"","metrics":{"endpoint":{"interval":"15s"}}}Enable creation of ServiceMonitor for scraping of prometheus HTTP endpoint
serviceMonitor.additionalLabelsobject{}Add custom labels to the ServiceMonitor resource
serviceMonitor.annotationsobject{}ServiceMonitor annotations
serviceMonitor.internalMetrics.endpointobject{"interval":"15s"}ServiceMonitor internal metrics scraping endpoint. Target port and path is set based on service and internal_metrics values. For additional values, see the ServiceMonitor spec
serviceMonitor.jobLabelstring""Prometheus job label. If empty, chart release name is used
serviceMonitor.metrics.endpointobject{"interval":"15s"}ServiceMonitor Prometheus scraping endpoint. Target port and path is set based on service and prometheus_export values. For additional values, see the ServiceMonitor spec
tolerationslist[]Tolerations allow pods to be scheduled on nodes with specific taints
updateStrategy.typestring"RollingUpdate"update strategy type
volumeMountslist[]Additional volumeMounts on the output daemonset definition.
volumeslist[]Additional volumes on the output daemonset definition.

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy beyla with OpenTenant

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