elastic / cloud-on-k8s

Elastic Cloud on Kubernetes
Other
53 stars 707 forks source link

Fleet server does not have a liveness probe, thus it cannot be auto-restarted even if it fails #6808

Open fzyzcjy opened 1 year ago

fzyzcjy commented 1 year ago

Bug Report

Hi thanks for elastic stack! However, Fleet server does not have a liveness probe, thus it cannot be auto-restarted even if it fails.

What did you do? Use ECK to deploy a fleet server

What did you expect to see? have liveness probe

What did you see instead? Under which circumstances? not have

Environment k8s

pebrc commented 1 year ago

I think Fleet server usually terminates on failure and auto-restarts therefore. What kind of liveness probe did you have in mind?

fzyzcjy commented 1 year ago

Hi thanks for the reply. I do see sometimes it stucks, i.e. my java spring program runs normally, the elasticsearch runs normally, but fleet stops doing anything and thus the APM data is not sent into elasticsearch. I hope the probe can avoid this problem.