Replies: 1 comment 1 reply
-
The first thing you're looking at is called Image Pull Secrets. If the image is on a registry that requires authentication, you can store the credentials in a secret, and reference the secret from the pod, to use them when pulling the image. If you want to provide credentials at a container runtime level (without having to configure each and every pod), or if you want to configure a system-level registry mirror, then use the k3s private registry configuration. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks for the tool, first of all.
I'm trying to configure k3s to pull docker images from the docker hub.
I saw some examples, where one can just create something like this:
and then one can mount such secret into pod, and the images should be pulled.
On the other side, I see https://rancher.com/docs/k3s/latest/en/installation/private-registry/ where it says I need to create some file... I'm confused.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions