- k3sのプロセス - server # Launch a k3s server only ubuntu@k3s-server:~$ curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable-agent" sh - # Can’t see the node but the ns shows the install is done ubuntu@k3s-server:~$ sudo k3s kubectl get node No resources found in default namespace. ubuntu@k3s-server:~$ sudo k3s kubectl get ns NAME STATUS AGE default Active 35s kube-system Active 35s kube-public Active 35s kube-node-lease Active 35s
- k3sのプロセス - client # add agent to server ubuntu@k3s-agent:~$ curl -sfL https://get.k3s.io | K3S_URL=https://k3s-server:6443 K3S_TOKEN=XXX sh - # now we can see this node ubuntu@k3s-server:~$ sudo k3s kubectl get node NAME STATUS ROLES AGE VERSION k3s-agent Ready <none> 2m15s v1.18.9+k3s1