Skip to content

set hostPID:true in elastic-agent-managed-kubernetes.yaml #459

@m-sample

Description

@m-sample

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).

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions