Elastic agent random shutdown/goes offline

Ive deployed a elk stack with elastic kibana and fleet server, all going smooth using self-gen self-created certs for transport all the way and my own ssl in front via ingress

version 6.2.1
created with elk operator in k8s 1.25.5
im not using any proxy just nginx ingress

i get logs metric everything ! but at random times like every x 30-45 min agent goes offline for short time then comes online again

this is the log from the agent

and no there is NO connectvity error on the network, did alot of testing and benchmarking

[elastic_agent][warn] Possible transient error during checkin with fleet-server, retrying
21:48:40.396
elastic_agent
[elastic_agent][warn] Possible transient error during checkin with fleet-server, retrying
21:52:22.736
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
21:58:43.844
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
22:12:32.261
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
22:26:44.187
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
22:38:12.181
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
22:51:49.649
elastic_agent
[elastic_agent][error] Cannot checkin in with fleet-server, retrying
22:54:39.891
elastic_agent
[elastic_agent][info] service.HandleSignals invoked stop function. Shutting down
22:54:39.891
elastic_agent
[elastic_agent][info] Shutting down Elastic Agent and sending last events...
22:54:39.891
elastic_agent
[elastic_agent][error] checkin retry loop was stopped
22:54:39.998
elastic_agent
[elastic_agent][info] Shutting down completed.
22:54:39.998
elastic_agent
[elastic_agent][info] Stats endpoint (127.0.0.1:6791) finished: accept tcp 127.0.0.1:6791: use of closed network connection
22:59:00.697
elastic_agent
[elastic_agent][info] APM instrumentation disabled
22:59:00.716
elastic_agent
[elastic_agent][info] Gathered system information
22:59:00.750
elastic_agent
[elastic_agent][info] Detected available inputs and outputs
22:59:00.751
elastic_agent
[elastic_agent][info] Capabilities file not found in C:\Program Files\Elastic\Agent\capabilities.yml
22:59:00.751
elastic_agent
[elastic_agent][info] Determined allowed capabilities
22:59:00.804
elastic_agent
[elastic_agent][info] Parsed configuration and determined agent is managed by Fleet
22:59:00.833
elastic_agent
[elastic_agent][info] Starting stats endpoint
22:59:00.833
elastic_agent
[elastic_agent][info] Metrics endpoint listening on: 127.0.0.1:6791 (configured: http://localhost:6791)
22:59:00.837
elastic_agent
[elastic_agent][info] Docker provider skipped, unable to connect: protocol not available
22:59:01.045
elastic_agent
[elastic_agent][info] restoring current policy from disk
22:59:01.071
elastic_agent
[elastic_agent][info] Source URI changed from "https://artifacts.elastic.co/downloads/" to "https://artifacts.elastic.co/downloads/"
22:59:01.073
elastic_agent
[elastic_agent][info] Updating running component model
22:59:01.315
elastic_agent
[elastic_agent][info] Spawned new component windows/metrics-default: Starting: spawned pid '26520'
22:59:01.315
elastic_agent
[elastic_agent][info] Spawned new unit windows/metrics-default-windows/metrics-windows-6c01787c-8085-434e-a80f-0dbc38cc5b19: Starting: spawned pid '26520'
22:59:01.315
elastic_agent
[elastic_agent][info] Spawned new unit windows/metrics-default: Starting: spawned pid '26520'
22:59:01.404
elastic_agent
[elastic_agent][info] Spawned new component log-default: Starting: spawned pid '23380'
22:59:01.404
elastic_agent
[elastic_agent][info] Spawned new unit log-default-logfile-system-e199b296-bd50-4066-b9ea-85ebebe3bed2: Starting: spawned pid '23380'

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.