Explicitly document the capabilities a non-root container needs to run the Kubernetes and System integrations #5276
Labels
Team:Cloudnative-Monitoring
Label for the Cloud Native Monitoring team
Team:Elastic-Agent-Control-Plane
Label for the Agent Control Plane team
We frequently get asked for the configuration of the Elastic Agent container that requires the least amount of privileges for a given application. The first problem is we run as the root user by default in our reference manifests, bypassing the need to think about capabilities.
Running as root is required for several security applications, but not common observability applications. We should create or document the configuration needed to run the Kubernetes and System integrations as a non-root user in our reference YAML so we can stop having to answer these questions.
elastic-agent/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml
Lines 68 to 83 in a1fd2c9
The text was updated successfully, but these errors were encountered: