-
Notifications
You must be signed in to change notification settings - Fork 184
Description
Describe the enhancement:
Currently the Agent's managed Kubernetes YAML leaves "hostPID" unspecified so it defaults to false (https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#hosts-namespaces). Please change it to "hostPID:true" to grant sufficient access to in-Pod Agent integrations/containers so they may perform their expected tasks.
The hostPID attribute appears to be a Pod-wide setting that cannot be overridden at the container level in that Pod spec.
Describe a specific use case for the enhancement or feature:
Some integrations/containers in the same Pod need access to the host pid namespace, for example, to ensure the integration container's /proc has visibility of all processes on the host (including those in other Pods, e.g. for event enrichment) and to allow response actions such as killing any disallowed process (when combined with other privileges in that container's SecurityContext).