Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes...
Transcript of Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes...
![Page 2: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/2.jpg)
The Story So far...
...for Virtualization in a cloud-native world:● I need a place to install, run, and manage my Kubernetes clusters.
![Page 3: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/3.jpg)
The Story So far...
...for Virtualization in a cloud-native world:● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, oVirt, VMware, AWS, GCE, Azure, etc.
![Page 4: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/4.jpg)
The Story So far...
...for Virtualization in a cloud-native world:● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, oVirt, VMware, AWS, GCE, Azure, etc.● I need a way to provide strict isolation of my application containers.
![Page 5: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/5.jpg)
The Story So far...
...for Virtualization in a cloud-native world:● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, oVirt, VMware, AWS, GCE, Azure, etc.● I need a way to provide strict isolation of my application containers.
=> Katacontainers, gVisor
![Page 6: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/6.jpg)
What about existing workloads?
CONTAINER INFRASTRUCTURE AND ORCHESTRATIONContainer Application and Kubernetes orchestration as provided by OpenShift are becoming the standard for new applications.
![Page 7: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/7.jpg)
What about existing workloads?
CONTAINER INFRASTRUCTURE AND ORCHESTRATIONContainer Application and Kubernetes orchestration as provided by OpenShift are becoming the standard for new applications.
VIRTUALIZED WORKLOADSVirtualized Workloads are not going anywhere fast! Business reasons (cost, time to market) and technical reasons (older/different operating system)
![Page 8: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/8.jpg)
What about existing workloads?
CONTAINER INFRASTRUCTURE AND ORCHESTRATIONContainer Application and Kubernetes orchestration as provided by OpenShift are becoming the standard for new applications.
VIRTUALIZED WORKLOADSVirtualized Workloads are not going anywhere fast! Business reasons (cost, time to market) and technical reasons (older/different operating system)
CONVERGING INFRASTRUCTUREExisting solutions force us to manage both separately. How can we bring these two worlds closer together?
![Page 9: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/9.jpg)
Enter KubeVirt
![Page 10: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/10.jpg)
What is KubeVirt?Technology enabling developer use of Kubernetes as a unified platform for building,
modifying, and deploying applications residing in both containers and virtual machines in a common, shared environment.
Add virtual machines to your Kubernetes/OpenShift projects directly from the service catalog!
![Page 11: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/11.jpg)
What is KubeVirt?
● Drops directly into existing Kubernetes Clusters
● Takes as K8S-native an approach as possible
● Leverage Container Networking Interface (CNI),
Container Storage Interface (CSI). and other
K8S-native integrations.
● Apache License, Version 2.0
Operating System
Kubernetes
Physical Machine
VM Pod Regular Pod
http://kubevirt.io
![Page 12: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/12.jpg)
Components- KubeVirt
The virtual machine operator
- Containerized Data Importer (CDI)Importing disks
- OpenShift Web Console (Optional)With UI extensions
- Virt-v2v (APB)Importing a whole virtual machine
![Page 13: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/13.jpg)
High Level Architecture
![Page 14: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/14.jpg)
VirtualMachine Operator and API● Virtual Machines have their own
kind○ Ability to express all
common virtual machine parameters and actions
○ Targeted feature set is comparable to libvirt
● Implemented as a CRD○ Inheriting authn, authz,
client ool support, …
apiVersion: kubevirt.io/v1alpha1kind: VirtualMachinemetadata: name: vm-fedoraspec: domain: devices: disks: … resources: requests: memory: 1024M volumes: …status: interfaces: - ipAddress: 172.17.0.12 nodeName: localhost phase: Running
![Page 15: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/15.jpg)
Example Use Case
![Page 16: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/16.jpg)
Example Use Case: We have a VM!
![Page 17: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/17.jpg)
Example Use Case: Import
Import Using V2V or from an image.
![Page 18: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/18.jpg)
Example Use Case: New Functionality
![Page 19: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/19.jpg)
Example Use Case: Decomposition
![Page 20: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/20.jpg)
Demo
![Page 21: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/21.jpg)
Demo
Pre-requisites:● kubectl● minikube/minishift
http://kubevirt.io/get_kubevirt/
NB: Yes, we’re running nested virt here - fine for getting started!
![Page 22: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/22.jpg)
Future Plans● Operators for KubeVirt, Common Data Importer, etc.● Additional VM life-cycle actions.● Additional Networking options (Multiple Networks, SR-IOV).● Add more flows to the UI.● Turn-Key storage solutions.● VM ReplicaSets, DaemonSets, etc.● Initial Istio support.
![Page 23: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/23.jpg)
Collaborating
● Website:○ https://kubevirt.io
● GitHub:○ https://github.com/kubevirt/
● Mailing List:○ https://groups.google.com/forum/#!forum/kubevirt-dev
● IRC:○ #kubevirt on irc.freenode.net
● Slack (K8S virtualization working group):○ #virtualization on kubernetes.slack.com
![Page 24: Cats and Dogs Living Together? - Linux Foundation Events · Container Application and Kubernetes orchestration as provided by OpenShift are ... minikube/minishift ... fine for getting](https://reader033.fdocuments.in/reader033/viewer/2022042222/5ec94e81c092e822843a5fb3/html5/thumbnails/24.jpg)