容器
Tips
- CRI - Container Runtime Interface - 运行时抽象
- kubernetes/cri-api
- 抽象容器运行接口
- 先是用于 Kubernetes - 2016-12 v1.5
- 实现
- docker
- containerd
- OCI - Open Container Initiative - 开发容器组织 - 定义容器标准
- CNI - Container Network Interface - 网络层抽象
- CSI - Container Storage Interface - 存储层抽象
- CRI-O - OCI-based implementation of Kubernetes Container Runtime Interface
- 其他运行时
- rkt - Rocket - 2020 废弃
- lxc
- hpcng/singularity
- 类 VM 容器
- Kata Containers
- 源自 OpenStack
- 底层 QEMU
- 架构
- Nabla
- 源自 IBM
- Unikernel
- Firecracker
- Virtual Machine Manager - 类似 QEMU
- gVisor
- 源自 Google
- syscall 拦截模拟
- Kata Containers
- containerd
- 基于 runc 实现 cri
- ctr 目录
- 参考
集群调度
-
Monolithic scheduling
- Apache Hadoop YARN denote by Yahoo
- 用于高性能计算
- an architecture that enforces capacity, fairness and deadlines.
- 执行大量短期计算任务
-
Two-level scheduling
- Mesos
-
Shared-state scheduling
- Google Omega
- Kubernetes
- an architecture that gives control to the developers, assuming that they respect the rules concerning the priority of their jobs in the cluster
- 执行少量长期运行服务