Configure Private registry in k8s 1.24

0

Hi All. Does anyone know how to configure private registry in EKS(1.24) which uses containerd? we previously used to set this up using a node template which would add the private registry into the daemon.json file during creation, is the a similar way we could achieve this?

1 Answer
0

You might add settings to /etc/containerd/config.toml as follows.

       [plugins."io.containerd.grpc.v1.cri".registry.configs]
+        [plugins."io.containerd.grpc.v1.cri".registry.configs."<your_private_regsitry>".tls]
+          insecure_skip_verify = true
 
       [plugins."io.containerd.grpc.v1.cri".registry.headers]
 
       [plugins."io.containerd.grpc.v1.cri".registry.mirrors]
+        [plugins."io.containerd.grpc.v1.cri".registry.mirrors."<your_private_regsitry>"]
+          endpoint = ["http://<your_private_regsitry>"]
profile picture
hayao-k
answered a year ago
  • Hi, thanks for your response. we have tried adding this to our launch template but it seems like EKS overrides the changes we make to this file. Are you aware of how we could overcome this?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions