Import a cluster?!?

Hi, I’ve lost my rancher data and now I’ve recreaded the container and have to improt my cluster. All my kubernates and other services are still running and I want to get my cluster back to my new Rancher 2.0.4.
How can I connect to Kubernetes container to launch kubectl commands and how can I import the cluster?

In some containers I was able to use kubectl and pasted the commands from rancher and got the following error:
The connection to the server localhost:8080 was refused - did you specify the right host or port?

I realy hope someon could help me. Thank you very much

1 Like