Convergence of your virtualization and container infrastructures with KubeVirt Fabian Deutsch, Red Hat, Virtualization & IaaS, FOSDEM 2018 1
Hello. Fedora user and former package maintainer oVirt and KubeVirt Contributor Working at Red Hat fabiand@redhat.com @dummdida fabiand https://dummdida.tumblr.com 2
Just one? ( wererabbit , CC BY NC-ND 2.0) 3
Need/Want Everything ( wererabbit , CC BY NC-ND 2.0) 4
5
A Stack? 6
One Stack 7
Another Stack 8
Obviously. 9
Obviously not. 10
🎊 Storage Network Compute 11
🎊 Monitoring Logging Auditing Authentication Storage Network Compute Updating … 12
A stack, heavier than it looks ( jshj , CC BY NC 2.0) 13
Need/Want Everything (sorry, CC BY unknown 2.0) 14
Virtualization and containers ( giphy ) 15
N=2 16
Maybe. 17
KubeVirt 18
Kubernetes virtualization API and runtime add-on # If optimistic|hero|curious and cluster owner, then $ kubecuddle create -f run.kubevirt.io/v/0.2.0.yaml $ kubecuddle create -f run.kubevirt.io/v/0.2.0-on-minikube.yaml ( wallpapercave ) 19
Single API entrypoint $ kubecuddle get pods $ kubecuddle get vms 20
… inheriting authentication & authorization 21
… aligned logging & metrics 22
… aligned metric exposure 23
So cloud-native that it hurts thrills Independent life-cycle, just like any other cloud-native app. No need to bother the host, who needs it anyway?! Everybody. (sorry, CC BY unknown 2.0) 24
The famous 80% and unlucky 20. 25
VirtualMachine kind: VirtualMachine metadata: name: awesome2 spec: domain: devices: … nodeSelector: cpu: fast status: phase: Running 26
We get scheduled like other pods 27
We have display and console access! 28
Our network works like a pod's network ~ SOON ~ 29
PersistentVolumes are our disks ~ SOON ~ 30
We've got live migration! ~ SOON AGAIN ~ 31
There is a price. 32
OBEY & PAY to Kubernetes (and if you wear one of those hats) Not that bad actually. It's a chance to think. 33
"Kubernetes first, virtualization second." -- The Razor Well, we'll not forget you, virtualization. ( jshj , CC BY NC 2.0) 34
Obey: Network Price: No pipes SOON: Pipes Price? 35
Obey: Scheduling Price: No rescheduling SOON: Descheduler Price? 36
Obey: NUMA Awareness Price: Less optimized SOON: CPU Manager Price? 37
How far will it go? Not endless, there are di ff erences. 38
Try (with minikube ) $ kubectl create \ -f run.kubevirt.io/v/0.2.0-on-minikube.yaml \ -f manifests/demo-pv.yaml 39
Going forward Get it to you ! Stabilize Contribute to Kubernetes ( cuatrok , CC BY SA 2.0) 40
~ W I P Summary ~ 80% Single, uni fi ed, and consistent API Converged infrastructure 41
Thank you. https://github.com/kubevirt/ User Guide (link) @kubevirt Me: @fabiand 42
Recommend
More recommend