Hello, does anyone know how I can check whether a ...
# k3s
m
Hello, does anyone know how I can check whether a specific node (that is in possesion of a server token) can join a specific cluster (where I have an IP address of one of its nodes)?
c
you could curl the config endpoint using the password portion of the token as the basic auth password
m
That sounds great, which URL is the config endpoint?
c
something like this:
Copy code
curl -vks --basic --user node:PASS <https://server:6443/v1-k3s/readyz>
where PASS is the node join token
m
That works great, many thanks. I wonder whether this API (and possibly others) is documented somewhere...
m
Ok thanks... I guess that's what we have 🙂