VMware Integrated Openstack 7.x
VMware Tanzu Kubernetes Grid Integrated Edition 1.20.0/1.21.0
Tanzu Mission Control 1.4.0/1.3.1
This issue is presented by upstream Kubernetes constraints, it has potential to impact any product and version that uses Kubernetes orchestration.
init container start failed: ErrImageNeverPull: Container image "vmware/vio/utils/data-aggregator:v0.3_photon3" is not present with pull policy of Never"
kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod
ctrl-c
and re-run the command.In addition to eviction of pods, we could also face a situation where docker images are deleted as well. There are two potential scenarios for docker images to be missing.
docker system prune -a
' commmand. This command will delete images which are not used by any running container. ie calico-kube-controller pod is not running on this k8s node, vmware/calico/kube-controllers:v3.8.2
will be deleted. This should not be done unless directed by support.
Bootstrap images (image name starts with "vmware/" instead of "docker-registry.default.svc.cluster.local:5000/") can not be recovered automatically if deleted. They can only be recovered by loading the tar file from vio-manager.
/opt/vmware/data/bootstrap-images/bootstrap-images.tar
from vio-manager to this controller and run 'docker load -i
'scp -i ~/.ssh/vsphere_tmp /opt/vmware/data/bootstrap-images/bootstrap-images.tar vioadmin@controller-##########
:/tmp/
viossh controller-##########
docker load -i /tmp/bootstrap-images.tar
docker load -i
/opt/vmware/data/bootstrap-images/bootstrap-images.tar