Unable to pull image using Container Service Extension 4.2.x
search cancel

Unable to pull image using Container Service Extension 4.2.x

book

Article ID: 388793

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

When attempting to pull an image from any source (Broadcom or other sites) the pod upgrade fails with "failed to pull and unpack images".

Cause

The causes can be multiple. In this example pulling from projects5-proxy.projects.packages.broadcom.com/vmware-cloud-director/cloud-provider-for-cloud-director:1.6.1 is returning a certificate error. 

Resolution

Correct the image location. This can be done with the kubectl set image command. Using our example from the cause:
kubectl set image pod <pod name> *=projects.packages.broadcom.com/vmware-cloud-director/cloud-provider-for-cloud-director:1.6.1 -n kube-system
This command updates all images used by the pod to use the updated public repository.