This message was deleted.
# k3s
a
This message was deleted.
h
im a tad confused on what your trying to do here. so you successfully setup a embedded registry... and now your trying to connect to the registry over WAN ?
b
I had 2 nodes, not connected over LAN, but over Tailscale in this case, and was trying to get the agent to pull images from the server. It worked when I set
--node-ip
to be the same as the Tailscale IP, although after I did that, the pods couldn't communicate with each other, I guess it messed up flannel/CNI? I might just drop trying to get the embedded registry to work over WAN for now, its not critical for what we're trying to do currently.
h
thats really interesting. why dont you just run 2 embedded registries? one on each node....
ive never used tailScale before either.... why are you using it?
b
its a remote/fully wfh company, its how we connect our pcs (not used by customers/prod) as far as I'm aware, you can't stand up an embedded registry on an agent, it would need to also be a server. I was trying to reduce the need for a customer to need to import the airgap images on each agent, by allowing them to pull from the server embedded registry
but for now its not that big of a deal, its just an extra few minutes our customer installer needs to run, ill try embedded registry again later
pretty sure it works fine actually, just not over WAN, but we're going to implement it later
h
AGENT Runtime FlagDefaultDescription`--container-runtime-endpoint` valueN/ADisable embedded containerd and use the CRI socket at the given path; when used with --docker this sets the cri-docker socket path`--pause-image` value"docker.io/rancher/pause:3.1"Customized pause image for containerd or docker sandbox`--private-registry` value"/etc/rancher/k3s/registries.yaml"Private registry configuration file