RFC: Kata + Footloose: VM Like containers in Kata #1531
Comments
@mcastelino So are these like machine containers? See this: |
@mcastelino yes, I will add the tests |
@mcastelino , I have a question about this test, I was not able to connect to the pod ip as it looks it requires a password. What I did is the following:
However when I want to do a It is asking me for a password, is there a way to avoid this |
@GabyCT do you have this bit also in youir yaml file for the footloose container?
The password prompt happens if the ssh server is not able to access the key to authenticate if the person connecting is authorized by viewing the |
@ganeshmaharaj yes, I added to the yaml however I am having the same issue, I created the ssh-key at /tmp/ with the name of mykey and I am still can not connect as is asking me for a password
|
Kata + Footloose: VM Like containers in Kata
weaveworks recently open sourced footloose https://github.com/weaveworks/footloose
This consists of tooling around docker and also a set of container images.
This allows containers to look like VM's to a large degree. i.e. systemd is the supervisor inside the container, reaping done by systemd. Ability to install application and allow them to be managed by systemd inside the container. (sshd is setup by default in footloose container images).
We tested footloose with docker with kata set as default runtime and it works.
Also we tested the footlose container images independent of footloose both with docker and kubernetes and that too works.
This opens the door for Kata to actually launch "lightweight VMs". Also given that Kata also supports different Kernel per pod, we can get very close to "ultralight VMs" in Kata.
This is also a very good use case to showcase the custom kernel support we have in Kata.
I propose that we add footloose or footloose container images to our CI to ensure we continue to work.
Footloose container as a Kubernetes POD or a docker container.
So a VM in Kubernetes launched and managed as a container using the Kata runtimeClass.
This is a very interesting use case for people using containers/kubernetes to run CI.
This is very much along the lines of how @awprice et al use docker in Kubernetes using Kata.
/cc @chavafg @ganeshmaharaj @egernst @kata-containers/architecture-committee
Thank you /cc @dlespiau
How to run footloose pod with Kata on Kubernetes
Note: We need to add the pod kernel annotation to this to use it with a custom kernel to make it more complete.
With footloose and with docker
https://gist.github.com/mcastelino/533bd97b3b5690b726bbe82692a28bab
The text was updated successfully, but these errors were encountered: