SlideShare uma empresa Scribd logo
1 de 37
Baixar para ler offline
INTRODUCING KUBEVIRT
KUBERNETES AND CLOUD NATIVE OTTAWA
Stephen Gordon ( @xsgordon / sgordon@redhat.com )
Principal Product Manager, Cloud Platforms @ Red Hat
December 4th, 2018
DISCLAIMER
This is active research and development, with a
preview expected in an upcoming OpenShift
release.
There be dragons!
WHAT DO CONTAINERS HAVE TO DO WITH
VIRTUALIZATION?
THE STORY SO FAR...
● I need a place to install, run, and manage my Kubernetes clusters.
...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
THE STORY SO FAR...
● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc.
...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
THE STORY SO FAR...
● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc.
● I need a way to provide strict(er) isolation of my application containers.
...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
THE STORY SO FAR...
● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc.
● I need a way to provide strict(er) isolation of my application containers.
=> Katacontainers, gVisor, Isolates, Firecracker
...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
THE STORY SO FAR...
● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc.
● I need a way to provide strict(er) isolation of my application containers.
=> Katacontainers, gVisor, Isolates, Firecracker
● I need to connect services like ACI and Fargate into my Kubernetes cluster.
...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
THE STORY SO FAR...
● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc.
● I need a way to provide strict(er) isolation of my application containers.
=> Katacontainers, gVisor, Isolates, Firecracker
● I need to connect services like ACI and Fargate into my Kubernetes cluster.
=> virtual-kubelet *not actually virtualization
...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
THE STORY SO FAR...
● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc.
● I need a way to provide strict(er) isolation of my application containers.
=> Katacontainers, gVisor, Isolates, Firecracker
● I need to connect services like ACI and Fargate into my Kubernetes cluster.
=> virtual-kubelet *not actually virtualization
● I need a way to run my application containers and virtual machines on a common
platform.
...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
THE STORY SO FAR...
● I need a place to install, run, and manage my Kubernetes clusters.
=> OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc.
● I need a way to provide strict(er) isolation of my application containers.
=> Katacontainers, gVisor, Isolates, Firecracker
● I need to connect services like ACI and Fargate into my Kubernetes cluster.
=> virtual-kubelet *not actually virtualization
● I need a way to run my application containers and virtual machines on a common
platform.
=> KubeVirt!
...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
CONTAINERS AND VIRTUAL MACHINES
CONTAINER INFRASTRUCTURE AND ORCHESTRATION
Containerized applications and Kubernetes container orchestration as provided by
OpenShift are becoming the standard for new applications.
CONTAINERS AND VIRTUAL MACHINES
CONTAINER INFRASTRUCTURE AND ORCHESTRATION
Containerized applications and Kubernetes container orchestration as provided by
OpenShift are becoming the standard for new applications.
VIRTUALIZED WORKLOADS
Virtualized workloads are not going anywhere fast!
CONTAINERS AND VIRTUAL MACHINES
CONTAINER INFRASTRUCTURE AND ORCHESTRATION
Containerized applications and Kubernetes container orchestration as provided by
OpenShift are becoming the standard for new applications.
VIRTUALIZED WORKLOADS
Virtualized workloads are not going anywhere fast!
BARE-METAL RESURGENCE
Increasingly customers are pursuing bare-metal clusters for net new business
functionality being built in containers.
INTRODUCING KUBEVIRT!
WHAT IS KUBEVIRT
Add virtual machines to your Kubernetes namespace as easily as application containers.
Easily leverage existing VM-based services from your new workloads!
EXAMPLE USE CASE - START WITH A VM
EXAMPLE USE CASE - IMPORT IT!
Import Using V2V or from an image.
EXAMPLE USE CASE - BUILD NEW SERVICES
EXAMPLE USE CASE - START DECOMPOSING
Container
TOGETHER AT LAST
Virtual Machine
Operating System
Physical Machine
Container
Resultant virtual machines are able to run side by side directly on the same Kubernetes
nodes as application containers.
Leverages tried and trusted KVM/QEMU virtualization capabilities.
{Pods
Kubernetes
LEVERAGE EXISTING ECOSYSTEMS
Use native OpenShift Primed storage solutions or existing ecosystem of 80+ battle tested
drivers via Container Storage Interface (CSI) “Ember” plug-in.
Container
Virtual Machine
Operating System
Physical Machine
Container
Kubernetes
LET’S GO A LITTLE DEEPER...
KUBEVIRT: THE CNV UPSTREAM
● Integrates directly into existing Kubernetes clusters
● Uses a k8s-native approach whenever possible
● Leverage Container Networking Interface (CNI),
Container Storage Interface (CSI), and other
k8s-native integrations
Operating System
Kubernetes
Physical Machine
VM Pod
Regular
Pod
http://kubevirt.io
KUBEVIRT ANATOMY
Master
Custom
Resource
KUBEVIRT ANATOMY
Master
virt-controller
Custom
Resource
KUBEVIRT ANATOMY
Pod
Virtual Machine
Master Minion
virt-handler
virt-controller
Custom
Resource
KUBEVIRT ANATOMY
Pod
Virtual Machine
Master Minion
virt-handler
virt-controller
Custom
Resource
Minion
virt-handler
Pod
Virtual Machine
• Build on Kubernetes, adding new API-level resources.
• Declarative when paired with a controller.
$ kubectl get crds
NAME AGE
datavolumes.cdi.kubevirt.io 5m
virtualmachineinstancepresets.kubevirt.io 5m
virtualmachineinstancereplicasets.kubevirt.io 5m
virtualmachineinstances.kubevirt.io 5m
virtualmachines.kubevirt.io 5m
CUSTOM RESOURCE DEFINITIONS
COMPONENTS OF CNV
- KubeVirt
The virtual machine operator
https://github.com/kubevirt/kubevirt/
- Containerized Data Importer (CDI)
Importing disks
https://github.com/kubevirt/containerized-d
ata-importer
- OpenShift Web Console
With UI extensions
https://github.com/kubevirt/web-ui
- Containerized Virt-v2v
Importing a whole virtual machine
https://github.com/kubevirt/v2v-job
LET’S TAKE A LOOK!
Pre-requisites:
● kubectl
● minikube/minishift
Notes:
● Yes, we’re running nested virt here - fine for getting
started!
● Using upstream bits, for now, in product preview coming!
DEMO
http://kubevirt.io/get_kubevirt/
● We inspected the custom resource definitions
● We imported an image using oc/kubectl
● We created and started a basic VM using oc/kubectl
● We made a change to that VM’s disk
● We cloned the disk and created a new VM
● We checked how the UI looks!
DEMO RECAP
ROADMAP THEMES
Production Workloads Embrace the PlatformSupportability
(What’s missing today?)
KubeVirt is not a drop-in replacement for traditional virtualization today.
We’re working on it!
● Simplify upgrade process
● Debug tooling support
(sosreports, Insights)
● Broad provider support
● Layer-2 Networking
● Live Migration
● Upload image as Template
● Guest agent introspection
● Operators for all!
● Integrated VM management
● Metrics and monitoring
COLLABORATING?
Upstream Community:
● Website: KubeVirt.io
● GitHub: https://github.com/kubevirt/
● Mailing List: https://groups.google.com/forum/#!forum/kubevirt-dev
● IRC: #kubevirt on irc.freenode.net
Red Hat:
● We are currently seeking design partners and early adopters willing to:
○ Try out Container-native Virtualization!
○ Give us feedback!
● FAQ
○ https://www.redhat.com/en/resources/container-native-virtualization
Introducing KubeVirt

Mais conteúdo relacionado

Mais de Stephen Gordon

Dude, This Isn't Where I Parked My Instance?
Dude, This Isn't Where I Parked My Instance?Dude, This Isn't Where I Parked My Instance?
Dude, This Isn't Where I Parked My Instance?Stephen Gordon
 
What's new in OpenStack Liberty
What's new in OpenStack LibertyWhat's new in OpenStack Liberty
What's new in OpenStack LibertyStephen Gordon
 
Compute 101 - OpenStack Summit Vancouver 2015
Compute 101 - OpenStack Summit Vancouver 2015Compute 101 - OpenStack Summit Vancouver 2015
Compute 101 - OpenStack Summit Vancouver 2015Stephen Gordon
 
Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)Stephen Gordon
 
OpenStack Toronto: Juno Community Update
OpenStack Toronto: Juno Community UpdateOpenStack Toronto: Juno Community Update
OpenStack Toronto: Juno Community UpdateStephen Gordon
 
Divide and conquer: resource segregation in the OpenStack cloud
Divide and conquer: resource segregation in the OpenStack cloudDivide and conquer: resource segregation in the OpenStack cloud
Divide and conquer: resource segregation in the OpenStack cloudStephen Gordon
 
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)Stephen Gordon
 
Deltacloud - Abstracting for Freedom
Deltacloud - Abstracting for FreedomDeltacloud - Abstracting for Freedom
Deltacloud - Abstracting for FreedomStephen Gordon
 

Mais de Stephen Gordon (9)

Dude, This Isn't Where I Parked My Instance?
Dude, This Isn't Where I Parked My Instance?Dude, This Isn't Where I Parked My Instance?
Dude, This Isn't Where I Parked My Instance?
 
What's new in OpenStack Liberty
What's new in OpenStack LibertyWhat's new in OpenStack Liberty
What's new in OpenStack Liberty
 
Compute 101 - OpenStack Summit Vancouver 2015
Compute 101 - OpenStack Summit Vancouver 2015Compute 101 - OpenStack Summit Vancouver 2015
Compute 101 - OpenStack Summit Vancouver 2015
 
Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)
 
OpenStack Toronto: Juno Community Update
OpenStack Toronto: Juno Community UpdateOpenStack Toronto: Juno Community Update
OpenStack Toronto: Juno Community Update
 
Divide and conquer: resource segregation in the OpenStack cloud
Divide and conquer: resource segregation in the OpenStack cloudDivide and conquer: resource segregation in the OpenStack cloud
Divide and conquer: resource segregation in the OpenStack cloud
 
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
 
Publican
PublicanPublican
Publican
 
Deltacloud - Abstracting for Freedom
Deltacloud - Abstracting for FreedomDeltacloud - Abstracting for Freedom
Deltacloud - Abstracting for Freedom
 

Último

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Último (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Introducing KubeVirt

  • 1. INTRODUCING KUBEVIRT KUBERNETES AND CLOUD NATIVE OTTAWA Stephen Gordon ( @xsgordon / sgordon@redhat.com ) Principal Product Manager, Cloud Platforms @ Red Hat December 4th, 2018
  • 2. DISCLAIMER This is active research and development, with a preview expected in an upcoming OpenShift release. There be dragons!
  • 3. WHAT DO CONTAINERS HAVE TO DO WITH VIRTUALIZATION?
  • 4. THE STORY SO FAR... ● I need a place to install, run, and manage my Kubernetes clusters. ...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
  • 5. THE STORY SO FAR... ● I need a place to install, run, and manage my Kubernetes clusters. => OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc. ...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
  • 6. THE STORY SO FAR... ● I need a place to install, run, and manage my Kubernetes clusters. => OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc. ● I need a way to provide strict(er) isolation of my application containers. ...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
  • 7. THE STORY SO FAR... ● I need a place to install, run, and manage my Kubernetes clusters. => OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc. ● I need a way to provide strict(er) isolation of my application containers. => Katacontainers, gVisor, Isolates, Firecracker ...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
  • 8. THE STORY SO FAR... ● I need a place to install, run, and manage my Kubernetes clusters. => OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc. ● I need a way to provide strict(er) isolation of my application containers. => Katacontainers, gVisor, Isolates, Firecracker ● I need to connect services like ACI and Fargate into my Kubernetes cluster. ...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
  • 9. THE STORY SO FAR... ● I need a place to install, run, and manage my Kubernetes clusters. => OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc. ● I need a way to provide strict(er) isolation of my application containers. => Katacontainers, gVisor, Isolates, Firecracker ● I need to connect services like ACI and Fargate into my Kubernetes cluster. => virtual-kubelet *not actually virtualization ...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
  • 10. THE STORY SO FAR... ● I need a place to install, run, and manage my Kubernetes clusters. => OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc. ● I need a way to provide strict(er) isolation of my application containers. => Katacontainers, gVisor, Isolates, Firecracker ● I need to connect services like ACI and Fargate into my Kubernetes cluster. => virtual-kubelet *not actually virtualization ● I need a way to run my application containers and virtual machines on a common platform. ...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
  • 11. THE STORY SO FAR... ● I need a place to install, run, and manage my Kubernetes clusters. => OpenStack, RHV/ oVirt, VMware, AWS, GCE, Azure, etc. ● I need a way to provide strict(er) isolation of my application containers. => Katacontainers, gVisor, Isolates, Firecracker ● I need to connect services like ACI and Fargate into my Kubernetes cluster. => virtual-kubelet *not actually virtualization ● I need a way to run my application containers and virtual machines on a common platform. => KubeVirt! ...FOR VIRTUALIZATION IN A CONTAINERIZED WORLD
  • 12. CONTAINERS AND VIRTUAL MACHINES CONTAINER INFRASTRUCTURE AND ORCHESTRATION Containerized applications and Kubernetes container orchestration as provided by OpenShift are becoming the standard for new applications.
  • 13. CONTAINERS AND VIRTUAL MACHINES CONTAINER INFRASTRUCTURE AND ORCHESTRATION Containerized applications and Kubernetes container orchestration as provided by OpenShift are becoming the standard for new applications. VIRTUALIZED WORKLOADS Virtualized workloads are not going anywhere fast!
  • 14. CONTAINERS AND VIRTUAL MACHINES CONTAINER INFRASTRUCTURE AND ORCHESTRATION Containerized applications and Kubernetes container orchestration as provided by OpenShift are becoming the standard for new applications. VIRTUALIZED WORKLOADS Virtualized workloads are not going anywhere fast! BARE-METAL RESURGENCE Increasingly customers are pursuing bare-metal clusters for net new business functionality being built in containers.
  • 16. WHAT IS KUBEVIRT Add virtual machines to your Kubernetes namespace as easily as application containers. Easily leverage existing VM-based services from your new workloads!
  • 17. EXAMPLE USE CASE - START WITH A VM
  • 18. EXAMPLE USE CASE - IMPORT IT! Import Using V2V or from an image.
  • 19. EXAMPLE USE CASE - BUILD NEW SERVICES
  • 20. EXAMPLE USE CASE - START DECOMPOSING
  • 21. Container TOGETHER AT LAST Virtual Machine Operating System Physical Machine Container Resultant virtual machines are able to run side by side directly on the same Kubernetes nodes as application containers. Leverages tried and trusted KVM/QEMU virtualization capabilities. {Pods Kubernetes
  • 22. LEVERAGE EXISTING ECOSYSTEMS Use native OpenShift Primed storage solutions or existing ecosystem of 80+ battle tested drivers via Container Storage Interface (CSI) “Ember” plug-in. Container Virtual Machine Operating System Physical Machine Container Kubernetes
  • 23. LET’S GO A LITTLE DEEPER...
  • 24. KUBEVIRT: THE CNV UPSTREAM ● Integrates directly into existing Kubernetes clusters ● Uses a k8s-native approach whenever possible ● Leverage Container Networking Interface (CNI), Container Storage Interface (CSI), and other k8s-native integrations Operating System Kubernetes Physical Machine VM Pod Regular Pod http://kubevirt.io
  • 27. KUBEVIRT ANATOMY Pod Virtual Machine Master Minion virt-handler virt-controller Custom Resource
  • 28. KUBEVIRT ANATOMY Pod Virtual Machine Master Minion virt-handler virt-controller Custom Resource Minion virt-handler Pod Virtual Machine
  • 29. • Build on Kubernetes, adding new API-level resources. • Declarative when paired with a controller. $ kubectl get crds NAME AGE datavolumes.cdi.kubevirt.io 5m virtualmachineinstancepresets.kubevirt.io 5m virtualmachineinstancereplicasets.kubevirt.io 5m virtualmachineinstances.kubevirt.io 5m virtualmachines.kubevirt.io 5m CUSTOM RESOURCE DEFINITIONS
  • 30. COMPONENTS OF CNV - KubeVirt The virtual machine operator https://github.com/kubevirt/kubevirt/ - Containerized Data Importer (CDI) Importing disks https://github.com/kubevirt/containerized-d ata-importer - OpenShift Web Console With UI extensions https://github.com/kubevirt/web-ui - Containerized Virt-v2v Importing a whole virtual machine https://github.com/kubevirt/v2v-job
  • 31. LET’S TAKE A LOOK!
  • 32. Pre-requisites: ● kubectl ● minikube/minishift Notes: ● Yes, we’re running nested virt here - fine for getting started! ● Using upstream bits, for now, in product preview coming! DEMO http://kubevirt.io/get_kubevirt/
  • 33.
  • 34. ● We inspected the custom resource definitions ● We imported an image using oc/kubectl ● We created and started a basic VM using oc/kubectl ● We made a change to that VM’s disk ● We cloned the disk and created a new VM ● We checked how the UI looks! DEMO RECAP
  • 35. ROADMAP THEMES Production Workloads Embrace the PlatformSupportability (What’s missing today?) KubeVirt is not a drop-in replacement for traditional virtualization today. We’re working on it! ● Simplify upgrade process ● Debug tooling support (sosreports, Insights) ● Broad provider support ● Layer-2 Networking ● Live Migration ● Upload image as Template ● Guest agent introspection ● Operators for all! ● Integrated VM management ● Metrics and monitoring
  • 36. COLLABORATING? Upstream Community: ● Website: KubeVirt.io ● GitHub: https://github.com/kubevirt/ ● Mailing List: https://groups.google.com/forum/#!forum/kubevirt-dev ● IRC: #kubevirt on irc.freenode.net Red Hat: ● We are currently seeking design partners and early adopters willing to: ○ Try out Container-native Virtualization! ○ Give us feedback! ● FAQ ○ https://www.redhat.com/en/resources/container-native-virtualization