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
回答済み 1年前
  • 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?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ