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

adamant-kite-43734

10/25/2022, 11:39 AM
This message was deleted.
p

plain-byte-79620

10/25/2022, 1:49 PM
yes I also suggest to specify
node-ip
,
node-external-ip
and
bind-address
(this one only on the server node)
e

enough-carpet-20915

10/25/2022, 10:06 PM
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

plain-byte-79620

10/26/2022, 12:32 PM
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

enough-carpet-20915

10/26/2022, 1:02 PM
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

plain-byte-79620

10/26/2022, 1:04 PM
INSTALL_K3s_VERSION
is wrong you have to specify
v1.25.2+k3s1
e

enough-carpet-20915

10/26/2022, 1:05 PM
Ah, documentation wasn't clear, thanks. Also that could error better. 🤣
👍 1
9 Views