https://rancher.com/ logo
#k3d
Title
# k3d
a

adamant-kite-43734

05/11/2022, 12:55 AM
This message was deleted.
b

big-librarian-12753

05/11/2022, 1:54 AM
Did you try anything like this
Copy code
[...]
$ cat >~/.k3d/registries.yaml <<EOF
mirrors:
  "registry.localhost:5000":
    endpoint:
      - "<http://registry.localhost:5000|http://registry.localhost:5000>"
[...]
$ k3d cluster create ... -v ~/.k3d/registries.yaml:/etc/rancher/k3s/registries.yaml
• I use above for connecting to a docker registry container however above can be expanded to use private registry with creds and tls etc • And I didn't grok enough to find other ways as above worked for me 😅
• Seems I misread the req, not sure for existing cluster.
3 Views