Assorted kubectl commands (getting logs, trying to exec a shell on a container), fail with an i/o timeout because they are trying to connect over the private ip.
Ex:
Error from server: Get https://10.136.191.197:10250/containerLogs/kube-system/csi-do-node-ttr6h/csi-do-plugin: dial tcp 10.136.191.197:10250: i/o timeout
Is there some config somewhere I need to change to get kubectl to stop trying to use the private IPs? I haven’t installed any networking plugins but it looks like Cilium comes installed by default, with DO managed k8s.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
You only need to download the cluster configuration file which you get during the creation of the cluster by clicking Actions and Download Config from the cluster home page. I’ve tried connecting to a pod and it seems to work fine.
Another thing that you might have to keep in mind is that you might have to open the port that you are trying to connect to for outgoing TCP traffic.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.