3 ms·
The best futuristic feature by far I've heard of is live-migration of workloads between hosts (read: your compute and memory gets transferred to another VM and
by dinvlad 4y ago
The best futuristic feature by far I've heard of is live-migration of workloads between hosts (read: your compute and memory gets transferred to another VM and resumes without having to restart). This would be amazing for, e.g. auto-scaling workloads when they reach their memory limit. Or to run them on a Spot instance and then seamlessly migrate to another, when the current one is on the verge of preemption.
It's too bad no one appears to be working on that in OCI/Kubernetes world.
- cyphar 4y agoCheckpoint/restore is supported by runc and there were demos of live migrating Docker containers several years ago. A better question is why Kubernetes isn't working on integrating it (though I suspect there's a KEP for it somewhere).
- dinvlad 4y agoCould you share a link please? I've only seen similar demos of a Doom game migration on LXD (I believe). EDIT: very interesting, thanks TIL! Here's at least someone from RH playing with it in the context of K8s: https://youtu.be/DDJxqV98b4U?t=1932 https://youtu.be/DDJxqV98b4U?t=1932 EDIT2: and apparently, at least its minimal implementation has been merged: https://github.com/kubernetes/kubernetes/pull/104907 https://github.com/kubernetes/kubernetes/pull/104907
- cyphar 4y agoAdrian is one of the CRIU folks and has been working on integrating CRIU and containers for a while.