cloud-on-k8s icon indicating copy to clipboard operation
cloud-on-k8s copied to clipboard

Elastic Agent - Agent ID is not retained in kubernetes elastic agent daemonset

Open jade-lucas opened this issue 1 year ago • 4 comments

Bug Report

What did you do?

Installed elastic agents on kubneretes cluster via DaemonSet as directed by the Fleet UI. Every time an elastic-agent pod is restarted, the agent ID changes which I think results many offline agents showing in the Fleet UI over time.

What did you expect to see? The agent to retain its Id thus only one agent to appear in Fleet UI.

What did you see instead? Under which circumstances? After every pod restart, a new agent appears even though it is on the same host.

  • Kubernetes information:

    • On premise kubernetes
    • Kubernetes distribution: Vanilla v4.5.7
    • kubectl version: 1.25

jade-lucas avatar Apr 23 '23 21:04 jade-lucas