手工 Installing CRI-O、kubeadm init

上一篇,其實少裝了一個重要角色 Container Runtime Interface,簡稱 CRI 這一篇,來裝吧~

CRI-O

我選擇 Container Runtime 是 CRI-O,是個專為 K8s 而設計,並且完全支持符合 OCI 規範的任何容器。 像是 Redhat 商用 K8s 平台:OpenShift 即使以 CRI-O 作為預設的 Container Runtime。 開源的 CRI 專案網址:https://github.com/kubernetes-sigs/cri-o 官網網址:http://cri-o.io/

CRI-O Compatibility <-> Kubernetes clusters

Version - Branch

Kubernetes branch/version

Maintenance status

CRI-O 1.0.x - release-1.0

Kubernetes 1.7 branch, v1.7.x

CRI-O 1.8.x - release-1.8

Kubernetes 1.8 branch, v1.8.x

CRI-O 1.9.x - release-1.9

Kubernetes 1.9 branch, v1.9.x

CRI-O 1.10.x - release-1.10

Kubernetes 1.10 branch, v1.10.x

CRI-O 1.11.x - release-1.11

Kubernetes 1.11 branch, v1.11.x

CRI-O 1.12.x - release-1.12

Kubernetes 1.12 branch, v1.12.x

CRI-O HEAD - master

Kubernetes master branch

  • Key:

    • Changes in main Kubernetes repo about CRI are actively implemented in CRI-O

    • = Maintenance is manual, only bugs will be patched.

K8s CRI-O Architecture

Install CRI-O

Prerequisites

Install prerequisites & CRI-O

Start CRI-O

kubeadm init

Last updated