{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30294","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30294/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30294/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30294/events","html_url":"https://github.com/kubernetes/kubernetes/issues/30294","id":170222934,"number":30294,"title":"Qemu/KVM kubelet runtime design ","user":{"login":"vefimova","id":11852061,"avatar_url":"https://avatars.githubusercontent.com/u/11852061?v=3","gravatar_id":"","url":"https://api.github.com/users/vefimova","html_url":"https://github.com/vefimova","followers_url":"https://api.github.com/users/vefimova/followers","following_url":"https://api.github.com/users/vefimova/following{/other_user}","gists_url":"https://api.github.com/users/vefimova/gists{/gist_id}","starred_url":"https://api.github.com/users/vefimova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vefimova/subscriptions","organizations_url":"https://api.github.com/users/vefimova/orgs","repos_url":"https://api.github.com/users/vefimova/repos","events_url":"https://api.github.com/users/vefimova/events{/privacy}","received_events_url":"https://api.github.com/users/vefimova/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/kubelet","name":"component/kubelet","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/node","name":"team/node","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-09T17:22:12Z","updated_at":"2016-08-17T08:26:28Z","closed_at":null,"body":"To have an ability to manage pure VMs with k8s I want to propose to add qemu/kvm runtime within client/server model. Will add more details soon. \r\n\r\nBut for now I want to share several first thoughts/ list of items to work on (please, comment on them, if from your POV they are mistaken, you have concerns or other considerations):\r\n\r\n1. Probably, introduction of new \"pod concept\" but for VMs, i.e. VM-pod - VM with ability to run tasks inside. Determine the VM-pod schema and propose design for alpha api.\r\n\r\n2. Networking design - will give input for `#4`\r\n\r\n3. Design for Volumes managing - will give input for `#4`\r\n\r\n4. Introduce client/server api to support qemu/kvm runtime:\r\n   kubelet hypervisor runtime <-> KubeletGenericRuntimeManager <-> Hypervisor interface\r\n\r\n   - Add support for qemu/kvm options/settings in global kubelets structures\r\n   - Introduce internal general interface for hypervisors: pkg/kubelet/hypervisor/runtime.go (like https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/container/runtime.go#L59)\r\n   - Hypervisor interface pkg/kubelet/container/interface.go (like container interface: https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/container-runtime-interface-v1.md)\r\n   - Some changes/additions to client/server api to support qemu/kvm runtime (https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/runtime-client-server.md)\r\n\r\n5. Qemu/KVM runtime server part implementation (should be contributed to \"contrib\" repo) - probably need to file corresponding task for this in contrib space.\r\n\r\n6. Ability to run and monitore tasks inside VMs\r\n\r\nrelated to #28789\r\nCC @thockin @freehan @brendandburns @dchen1107 @kubernetes/sig-node"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/240346600","html_url":"https://github.com/kubernetes/kubernetes/issues/30294#issuecomment-240346600","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30294","id":240346600,"user":{"login":"resouer","id":1701782,"avatar_url":"https://avatars.githubusercontent.com/u/1701782?v=3","gravatar_id":"","url":"https://api.github.com/users/resouer","html_url":"https://github.com/resouer","followers_url":"https://api.github.com/users/resouer/followers","following_url":"https://api.github.com/users/resouer/following{/other_user}","gists_url":"https://api.github.com/users/resouer/gists{/gist_id}","starred_url":"https://api.github.com/users/resouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resouer/subscriptions","organizations_url":"https://api.github.com/users/resouer/orgs","repos_url":"https://api.github.com/users/resouer/repos","events_url":"https://api.github.com/users/resouer/events{/privacy}","received_events_url":"https://api.github.com/users/resouer/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T08:26:28Z","updated_at":"2016-08-17T08:26:28Z","body":"I am worrying about including full-blown VM management in k8s is like re-inventing a OpenStack, especially when considering` docker swarm xxx` is making things simpler and simpler >_<\r\n\r\nI can also see there are already mature projects like Magnum or nova-docker in OpenStack community to leverage managing containers along with VMs together, which seems make no difference with k8s+libvirt :/"}}
{"actor":{"display_login":"resouer"}}