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 Resposta
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
respondido há um ano
  • 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?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas