https://rancher.com/ logo
Title
m

most-kite-870

08/12/2022, 5:55 AM
I have install Rancher using the single Node Docker. It it possible to import and manage DigitalOcean managed Kubernetes Cluster? I don't see any option in import except for EKS, AKS, GKE and Generic.
t

tall-school-18125

08/12/2022, 7:05 AM
Yes, if you select Generic, you can import a cluster from Digital Ocean.
m

most-kite-870

08/12/2022, 7:09 AM
I tried but it just hang on provisioning. By the way I am using the DigitalOcean DOKS (Kubernetes Managed Service) option.
t

tall-school-18125

08/12/2022, 7:28 AM
It hangs during provisioning if the cluster agent on the imported cluster cannot connect to Rancher. This most commonly happens if the Rancher server URL was set to localhost, but can also be caused by security settings on the cloud provider side. The port requirements are here https://rancher.com/docs/rancher/v2.6/en/installation/requirements/ports/
m

most-kite-870

08/12/2022, 7:32 AM
So if my rancher is sitting inside Corp firewall then I have to open up 443 for access.
Talking about digital cert for the Rancher Single Node docker, Can I just use the wildcard SSL cert that is provisioned via Let's Encrypt
t

tall-school-18125

08/12/2022, 7:39 AM
Yes. If it is inside a firewall you can install Rancher behind a proxy https://rancher.com/docs/rancher/v2.6/en/installation/other-installation-methods/behind-proxy/
You can use the self-signed cert. It will work, but the browser will give warnings that the site is insecure
m

most-kite-870

08/12/2022, 9:17 AM
So if it is something like digital ocean kubernetes service where I have no access to the control plane , does importing to rancher still works?
t

tall-school-18125

08/12/2022, 9:35 AM
Yes, it should still work.
m

most-kite-870

08/12/2022, 1:28 PM
Thanks. What is the difference between importing and having Cluster Driver like AKS?
t

tall-school-18125

08/12/2022, 3:42 PM
The main difference is that when you delete an imported cluster in Rancher, the cluster is not destroyed. But if you create a cluster through Rancher and delete it in Rancher, the cluster is destroyed. Imported clusters used to have fewer features but they have feature parity now, so they are a really good option.