ifconfig
cat /etc/hostname
nano /etc/hosts
192.168.1.29 k3s-master
nano /etc/resolv.conf
nameserver 8.8.8.8
參考網站:https://github.com/rancher/k3s/blob/master/README.md
curl -sfL https://get.k3s.io | sh -
k3s kubectl get nodes
curl -sfL https://get.k3s.io | K3S_URL=https://k3s-Server:6443 K3S_TOKEN=XXX sh -
k3s Github 參考網址:https://github.com/rancher/k3s/releases
wget https://github.com/rancher/k3s/releases/download/v0.9.1/k3s
wget https://github.com/rancher/k3s/releases/download/v0.9.1/k3s-armhf
mv ./k3s /usr/bin/k3s
mv ./k3s-armhf /usr/bin/k3s
chmod 755 /usr/bin/k3s
k3s version