Otel Agent Connection Issue in DOK Cluster

TLDR Christopher encountered an issue with the otel agent not connecting to the host node in a DOK cluster and asked for help. Srikanth mentioned that DOK-specific issues have been seen before but offered no solution.

Photo of Christopher
Christopher
Wed, 31 May 2023 20:41:10 UTC

Hey! Anyone run into an issue with the otel agent not able to connect to the host node? I've seen some solutions for kube-metrics but nothing for the otel agent. This is running on a DOK cluster ```"2023-05-31T20:39:36.574Z\terror\tscraperhelper/scrapercontroller.go:212\tError scraping metrics\t{\"kind\": \"receiver\", \"name\": \"kubeletstats\", \"data_type\": \"metrics\", \"error\": \"Get \\\"\\\": dial tcp: lookup dynamic-premium-intel-frnw6 on 10.245.0.10:53: no such host\", \"scraper\": \"kubeletstats\"}"```

Photo of Srikanth
Srikanth
Thu, 01 Jun 2023 01:30:09 UTC

We have seen some issues specific to DOK cluster environments. <@4K165d> might have some pointers.

Photo of Christopher
Christopher
Thu, 01 Jun 2023 04:00:15 UTC

I tried changing it from the fqdn to the IP but still no luck. Any help on this would be appreciated.

Photo of Christopher
Christopher
Tue, 06 Jun 2023 22:28:28 UTC

any guidance on this or are we out of luck in terms of running this on a DOK cluster