HACKER Q&A
📣 Nurbek-F

How to transfer K8s cluster to on-prem Linux server


Good day HN! I need to transfer a production kubernetes cluster from Scaleway to on-premise data center with a clean Ubuntu server.

I'm looking for the easiest setup solution, so that it's easier to transfer cluster to another ubuntu server in future (within few months), preferably with fewer steps possible. What options do I have?

I found multiple OSS options like Kubespray and Rancher. But their setup process seems a bit "manual". Should I write a script? Appreciate your time!


  👤 comprev Accepted Answer ✓
Managing k8s is hard and is one of the primary reasons that managed k8s services (Azure Kubernetes, AWS Kubernetes, Digital Ocean Kubernetes, etc) exist.

If you're asking HN how to start from a clean slate then perhaps you haven't quite realised how painful it's going to be.

For the sake of your sanity, and the service you provide on said cluster, hand off this project to someone that knows what their doing.

Good luck!


👤 jtchang
Instead of transferring the cluster can you transfer the application(s)?

👤 uaas
You should spin up the new cluster, deploy the apps there, then start shifting traffic to the new one gradually.