-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrade to kubernetes 1.11 : Unable to detect the kubelet URL automatically. #1829
Comments
@ohardy thank you for submitting this issue. Can you provide us more details about your setup? |
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 |
FWIW - the full error logs that I was seeing:
|
@sciyoshi it seems the given Kubelet host to the datadog agent doesn't match your kubelet SAN. Can you provide more details about your setup?
|
Having the same problems here, it's a Rancher Kubernetes installation... |
Just ran into this issue with Rancher Kubernetes. Wondering if kubelet_tls_verify can fix it and how can we set this parameter in docker agent. |
Ran into the same issue and @sciyoshi solution seems to have fixed the issue for me as well. Thanks! |
Closing the issue as on Rancher setups you have to enable the read only port as documented in https://rancher.com/blog/2018/2018-07-16-how-to-deploy-datadog/ |
The read only port seems to be deprecated by the Kubernetes project: kubernetes-sigs/kubespray#2159 Is there a solution that doesn't involve opening this port? |
@vmendi Any follow up on this? |
For anyone using kubeadm, this is from the Kubernetes 1.11 release notes:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#before-upgrading |
Confusingly, even though the read only port has been supposedly disabled, the Kubernetes docs say that it defaults to 10255:
https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/ |
Any ideas ?
The text was updated successfully, but these errors were encountered: