[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suggestions sought for migrating from Xen to K8



Miles Fidelman wrote:
> I'm about to migrate a VM from Xen, running on our own server, to K8 - 
> probably running on Digital Ocean.  Any hints on how to do this as easily as 
> possible would be much appreciated.
> 
> Server and VM are running Linux 2.6.26-2-xen_686
> Root & swap are mounted on DRBD volumes (v 8.0.4)
> 
> Looking for a simple way to convert the vm to an image that can run as a 
> Kubelet, and for migrating the DRBD volume to a generic block storage service.

Kubelet is part of the Kubernetes software; one doesn't run an image "as a
kubelet", one runs it as a container.

An image typically contains just one main executable, which runs as PID 1.
As usual, the container dies when PID 1 dies.  I suppose there may be a way
to convert a whole domU image into an OCI image and then run the initd as
PID 1, but that would be really weird.  So you should instead be thinking
about decomposing your VM into an image per application.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.