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:
- Created 5 years ago
- Comments:12 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vmendi Any follow up on this?
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 addingKUBELET_EXTRA_ARGS=--read-only-port=10255
in/etc/default/kubelet
on the node host and restarting thekubelet
service.