Deployed elastic stack using ECK operator
Trying to deploy elastic agent as deployment to run synthetics. Deployed fleet server as its required for synthetics elastic agent
Followed the config from below
https://raw.githubusercontent.com/elastic/cloud-on-k8s/2.9/config/recipes/elastic-agent/fleet-kubernetes-integration.yaml
First issue was agent was not starting up without creating policy manually in kibana UI
Created agent policy and used that synthetics agent config
Elastic agent started up without issue. But i see following error
17:19:01.711
elastic_agent
[elastic_agent][warn] Possible transient error during checkin with fleet-server, retrying
17:21:41.873
elastic_agent
[elastic_agent][error] ack retrier: commit failed with error: acknowledge 1 actions '[action_id: policy:3b0f0980-7dc3-11ee-b527-1b8d592e7276:1:1, type: POLICY_CHANGE]' for elastic-agent '9e6738ff-e837-48b5-a683-822e51abe685' failed: read tcp 10.15.225.60:56824->172.20.116.33:8220: read: connection reset by peer
17:22:17.783
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
17:22:42.961
elastic_agent
[elastic_agent][info] Updating running component model
17:26:02.920
elastic_agent
[elastic_agent][error] ack retrier: commit failed with error: acknowledge 1 actions '[action_id: policy:3b0f0980-7dc3-11ee-b527-1b8d592e7276:1:1, type: POLICY_CHANGE]' for elastic-agent '9e6738ff-e837-48b5-a683-822e51abe685' failed: read tcp 10.15.225.60:46850->172.20.116.33:8220: read: connection reset by peer
17:27:07.811
elastic_agent
[elastic_agent][info] Updating running component model
17:27:07.916
elastic_agent
[elastic_agent][info] Updating running component model
17:27:46.123
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
17:27:48.332
elastic_agent
[elastic_agent][info] Updating running component model
17:30:09.351
elastic_agent
[elastic_agent][error] ack retrier: commit failed with error: acknowledge 1 actions '[action_id: policy:3b0f0980-7dc3-11ee-b527-1b8d592e7276:1:1, type: POLICY_CHANGE]' for elastic-agent '9e6738ff-e837-48b5-a683-822e51abe685' failed: read tcp 10.15.225.60:50596->172.20.116.33:8220: read: connection reset by peer
17:32:53.451
elastic_agent
[elastic_agent][info] Updating running component model