Unable to deploy elastic agent on kubernetes as daemonset

Hi,

I'm having some issue trying to deploy elastic agent to monitor kubernetes as a daemonset. Please see logs from the pod as following. Greatly appreciate some guidance.

{"log.level":"warn","@timestamp":"2022-07-18T17:14:14.017Z","log.logger":"tls","log.origin":{"file.name":"tlscommon/tls_config.go","file.line":104},"message":"SSL/TLS verifications disabled.","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-07-18T17:14:14.798Z","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":471},"message":"Starting enrollment to URL: https://45ef1f510e2d48e5829d451a2bc24879.fleet.asia-southeast1.gcp.elastic-cloud.com:443/","ecs.version":"1.6.0"}
{"log.level":"warn","@timestamp":"2022-07-18T17:14:14.899Z","log.logger":"tls","log.origin":{"file.name":"tlscommon/tls_config.go","file.line":104},"message":"SSL/TLS verifications disabled.","ecs.version":"1.6.0"}
{"log.level":"warn","@timestamp":"2022-07-18T17:14:24.902Z","log.logger":"transport","log.origin":{"file.name":"transport/tcp.go","file.line":52},"message":"DNS lookup failure "45ef1f510e2d48e5829d451a2bc24879.fleet.asia-southeast1.gcp.elastic-cloud.com": lookup 45ef1f510e2d48e5829d451a2bc24879.fleet.asia-southeast1.gcp.elastic-cloud.com on 10.96.0.10:53: read udp 10.128.0.36:38925->10.96.0.10:53: read: connection refused","ecs.version":"1.6.0"}
Error: fail to enroll: fail to execute request to fleet-server: lookup 45ef1f510e2d48e5829d451a2bc24879.fleet.asia-southeast1.gcp.elastic-cloud.com on 10.96.0.10:53: read udp 10.128.0.36:38925->10.96.0.10:53: read: connection refused
For help, please see our troubleshooting guide at Troubleshoot common problems | Fleet and Elastic Agent Guide [8.3] | Elastic
Error: enrollment failed: exit status 1
For help, please see our troubleshooting guide at Troubleshoot common problems | Fleet and Elastic Agent Guide [8.3] | Elastic

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