Skip to content

Commit

Permalink
Allow node agent to access the host network (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
otterobert authored Nov 19, 2024
1 parent e5b935c commit 4e00adb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions network-mapper/templates/agent-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ spec:
- name: OTTERIZE_PII_DETECTOR_API_URL
value: http://{{ template "otterize.piidetector.fullName" . }}:5000/

- name: OTTERIZE_HOST_PROC_DIR
value: /host/proc

volumeMounts:
- name: host-proc
mountPath: /host/proc
Expand All @@ -121,6 +124,9 @@ spec:
securityContext:
privileged: true

hostNetwork: true # use the host network for tracing network traffic
dnsPolicy: ClusterFirstWithHostNet # resolve kubernetes service names

volumes:
- hostPath:
path: /proc
Expand Down

0 comments on commit 4e00adb

Please sign in to comment.