elastic / elastic-package

elastic-package - Command line tool for developing Elastic Integrations
Other
44 stars 107 forks source link

Improve healthcheck for Fleet Server #1820

Closed jsoriano closed 2 weeks ago

jsoriano commented 3 weeks ago

Fleet Server restarts once after being healthy. Agents enrolling during this restart fail and need to be restarted. Improve the healthcheck so it expects to have three healthy healthchecks before considering Fleet Server ready to enroll. This should reduce the number of restarts required by Elastic Agent on first boot.

Reduce also the time to wait when the agent is restarted in case it fails on a first boot.

And rename some files to avoid legacy names.

elasticmachine commented 3 weeks ago

:broken_heart: Build Failed

Failed CI Steps

History

cc @jsoriano

jsoriano commented 2 weeks ago

File renames moved to https://github.com/elastic/elastic-package/pull/1835, closing this.