I had imported an existing cluster into a rancher instance I created using a docker container:
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher
And it worked fine. Then I restarted the container (no persistent storage) so I needed to import again.
I ran the "kubectl apply -f https://192.16.44.38/v3/import//c9lzwkdrgqgn8j5s.yaml again.
This time it is stuck in “waiting” state.
I then tried to run the " ./user-cluster.sh -dry-run rancher/rancher-agent:v2.3.3" cleanup script but it failed
with “spec.selector: Invalid value: “null”: field is immutable”
Is there any way to re-import this cluster?