-
Notifications
You must be signed in to change notification settings - Fork 614
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
base: main
Are you sure you want to change the base?
add opentelemetry-ebpf-instrumentation helm chart #1704
Conversation
There was a problem hiding this 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
Hey @TylerHelmuth, just added a comment in the issue. Hope it clarifies everything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
@mariomac iv'e added to k8s cache to the helm chart, so i would love a re-review |
There was a problem hiding this 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'.
9a6914d
to
f91fcfa
Compare
@TylerHelmuth i see that mario has approved |
I still need to do a real review but wont have time till July. But I dont want to block anymore.
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
hey @TylerHelmuth, are you available for a review of this? |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: nimrodavni78 | |
- name: dmitryax | |
- name: jaronoff97 | |
- name: TylerHelmuth | |
- name: nimrodavni78 |
@@ -0,0 +1,14 @@ | |||
--- | |||
apiVersion: v2 | |||
name: opentelemetry-ebpf-instrumentation |
There was a problem hiding this comment.
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" -}} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
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 }} |
There was a problem hiding this comment.
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
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: [] |
There was a problem hiding this comment.
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
?
Helm chart for opentelemetry-ebpf-instrumentation, the helm chart is based on the original beyla helm chart
issue