2

I have Standard GKE cluster and want to migrate all my running services to new Autopilot cluster. I research official documentation and don't find anything how I can perform this migration

pagislav
  • 153
  • 6
  • 2
    Start a GKE autopilot cluster and redeploy your services (reuse your YAML definition). Backup and restore your data manually, as you should do in case of cluster re-creation. Nothing magic or Built-In – guillaume blaquiere Jun 14 '22 at 11:44

2 Answers2

5

At the moment this operation is not possible to convert Standard GKE cluster to Autopilot GKE .

In GKE Documentation Autopilot overview under Other limitations you can find section No conversion:

Converting Standard clusters to Autopilot mode and converting Autopilot clusters to Standard mode is not supported.

As stated by @guillaume blaquiere. You have to redeploy all your services. Backup and restore your data manually.

Bakul Mitra
  • 432
  • 2
  • 7
  • Don't think the page is accurate anymore. There is no section on limitations or anything that specifically rules out conversion. – CadentOrange Feb 15 '23 at 07:49
0

It is simple cause it is K8 and more since you on GCP. Here is how:

  1. 3-clicks to create new GKE autopilot cluster
  2. First time deployment creation gives you auth token
  3. Use that auth token to deploy services using CLI
  4. YAML manifest pointing to existing nodes to be modified to new cluster
  5. There will be a downtime for node draining - roughly 5-10 minutes per node