Skip to content

Worker Node Live Migration ​

Live migration moves a running worker from one infrastructure node to another without stopping the guest operating system or the workloads running inside it. In the Kubernetes Service, every customer worker node is itself a virtual machine. Live migration is therefore a fundamental platform capability that enables continuous maintenance of the underlying infrastructure.

Why Live Migration Matters ​

Infrastructure nodes must be regularly upgraded, rebooted, and patched for security. Without live migration, these operations would require draining and terminating worker VMs, causing disruption to customer workloads. Live migration allows the platform to move running workers away from a node that needs maintenance and place them on healthy nodes, keeping customer clusters available while the underlying infrastructure is kept current and secure.

Typical triggers include:

  • Security patching and kernel updates on infrastructure hosts
  • Hardware maintenance or replacement
  • Capacity rebalancing across the platform
  • Infrastructure software upgrades

Live migration is therefore not an optional feature; it is required for the continuous operation and security posture of the managed Kubernetes Service.

Auto-Converge / Throttling ​

When a workload changes memory faster than the network can transfer them, the migration cannot converge — the remaining to-be-transferred memory stays constant or grows. To guarantee eventual completion the platform uses auto-converge.

Auto-converge dynamically throttles the guest’s virtual CPUs. Throttling starts after a few unproductive iterations and progressively increases (initially 20%; then 10% increase each step) until the memory change-rate falls below the available migration bandwidth. The throttle percentage can reach max. 99%, at which point the guest CPUs execute for only 1% of wall-clock time. Once the final switch-over completes, throttling is removed and full performance is restored. It is the primary mechanism that allows migrations of memory-intensive workloads (databases, caches, analytics engines, message brokers).

Physical Limitation ​

Migration bandwidth is the hard physical upper bound on the sustainable memory change rate.

Migration bandwidthTheoretical maximum transferPractical max sustainable memory change rate
20 Gbps2.5 GB/s~2.0–2.2 GB/s

Max memory I/O at 20 Gbps: A worker whose working set is being rewritten at more than approximately 2.0–2.2 GB/s will not converge on a 20 Gbps link without auto-converge. Real-world effective throughput is further reduced by protocol overhead and concurrent platform traffic. Workloads that continuously rewrite large memory regions commonly exceed this threshold and therefore rely on auto-converge.

Potential Application-Layer Impact ​

When auto-converge reaches 99% throttle, the guest experiences an extreme, sustained performance degradation that propagates directly to the application layer:

  • Latency-sensitive services — Request latencies can rise by one to two orders of magnitude. Client timeouts and health checks may fire.
  • Databases and transactional systems — Transaction throughput collapses. Lock-wait times and queue depths increase dramatically; replication lag can grow.
  • Message queues and streaming platforms — Consumer lag accumulates. Back-pressure may cause upstream producers to block or drop messages.
  • Timeouts and circuit breakers — Application and platform-level timeouts (HTTP, RPC, Kubernetes readiness/liveness probes) are likely to expire, potentially triggering restarts or traffic shedding.
  • Duration matters — A brief (seconds) 99 % throttle is usually tolerated. An extended period (tens of seconds to minutes) can cause cascading failures, failed health checks, or temporary loss of service capacity.

What this means for you ​

  • Live migration is essential for the platform to keep infrastructure nodes patched and upgraded without forcing worker downtime. It is a core part of delivering a continuously available managed Kubernetes Service. Swisscom can perform live migrations at any point in time (also outside agreed maintenance windows).
  • Under normal conditions most migrations complete with little or no noticeable impact on workloads.
  • Memory-intensive or write-heavy applications can trigger auto-converge. In rare cases the guest CPU may be throttled heavily for a period of time so that the migration can finish.
  • If your workloads are highly sensitive to multi-second performance degradation, consider:
    • Most important: Opt for multiple smaller worker nodes instead of single large ones.
    • Designing applications to tolerate temporary latency spikes and probe failures.
    • Using Pod Disruption Budgets and readiness probes that allow short periods of reduced capacity.