This message was deleted.
# k3s
a
This message was deleted.
c
https://docs.k3s.io/quick-start#install-script
To install on worker nodes and add them to the cluster, run the installation script with the
K3S_URL
and
K3S_TOKEN
environment variables. Here is an example showing how to join a worker node:
Copy code
curl -sfL <https://get.k3s.io> | K3S_URL=<https://myserver:6443> K3S_TOKEN=mynodetoken sh -
note that this is a https URL, not http
l
So does the server expose itself on HTTPS?
I am providing this info but the URL is http because I have not set up an SSL certificate
c
you don’t need to do that yourself, the Kubernetes cluster generates its own root CAs on startup.
l
I LL test. Thank you
c
Was there something you saw in the docs that made you think you had to set up SSL for the cluster manually?
l
I was actually thinking why should I specify the protocol if the script just accepts HTTPS. And given the error message also wondering if I had to indeed provision one or configure it somehow
c
that’s just how it works, it wants a URL not a host:port
👍 1
154 Views