Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ spec:
{{- end }}
{{- end }}
terminationGracePeriodSeconds: 30
securityContext: {}
securityContext:
{{ toYaml .Values.cloudCollector.securityContext | indent 8 }}
serviceAccountName: {{ include "opentelemetry-collector-cloud-collector.serviceAccountName" . }}
{{- with .Values.cloudCollector.nodeSelector }}
nodeSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ spec:
{{- end }}
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
hostPID: true
hostPID: false
Copy link
Member

Choose a reason for hiding this comment

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

I think this is a crucial parameter for ebpf programs.

serviceAccountName: {{ include "opentelemetry-collector-kernel-collector.serviceAccountName" . }}
volumes:
- name: {{ include "opentelemetry-ebpf.fullname" . }}-config
Expand Down
12 changes: 11 additions & 1 deletion charts/opentelemetry-ebpf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,17 @@ cloudCollector:
registry: ""
tag: ""
name: opentelemetry-ebpf-cloud-collector

resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "500m"
securityContext:
runAsUser: 1000
runAsNonRoot: true
readOnlyRootFilesystem: true
serviceAccount:
create: true
name: ""
Expand Down