From fb308d2fdbbc0cd7b5e90aa75d9abacc54415f73 Mon Sep 17 00:00:00 2001 From: Pengfei Ni Date: Thu, 29 Sep 2016 13:33:21 +0800 Subject: [PATCH] Kubelet: add proposal for HyperContainer runtime Signed-off-by: Pengfei Ni --- .../kubelet-hypercontainer-runtime.md | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 docs/proposals/kubelet-hypercontainer-runtime.md diff --git a/docs/proposals/kubelet-hypercontainer-runtime.md b/docs/proposals/kubelet-hypercontainer-runtime.md new file mode 100644 index 00000000000..01fa4e01cc7 --- /dev/null +++ b/docs/proposals/kubelet-hypercontainer-runtime.md @@ -0,0 +1,74 @@ + + + + +WARNING +WARNING +WARNING +WARNING +WARNING + +

PLEASE NOTE: This document applies to the HEAD of the source tree

+ +If you are using a released version of Kubernetes, you should +refer to the docs that go with that version. + +Documentation for other releases can be found at +[releases.k8s.io](http://releases.k8s.io). + +-- + + + + + +Kubelet HyperContainer Container Runtime +======================================= + +Authors: Pengfei Ni (@feiskyer), Harry Zhang (@resouer) + +## Abstract + +This proposal aims to support [HyperContainer](http://hypercontainer.io) container +runtime in Kubelet. + +## Motivation + +HyperContainer is a Hypervisor-agnostic Container Engine that allows you to run Docker images using +hypervisors (KVM, Xen, etc.). By running containers within separate VM instances, it offers a +hardware-enforced isolation, which is required in multi-tenant environments. + +## Goals + +1. Complete pod/container/image lifecycle management with HyperContainer. +2. Setup network by network plugins. +3. 100% Pass node e2e tests. +4. Easy to deploy for both local dev/test and production clusters. + +## Design + +The HyperContainer runtime will make use of the kubelet Container Runtime Interface. [Fakti](https://github.com/kubernetes/frakti) implements the CRI interface and exposes +a local endpoint to Kubelet. Fakti communicates with [hyperd](https://github.com/hyperhq/hyperd) +with its gRPC API to manage the lifecycle of sandboxes, containers and images. + +![frakti](https://cloud.githubusercontent.com/assets/676637/18940978/6e3e5384-863f-11e6-9132-b638d862fd09.png) + +## Limitations + +Since pods are running directly inside hypervisor, host network is not supported in HyperContainer +runtime. + +## Development + +The HyperContainer runtime is maintained by . + + + + +[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/proposals/kubelet-hypercontainer-runtime.md?pixel)]() +