Upgrade to Pro — share decks privately, control downloads, hide ads and more …

containerd

 containerd

Abstraction of containerd, for LT.

Yasuhiro Murata

September 10, 2019
Tweet

More Decks by Yasuhiro Murata

Other Decks in Technology

Transcript

  1. containerd
    Future-Daily-Standup-Meeting
    Kubernetes Ecosystem Study
    Yasuhiro Murata
    2019.09.10

    View full-size slide

  2. What is containerd ?

    View full-size slide

  3. What is containerd ?
    An industry-standard container runtime with an emphasis
    on simplicity, robustness and portability
    Graduated at Feb 28th 2019

    View full-size slide

  4. What is containerd ?
    u containerd is available as a daemon for Linux and Windows,
    conforming CRI(Container Runtime Interface)
    Manages the complete container lifecycle

    View full-size slide

  5. What is CRI ?

    View full-size slide

  6. What is CRI ?
    u CRI(container runtime interface) and OCI(open container initiative)
    l CRI runtime, also be called High-level runtime, receive request from kubelet.
    l OCI runtime, also be called Low-level runtime, receive request from High-level runtime and
    use kernel to create container environment.
    kubelet CRI
    runtime
    OCI
    runtime
    containers

    View full-size slide

  7. What is CRI ?
    u A plugin interface which enables kubelet to use a wide variety of
    container runtimes
    l Container runtimes were integrated with kubelet through implementing an internal, high-
    level interface in kubelet.
    l Integration required understanding the internals of kubelet and contributing to the main
    Kubernetes repository.
    l CRI is one small, yet important step to enable pluggable container runtimes and build a
    healthier ecosystem.
    https://kubernetes.io/blog/2016/12/container-runtime-interface-cri-in-kubernetes/
    container runtime (and CRI shim)
    connects Kubelet and containers

    View full-size slide

  8. containerd EVOLUTION

    View full-size slide

  9. containerd EVOLUTION
    u containerd integration architecture has evolved twice.
    https://kubernetes.io/blog/2018/05/24/kubernetes-containerd-integration-goes-ga/
    A daemon called CRI-Containerd was required to
    operate between Kubelet and containerd

    View full-size slide

  10. containerd EVOLUTION
    u containerd integration architecture has evolved twice.
    https://kubernetes.io/blog/2018/05/24/kubernetes-containerd-integration-goes-ga/
    CRI-Containerd daemon is now refactored to be a
    containerd CRI plugin

    View full-size slide

  11. containerd EVOLUTION
    u No more Docker?
    l The answer is NO. Docker use containerd, which have CRI plugin.
    https://kubernetes.io/blog/2018/05/24/kubernetes-containerd-integration-goes-ga/

    View full-size slide

  12. containerd
    with Kubernetes

    View full-size slide

  13. containerd with Kubernetes
    u There’re various container runtimes such as...
    • Docker
    • cri-o
    • containerd
    • frakti

    View full-size slide

  14. containerd
    with GKE

    View full-size slide

  15. containerd with GKE
    Currently, GKE only supports the use of Docker containers for your workloads.
    Support for other types of containers is planned for upcoming releases.
    https://cloud.google.com/kubernetes-engine/docs/concepts/kubernetes-engine-overview
    2019.09.10

    View full-size slide