This message was deleted.
# k3s
a
This message was deleted.
p
yes I also suggest to specify
node-ip
,
node-external-ip
and
bind-address
(this one only on the server node)
e
I'll look into those tomorrow. Thanks!
so
node-ip
would be the private network,
node-external-ip
would be the public and is
bind-address
ok as is though? I want to listen on all interfaces, no?
p
if you want to listen on all interfaces
bind-address
is
0.0.0.0
by default so you don't have to configure it.
e
Uh, wut?
Copy code
root@homer ~ # curl -sfL <https://get.k3s.io|https://get.k3s.io> | INSTALL_K3S_VERSION=v1.25.2 K3S_TOKEN="REDACTED" sh -s - server --cluster-init --cluster-cidr "10.44.0.0/16" --flannel-iface "enp35s0.4000@enp35s0" --node-ip "10.45.0.1" --node-external-ip "95.217.198.219"
[INFO]  Using v1.25.2 as release
[INFO]  Downloading hash <https://github.com/k3s-io/k3s/releases/download/v1.25.2/sha256sum-amd64.txt|https://github.com/k3s-io/k3s/releases/download/v1.25.2/sha256sum-amd64.txt>
root@homer ~ #
Ok, i want to be able to access the kubeapi from the public interface so that sounds good
p
INSTALL_K3s_VERSION
is wrong you have to specify
v1.25.2+k3s1
e
Ah, documentation wasn't clear, thanks. Also that could error better. 🤣
👍 1