Migrating to Managed Service for Kubernetes
Managed Service for Kubernetes enables you to migrate your Kubernetes workloads from any environment, without vendor or infrastructure lock-in. The following scenarios are supported:
- Migration from other cloud providers to Yandex Cloud.
- Migration from on-premises infrastructure to Yandex Cloud.
- Hybrid setups with partial workload migration to Yandex Cloud using external nodes or BareMetal servers.
Migration overview
- Inventory: Audit your workloads, assess API compatibility, and define network requirements.
- Network connectivity (for on-premises): Establish a connection between the source infrastructure and Yandex Cloud.
- Yandex Cloud infrastructure: Create VPCs, security groups, IAM resources, a Managed Service for Kubernetes cluster, and node groups.
- Image migration: Copy your container images to Yandex Container Registry.
- Stateful workload migration: Migrate your data using Yandex Data Transfer or Velero.
- Stateless workload migration: Export, adjust, and apply your manifests.
- Load balancers and DNS: Configure Gwin, Network Load Balancer, and DNS switching.
- Final steps: Test your new setup, clean up the source infrastructure, and archive backups.
Required time and effort
The time a migration may take depends on the size of your data, number of services to migrate, and your specific migration path. Here are the general estimates:
|
Scenario |
Average scope |
Estimated duration |
|
Public cloud to Yandex Cloud |
Up to 10 services, up to 100 GB of data |
1–3 days |
|
Public cloud to Yandex Cloud |
10 to 50 services, up to 1 TB of data |
1–2 weeks |
|
Private cloud to Yandex Cloud |
Up to 10 services, up to 100 GB of data |
2–5 days |
|
Private cloud to Yandex Cloud |
10 to 50 services, up to 1 TB of data |
2–4 weeks |
|
Hybrid cloud |
Up to 10 services, up to 100 GB of data |
2–5 days |
|
Hybrid cloud |
10 to 50 services, up to 1 TB of data |
2–4 weeks |
These estimates assume a team of two or three engineers. Timelines may increase for complex stateful workloads, non-standard network requirements, or regulatory constraints.
Required tools
|
Tool |
Description |
|
Gateway API controller for Yandex Application Load Balancer. Recommended for setting up an L7 load balancer. |
|
|
Backup and recovery tool for persistent volumes |
|
|
Data migration from managed databases |
|
|
Storage for container images in Yandex Cloud |
|
|
Storage for Velero backups and intermediate storage during migration |
|
|
DNS record management when switching traffic |