Question

Is it possible to migrate a kubernetes cluster (with the nodes inside) to a different account?

Posted January 20, 2021 779 views
KubernetesDigitalOcean Managed KubernetesDigitalOcean AccountsNeeds Product Answer

Hello, I am aware that it is possible to transfer the ownership of a droplet to a different account (see link1 link2) but I want to know if it is possible to do the same with kubernetes clusters.
Thank you.

edited by bobbyiliev

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there!

Unfortunately, our DOKS product does not support transferring of ownership across accounts at this time.

The recommended way to avoid this product limitation would be:

  • Ensure all your manifests are stored in version controlled repository.
  • Deployed your manifests in an automated way using a CICD pipeline.

Having an automated deployment pipeline like this would allow migration of your workloads to a new cluster much simpler down the line by just adjusting the target deployment cluster.

Also see the documentation here for migrating DOKS LB’s to a new cluster: ​​https://github.com/digitalocean/digitalocean-cloud-controller-manager/tree/master/docs/controllers/services/examples#changing-ownership-of-a-load-balancer-for-migration-purposes

I hope this helps!

Regards,

John