By Tony Apuzzo
I built a drone.io based continuous integration server using the helm chart on Digital Ocean hosted Kubernetes. Mostly it is working. I can run build pipelines and fetch images from docker hub.
However, I cannot connect to another resource that is hosted in Digital Ocean behind a load balancer (my private docker registry that I have hosted the old fashioned way directly on a droplet)
If I create a pod on the drone kubernetes cluster, I can connect to the service in DO, but when a container is invoked by the drone agent using dind (docker-in-docker) it can’t connect.
Any pointers for troubleshooting?
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!
Still have this problem. I have done some more troubleshooting and it seems that it has something to do with Drone’s use of docker-in-docker. When I create a fresh pod and exec in that directly I can get to the other DO services. But when I run a shell (or whatever) inside docker-dind, then it can’t route to other DO services (even though it can get to Internet services.)
Probably something simple but beyond my current abilities vis-a-vis Kubernetes cluster networking.
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.