Check if Agent can run in unprivileged mode #4736
Labels
enhancement
New feature or request
Team:Elastic-Agent-Control-Plane
Label for the Agent Control Plane team
Describe the enhancement:
When a user is installing Elastic Agent to run in unprivileged mode or converting a privileged mode Agent to an unprivileged mode Agent, Agent should do a best effort check to determine if there any reasons, e.g. permissions issues, that would prevent the Agent from running in unprivileged mode. If such reasons are found, they should be displayed to the user and the installation or conversion should fail.
Describe a specific use case for the enhancement or feature:
Helping users before they start running Elastic Agent in unprivileged mode understand what fixes they might need to make for Agent to successfully run in unprivileged mode.
What is the definition of done?
For every scenario that Agent checks, a test that sets up this scenario and ensures that the corresponding reason is reported by Agent.
The text was updated successfully, but these errors were encountered: