Open
Description
When the same cluster is used by 2 (or more) Go Servers, each Go Server plugin instance, based on the timeout for registering kills the other Go Server pods.
Example:
Go Server A creates an elastic agent A
Elastic agent A is running a job that takes more than the register timeout defined in Go Server B
Go Server B terminates Elastic agent A
From looking at the code, the criteria used to obtain the list of pods to check for register timeouts doesn't take into account the Go Server. It considers all the pods irregardless of the Go Server.