Build Your Serverless Container Cloud with OpenStack and Kubernetes
Kevin Zhao
Senior Software Engineer on Arm. OpenStack Zun Core Reviewer kevin.zhao@arm.com
22.05.2018
Build Your Serverless Container Cloud with OpenStack and Kubernetes - - PowerPoint PPT Presentation
22.05.2018 Build Your Serverless Container Cloud with OpenStack and Kubernetes Kevin Zhao Senior Software Engineer on Arm. OpenStack Zun Core Reviewer kevin.zhao@arm.com Agenda What is Serverless Container Cloud Demo Zun and Container
Kevin Zhao
Senior Software Engineer on Arm. OpenStack Zun Core Reviewer kevin.zhao@arm.com
22.05.2018
Azure Container Instance
Kubernetes control plane
Pod Pod Pod Kubelet Pod Pod Pod Pod Kubelet Pod
Deployment/Task Application architecture Infrastructure architecture
VM VM Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod
Node1 Node2
Standalone OpenStack and Kubernetes Network connected
Zun Introduction Wine container from Ancient China
containers without caring underlying infrastructure. Characteristics
Goal of Zun
Container inside OpenStack
(Authentication)
provisioning and managing containers
Container Capsule
Component
Characteristic
NEUTRON KURYR
Cinder Unified Block Device Glance Unified Image Repository
BM VM
Keystone
Unified Authentication
Support type:
Kubernetes friendly
Kubernetes on top, Zun backend
Record Pod info from K8s
CreatePod UpdatePod DeletePod GetPod GetPods GetConfigMap GetSecrets
Update resource manager.
and Pod status from provider to K8s.
Resource Manager Vkubelet Main Process
Register Node Sync Pod/Node
CreatePodFill into k8s node object.
k8sClient.CoreV1().Nodes().Create (node) K8s client
Reconcile
Pod: CreatePod UpdatePod DeletePod GetPod GetPods GetPodStatus Node: Capacity NodeCondition Gophercloud Reconcile:
GetPods from RM, GetPods from Provider, CreatePod if no DeletionTimeStamp
GetPods from provider, Check into RM, if not exist, DeletePod from Provider
VK pod watcher Find pod request Resource Manager Add Pod to resource manager VK Reconcile
Get pod from Zun Compare with resource manager
CreatePod Remap attribute from pod to capsule
Provider gophercloud capsule create Zun Capsule create
Talk is cheap
May 24th, 3:30pm-3:50pm, Room 212
@OpenStack
Questions?
OpenStackFoundation