Skip to content

add opentelemetry-ebpf-instrumentation helm chart #1704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

NimrodAvni78
Copy link

@NimrodAvni78 NimrodAvni78 commented Jun 5, 2025

Helm chart for opentelemetry-ebpf-instrumentation, the helm chart is based on the original beyla helm chart

issue

Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to discuss this chart addition in the issue first

@ittai-coralogix
Copy link

We need to discuss this chart addition in the issue first

Hey @TylerHelmuth, just added a comment in the issue. Hope it clarifies everything.

Copy link

@mariomac mariomac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@NimrodAvni78
Copy link
Author

@mariomac iv'e added to k8s cache to the helm chart, so i would love a re-review

Copy link

@mariomac mariomac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!! Thanks for the contribution

- Integrate the chart with the Makefile for consistent tooling support.
- Add examples and render via `make generate-examples'.
@NimrodAvni78 NimrodAvni78 force-pushed the otel-ebpf-instrumentation branch from 9a6914d to f91fcfa Compare June 19, 2025 08:12
@NimrodAvni78
Copy link
Author

@TylerHelmuth i see that mario has approved
what are the next steps to get this merged?

@TylerHelmuth TylerHelmuth dismissed their stale review June 20, 2025 21:19

I still need to do a real review but wont have time till July. But I dont want to block anymore.

Copy link
Contributor

github-actions bot commented Jul 5, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jul 5, 2025
@NimrodAvni78
Copy link
Author

hey @TylerHelmuth, are you available for a review of this?

@github-actions github-actions bot removed the Stale label Jul 7, 2025
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the github workflows so that this chart is tested? chart-testing will do a default install if there is no ci folder

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a section detailing requirements

- https://github.com/open-telemetry/opentelemetry-helm-charts
icon: https://opentelemetry.io/img/logos/opentelemetry-logo-nav.png
maintainers:
- name: nimrodavni78
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: nimrodavni78
- name: dmitryax
- name: jaronoff97
- name: TylerHelmuth
- name: nimrodavni78

@@ -0,0 +1,14 @@
---
apiVersion: v2
name: opentelemetry-ebpf-instrumentation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@open-telemetry/helm-approvers this name is a bit long, do you think we could shorten it to opentelemetry-ebpf-instr?

{{/*
Expand the name of the chart.
*/}}
{{- define "obi.name" -}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please prefix all the templates with the chart's name instead of obi

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename file to daemonset.yaml please.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename to clusterrole.yaml

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rename to clusterrolebinding.yaml

Comment on lines +20 to +37
ebpf-instrument-config.yml: |
{{- if eq .Values.preset "network" }}
{{- if not .Values.config.data.network }}
network:
enable: true
{{- end }}
{{- end }}
{{- if eq .Values.preset "application" }}
{{- if not .Values.config.data.discovery }}
discovery:
services:
- k8s_namespace: .
exclude_services:
- exe_path: ".*ebpf-instrument.*|.*otelcol.*"
{{- end }}
{{- end }}
{{- toYaml .Values.config.data | nindent 4}}
{{- end }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets move the configmap logic into a helper template like the other charts do

Comment on lines +3 to +8
global:
image:
# -- Global image registry to use if it needs to be overridden for some specific use cases (e.g local registries, custom images, ...)
registry: ""
# -- Optional set of global image pull secrets.
pullSecrets: []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this and .Values.image?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants