Enrollment handing for containerized Fleet-managed agents
edit
A newer version is available. Check out the latest documentation.
Enrollment handing for containerized Fleet-managed agents
editBeginning with version 8.18, for Fleet-managed Elastic Agents that run in a containerized environment (including Docker, Kubernetes, and others), enrollment handling is managed as follows:
- Enrollment Verification: The Elastic Agent checks the stored enrollment conditions within its container environment and re-enrolls only when necessary.
- Unenrollment Handling: If an Elastic Agent is unenrolled via the Fleet UI but still references a valid enrollment token provided through environment variables, it will automatically re-enroll on the next container restart.
In versions lower than 8.18, an unenrolled agent remains unenrolled and does not re-enroll, even if a valid enrollment token is still available.