虚拟机管理程序

Type 1 Hypervisors 1 类虚拟机管理程序

直接在硬件和虚拟机之间创建抽象层,又叫bare metal hypervisors
Pasted%20image%2020240308082431

VMware ESXi、Proxmox、VMware vSphere、Xen 和 KVM都是这种

Type 2 Hypervisors 2 类虚拟机管理程序

从预先存在的操作系统之上的软件应用程序创建抽象层
最终用户或开发人员使用的
Pasted%20image%2020240308082556
包括 VMware Workstation、VMware Fusion、VirtualBox、Parallels 和

容器

第二种虚拟化,使用容器引擎来使用逻辑资源创建抽象层

k8s

编排平台 orchestration platform

集成到其他产品中,如docker

这些功能和特性包括以下内容:

  • Horizontal scaling: Unlike traditional “vertical” scaling, “horizontal” scaling refers to adding devices or machines to handle increased workload, rather than adding logic resources such as CPU or RAM.
    水平扩展:与传统的“垂直”扩展不同,“水平”扩展是指添加设备或机器来处理增加的工作负载,而不是添加 CPU 或 RAM 等逻辑资源。
  • Extensibility: Clusters can be modified dynamically without affecting containers outside of the intended group.
    可扩展性:可以动态修改集群,而不会影响目标组之外的容器。
  • Self-healing: K8s can automatically restart, replace, reschedule, and kill containers that are not properly functioning based on user-defined health checks.
    自我修复:K8s可以根据用户定义的健康检查自动重启、替换、重新调度和杀死无法正常运行的容器。
  • Automated rollouts and rollbacks: K8s can progressively roll out changes to containers. As changes are made, it will monitor the application’s health and decide whether to continue the rollout or rollback. This ensures the constant uptime of your cluster even if some containers fail.
    自动推出和回滚:K8s 可以逐步推出对容器的更改。当发生更改时,它将监视应用程序的运行状况并决定是继续推出还是回滚。即使某些容器发生故障,这也可以确保集群的持续正常运行时间。