cloud-on-k8s
cloud-on-k8s copied to clipboard
Elastic Agent - Agent ID is not retained in kubernetes elastic agent daemonset
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