VMware Tanzu Kubernetes Grid Integrated Edition

 Docker not able to pull images in K8s cluster

tarun jain's profile image
tarun jain posted Feb 07, 2019 06:56 AM

I have launched a kubernetes cluster with 1 master and 1 worker node on my ESXI host.

Now when i try to launch a workload, it fails saying it is not able to pull the image.

 

When i tried pull image manually after logging in to worker vm, request is getting timedout.

 

I am working behind a corporate proxy.

Can someone help on how to provide this proxy information so docker can connect to internet using my proxy settings.

Mark Nagle's profile image
Broadcom Employee Mark Nagle

There is a section in the PKS documentation to assist with setting up proxy - https://docs.pivotal.io/runtimes/pks/1-3/installing-pks-vsphere.html#networking

tarun jain's profile image
tarun jain

Thanks that worked.

yash vashisht's profile image
yash vashisht

I too got the same issue and it worked  https://docs.pivotal.io/runtimes/pks/1-3/installing-aws-vsphere.html#networking. Thanks for such insights as it is very informative.