Kubernetes Notes
  • README
  • 序:Kubernetes之道
  • 搭建开发环境
    • 搭建本地开发测试环境
  • 基本概念
    • Workloads
      • StatefulSet
    • 认证鉴权
      • 理解证书
      • Kubelet配置
    • 垃圾回收
    • Service
  • 基础组件
    • Scheduler
    • 自动扩缩容(HPA)
  • 容器运行时(Container Runtime)
    • CRI
    • Docker
      • 安装配置Docker
      • Docker FAQ
    • Containerd
  • 资源隔离与限制
    • 基础知识
      • Cgroup
      • Namespaces
    • CPU
    • Memory
    • 网络出/入带宽
    • GPU
    • Container
    • FAQ
  • 网络
    • 基础知识
      • Linux network interfaces
      • Iptables
      • Overlay network
    • CNI
    • Flannel
      • Flannel原理
      • host-gw
      • vxlan
      • ipip
    • Calico
    • Cilium
  • Service Mesh
    • Istio
  • 扩展Kubernetes
    • Admission controller
    • Custom resource definition(CRD)
    • Scheduler extender
    • 扩展资源维度
    • Kubectl plugin
    • Aggregator
    • Device plugin
  • 现网问题
    • Kubernetes
    • ETCD
    • Docker
  • 最佳实践
    • 各组件参数配置调优
    • 各大公司生产环境实践
    • 如何打造一个Kubernetes平台
  • 生产力小工具
    • 生成特定权限和配额的kubeconfig
  • 社区贡献
  • 学习资料
  • 附录:RTFSC
    • Informer
    • Pod deletion
Powered by GitBook
On this page

Was this helpful?

  1. 容器运行时(Container Runtime)

CRI

Previous容器运行时(Container Runtime)NextDocker

Last updated 3 years ago

Was this helpful?

CRI定义了pod、image相关的一系列,如果要增加一个新的容器引擎,只需要新增一个相应的CRI实现即可。如果runtime是兼容OCI标准的,直接使用现有的或即可。

通过工具可以很方便地与CRI接口通信,使用起来也很方便(和docker命令类似),而且它提供了crictl pods(列出pods)之类的好用的命令。

参考资料

  • The differences between Docker, containerd, CRI-O and runc: https://www.tutorialworks.com/difference-docker-containerd-runc-crio-oci/

  • Who Is Running My Kubernetes Pod? The Past, Present, and Future of Container Runtimes: https://www.infoq.com/articles/container-runtimes-kubernetes

  • Kubernetes 容器运行时演进: https://feisky.xyz/posts/kubernetes-container-runtime/

接口
cri-o
cri-containerd
CRI-tools