How to set the registryMirrors on a Vultr kubernetes cluster

us flag

I have a private registry that I had no problem connecting to with my kubernetes cluster... but it is having to pull ~1GB image from one side of the US to the other when ever I scale up my cluster. So I have setup a docker registry service as a mirror on a Vultr instance and that is working fine.. But I cannot for the life of me figure out where I am to put the registryMirrors definition in my kubernetes cluster.

Most tutorials just talk about updating the docker/daemon.json file. And this one shows this...


but I have no idea where to add that using kubectl.

I have been using docker for years... but this is my first time using kubernetes. And I have a pages full of purple links in my google searches for this.. so I am really struggling. I find the kubernetes docs lacking when it comes to defining the yaml spec files, I have no idea where that is documented. Docker's docker-compose specification documentation is great in comparison.. but maybe I am just not looking in the right place.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.