- Create a VM for rancher server:
multipass launch --name rancher-server --cpus 4 --mem 4g --disk 20g
multipass exec rancher-server -- bash -c "curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" sh -"
multipass exec rancher-server sudo cat /etc/rancher/k3s/k3s.yaml > ~/.kube/rancher-server.yaml
RANCHER_SERVER_IP=$(multipass info k3s | grep IPv4 | awk '{print $2}')
sed -i '' "s/127.0.0.1/${RANCHER_SERVER_IP}/" ~/.kube/rancher-server.yaml
kubie ctx default
brew install helm@3