I have installed RKE2 cluster with following command:
sudo curl -sfL https://get.rke2.io | sudo INSTALL_RKE2_TYPE=server INSTALL_RKE2_CHANNEL=v1.23.16+rke2r1 sh -
Then I've deployed a few applications. Then I've decided to reinstall RKE2 with different version. I've used following command to uninstall current cluster:
/usr/local/bin/rke2-uninstall.sh
After then I've used that command to install RKE2 with different version:
sudo curl -sfL https://get.rke2.io | sudo INSTALL_RKE2_TYPE=server INSTALL_RKE2_CHANNEL=v1.25.9+rke2r1 sh -
Everything was okay, but I've noticed that when I've run "kubectl get pods -A" there were remaining pods from previous cluster. However I've removed cluster. How Can I be sure about everything will be gone when I uninstalled the cluster?