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개 답변
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
답변함 일 년 전
  • 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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠