Versioned CRI-O and CRI-Tools RPMs

Bradley G Smith, Version F41 Last review: 2024-07-30

This page discusses third-party software sources not officially affiliated with or endorsed by the Fedora Project. Use them at your own discretion. Fedora recommends the use of free and open source software and avoidance of software encumbered by patents.

개요

CRI-O and CRI-Tools are independent software packages available in Fedora repositories that are version matched to Kubernetes. If Kubernetes 1.30 is installed, then, when installed, CRI-O and CRI-Tools should also have the same minor version, i.e 1.30.

CRI-O

The Container Runtime Interface(CRI) is the plugin interface used by the kubelet to communicate with the container runtime on each node that launches pods and their containers. There are several implementations of CRI including CRI-O and containerd.

CRI-O is available in Fedora repositories as versioned rpms in parallel with Kubernetes. If kubernetes1.30 is installed and CRI-O is the designated CRI implementation, then cri-o1.30 needs to be installed.

구성

CRI-O configuration options are set in /etc/crio/crio.conf. This file is managed by rpm and therefore replaced when a versioned CRI-O package is replaced by another package (not counting patch level updates) such as when the cri-o1.30 rpm is replaced by the cri-o1.31 rpm. One method to create and manage custom CRI-O conifiguration settings that persist across updates is to take advantage of CRI-O support for a drop-in configuration. The default drop-in subdirectory is /etc/crio/crio.conf.d/. Settings in configuration files placed in the drop-in directory take precedence over the same setting in the default configuration file /etc/crio/crio.conf. If multiple drop-in configuration files have the same setting, the file that is sorted last in lexical order will have precedence. See crio.conf.d man file for additional information.

See Resilient kubelet configuration for related kublet configuration options.

CRI-Tools

CRI-Tools is a command line interface to any implementation of the CLI. CRI-Tools is available from the Kubernetes team. It is required when using kubeadm to initialize a cluster.

CRI-Tools is available in Fedora repositories as versioned rpms in parallel with Kubernetes. If kubernetes1.30 and kubernetes1.30-kubeadm are installed then cri-tools1.30 needs to be installed.