Mirrors is a directive that defines the names and endpoints of the private registries, for example: mirrors:Įach mirror must have a name and set of endpoints. The following section will explain the registries.yaml file and give different examples of using private registry configuration in K3s. If you have not tainted the server nodes and will be running workloads on them, please ensure you also create the registries.yaml file on each server as well.Ĭonfiguration in containerd can be used to connect to a private registry with a TLS connection and with registries that enable authentication as well. Note that server nodes are schedulable by default. If you wish to use a private registry, then you will need to create this file as root on each node that will be using the registry. Upon startup, K3s will check to see if a registries.yaml file exists at /etc/rancher/k3s/ and instruct containerd to use any registries defined in the file. Containerd can be configured to connect to private registries and use them to pull private images on the node.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |