04-comprueba-cluster.sh 246 B

12345678
  1. # simlink all the things - kubectl
  2. ln -s $(find /var/lib/rancher/rke2/data/ -name kubectl) /usr/local/bin/kubectl
  3. # add kubectl conf
  4. export KUBECONFIG=/etc/rancher/rke2/rke2.yaml
  5. # check node status
  6. kubectl get node