Cloud Native Computing Foundation adopts Kubernetes-friendly container runtime

What is Kubernetes?

Here’s everything you need to know about Kubernetes. Read more:

A few years ago, Docker made containers popular. With the rise of Kubernetes container orchestration, Cloud Native Computing Foundation’s (CNCF) newly adopted open-source Container Runtime Interface — Orchestrator (CRI-O) runtime — CRI-O may rise to the top of container deployments.

That’s because to run containers at scale you need an orchestration program. By the end of 2017, Kubernetes has become the most popular container orchestrator.

You can, of course user Docker to run containers under Kubernetes. Indeed, Docker is still Kubernetes’ default container runtime. But the lightweight CRI-O runtime works hand-in-API-glove with Kubernetes.

CRI-O has the following features:

  • Storage: The library is used for managing layers and creating root file-systems for the containers in a pod: OverlayFS, devicemapper, AUFS and btrfs are implemented, with OverlayFS as the default driver.
  • Container images: The library is used for pulling images from registries. Currently, it supports Docker schema 2/version 1 as well as schema 2/version 2. It also passes all Docker and Kubernetes tests.
  • Networking: The Container Network Interface (CNI) is used for setting up networking for the pods. Various CNI plugins such as Flannel, Weave, Cilium and OpenShift-SDN have been tested with CRI-O and are working as expected.
  • Monitoring: is a utility within CRI-O that is used to monitor the containers, handle logging from the container process, serve attach clients and detecting and reporting Out Of Memory (OOM) situations.
  • Security: Container security separation policies are provided by a series of tools including SELinux, Capabilities, seccomp, and other security separation policies as specified in the OCI Specification.

CRI began as an API to define calls to container runtimes. This made it possible for people to make Kubernetes-friendly, lightweight container runtime programs. CRI-O was the first Kubernetes CRI-compatible container runtime. It was created by Google and Red Hat, with help from Intel, SUSE, and IBM. CRI-O has gotten quite popular.

In part, said Brendan Burns, Kubernetes cofounder, that’s because “A founding principal of CRI-O was to ‘not reinvent the wheel’ but to use shared components and refine approaches tested in production, and existing, battle tested code. As CRI-O is specifically tailored for Kubernetes, it is tuned for performance, stability, compatibility, and adherence to standards, particularly the Kubernetes Conformance tests. CRI-O is a building block of any Kubernetes cluster, and facilitates the life cycle of containers as required by the Kubernetes CRI.”

So does that mean CRI-O will replace Docker? Well, yes and no.

As Antonio Murdaca, a Red Hat senior engineer and CRI-O maintainer, explained, “Is CRI-O going to replace Docker? Nope, or well, it’s meant as a Kubernetes focused runtime, so it replaces Docker in the context of Kubernetes. It won’t replace Docker as the developer tool we’re all used to. CRI-O does not implement the Docker Engine API or the Docker CLI. This means you can not use the Docker CLI to talk to a CRI-O daemon. You have to go through Kubernetes.”

Still, it is going to give Docker competition. As Chris Aniszczyk, CNCF CTO, wrote, “CNCF hosts a variety of container runtimes and we’re excited to have CRI-O join them as an incubation level project. Choice and competition benefit end users.”

Related posts

Mobile Security Guide For Ordinary Users

5 Mins read
Mobile phones are now essential tools for everyday life. They allow us to communicate, access information, play games, watch movies, listen to…

A Guide To Smartphone Repair Services

4 Mins read
The smartphone industry has made great strides in the past few years. And though that’s not necessarily a bad thing, it’s a…

Windows 10: Second batch of September 2019 updates available

7 Mins read
Microsoft released the second batch of updates for most supported versions of the company’s Windows operating system on September 24, 2019. The…

Leave a Reply

Your email address will not be published. Required fields are marked *