Skip to content

How do I configure k3s server & agents to use private containerd registry for ALL docker images? #9061

Closed Answered by brandond
matthewadams asked this question in Q&A
Discussion options

You must be logged in to vote

Now, given this configuration, how do I tell the k3s master node and all agents to pull all images from containerd running on the master node?

You don't. The k3s registries.yaml support only works with the embedded containerd, and you're not using that - you're using the one that was provided by your Linux distribution.

You should uninstall containerd from your host, remove the --container-runtime-endpoint flag from k3s, and follow the instructions here: https://docs.k3s.io/installation/private-registry

On the agent nodes, what should their configuration be to pull all images from the master node's containerd container registry

That is not possible. containerd has an image store. It d…

Replies: 5 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by brandond
Comment options

You must be logged in to vote
3 replies
@brandond
Comment options

@matthewadams
Comment options

@brandond
Comment options

Comment options

You must be logged in to vote
1 reply
@brandond
Comment options

Comment options

You must be logged in to vote
9 replies
@brandond
Comment options

@brandond
Comment options

@matthewadams
Comment options

@matthewadams
Comment options

@matthewadams
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants