The DD agent startup failed on container as its not auto detecting container hostname. Agent works fine when its on a host , but when it runs on a container , we face this . Relook at the agent configuration to fix the issue
![](https://miro.medium.com/max/700/1*IMAVZDCwU-GbnOFkjkMP0g.jpeg)
Fix : The issue was due to Agent unable to connect kubelet API through https . By default TLS verification is enabled . Disabled the TLS verification by setting DD_KUBELET_TLS_VERIFY variable for all containers in Agent manifest — Helm : values.yaml
Then redeploy the agent and issue will be fixed
For more such troubleshooting — Follow us — cubensquare.com
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.