# Import a cluster?!?

**URL:** <https://forums.suse.com/t/import-a-cluster/11060>\
**Category:** SUSE Rancher Prime\
**Created:** [July 9, 2018, 9:17pm UTC](https://forums.suse.com/t/import-a-cluster/11060 "2018-07-09T21:17:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MSandro](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/msandro/32/5032_2.png) [@MSandro](https://forums.suse.com/u/MSandro)\
**Post date:** [July 9, 2018, 9:17pm UTC](https://forums.suse.com/t/import-a-cluster/11060/1 "2018-07-09T21:17:50Z")

</div>

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
