1、Red Hat OpenShift VirtualizationFrancis ViviersSenior Specialist Solution Architect-OpenshiftRed HatRed Hat OpenShift Virtualization OverviewContainers are not virtual machines4InfrastructureOperating SystemApp 1App 3App 2HypervisorGuestOSGuestOSGuestOSInfrastructureVirtualizationContainerizationApp
2、 1App 3App 2Containers are process isolationKernel namespaces provide isolation and cgroups provide resource controlsNo hypervisor needed for containersContain only binaries,libraries,and tools which are needed by the applicationEphemeralVirtual machines can be put into containers5 A KVM virtual mac
3、hine is a process Containers encapsulate processes Both have the same underlying resource needs:Compute Network(sometimes)StorageOpenShift Virtualization6Virtual machinesRunning in containers,managed as PodsUsing the KVM hypervisorScheduled,deployed,and managed by KubernetesIntegrated with container
4、 orchestrator resources and servicesTraditional Pod-like SDN connectivity and/or connectivity to external VLAN and other networks via multusPersistent storage paradigm(PVC,PV,StorageClass)VM containers use KVM7OpenShift Virtualization uses KVM,the Linux kernel hypervisorKVM is a core component of th
5、e Red Hat Enterprise Linux kernelKVM has 10+years of production use:Red Hat Virtualization,Red Hat OpenStack Platform,and RHEL all leverage KVM,QEMU,and libvirtQEMU uses KVM to execute virtual machineslibvirt provides a management abstraction layerHARDWARERHCOSKVMCPU/RAMSTORAGENETWORKDRIVERDRIVERDRI
6、VEROTHER APPSQEMUlibvirtContainerizing KVM8Trusted,mature KVM wrapped in modern management and automationRHEL CoreOS HostKubeVirt ContainerRHV HostRHV-M Console/CLIvdsmlibvirtQEMU/KVMVMRed Hat VirtualizationOpenShift Console/CLIkubeletlibvirtQEMU/KVMVMOpenShift VirtualizationOSP ComputeOpenStack Hor