Import cluster stuck in "waiting"

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 again.
This time it is stuck in “waiting” state.

I then tried to run the " ./ -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?