For example, I have an internal docker registry for my kube cluster, hosted on internal-docker-registry.io:5000
.
When the pod from the kube cluster pulling image busybox
, I don't want to pull from docker hub docker.io
. But instead I want it to pull from internal-docker-registry.io:5000
.
Note that I cannot change the image name to internal-docker-registry.io:5000/busybox
since I don't own the spec and there are too man these kind of third party image in my cluster.