question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After upgrade to kubernetes 1.11 : Unable to detect the kubelet URL automatically.

See original GitHub issue
[ AGENT ] 2018-06-29 13:34:00 UTC | ERROR | (runner.go:277 in work) | Error running check kubelet: [{"message": "Unable to detect the kubelet URL automatically.", "traceback": "Traceback (most recent call last):\n  File \"/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/checks/base.py\", line 294, in run\n    self.check(copy.deepcopy(self.instances[0]))\n  File \"/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/kubelet/kubelet.py\", line 86, in check\n    raise CheckException(\"Unable to detect the kubelet URL automatically.\")\nCheckException: Unable to detect the kubelet URL automatically.\n"}]
[ AGENT ] 2018-06-29 13:34:08 UTC | ERROR | (autoconfig.go:514 in collect) | Unable to collect configurations from provider Kubernetes pod annotation: permanent failure in kubeutil: retry number exceeded
[ AGENT ] 2018-06-29 13:34:15 UTC | ERROR | (kubeutil.go:50 in GetKubeletConnectionInfo) | connection to kubelet failed: permanent failure in kubeutil: retry number exceeded

Any ideas ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

17reactions
Aiqbal1234commented, Oct 18, 2018

@vmendi Any follow up on this?

3reactions
sciyoshicommented, Jul 9, 2018

I had this issue as well after building a cluster on k8s 1.11 with kubeadm, for me it seemed like kubelet no longer listens on port 10255 (the ReadOnlyPort) by default. I fixed this by adding adding KUBELET_EXTRA_ARGS=--read-only-port=10255 in /etc/default/kubelet on the node host and restarting the kubelet service.

Read more comments on GitHub >

github_iconTop Results From Across the Web

After upgrade to kubernetes 1.11 : Unable to detect the kubelet URL ...
After upgrade to kubernetes 1.11 : Unable to detect the kubelet URL ... running check kubelet: [{"message": "Unable to detect the kubelet URL...
Read more >
Unable to detect the kubelet URL automatically - Stack Overflow
This was a issue with deployed DataDog daemonset for me: What I did to resolve: Check daemonset if it exists or not: kubectl...
Read more >
How To Detect The Kubelet Url Automatically - ADocLib
Once the environment is ready you can check the different cluster nodes and the Kubernetes version they are running by executing this command:...
Read more >
kubelet | Kubernetes
The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the ...
Read more >
Reconfigure a Node's Kubelet in a Live Cluster - Kubernetes
FEATURE STATE: Kubernetes v1.22 [deprecated] Caution: The Dynamic Kubelet Configuration feature is deprecated in 1.22 and removed in 1.24.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found