Kubernetes v1.11 requires CRI

Kubernetes v1.11 requires CRI

Today I upgraded my kubernetes cluster from v1.11-beta.2 to v1.11-rc.1, discovered that a general warning message now becomes ERROR:

$ kubeadm init --config /etc/kubernetes/kubeadm.yml
I0623 08:00:06.826671    1703 feature_gate.go:230] feature gates: &{map[]}
[init] using Kubernetes version: v1.11.0-rc.1
[preflight] running pre-flight checks
I0623 08:00:06.907111    1703 kernel_validator.go:81] Validating kernel version
I0623 08:00:06.907182    1703 kernel_validator.go:96] Validating kernel config
[preflight] Some fatal errors occurred:
  [ERROR FileExisting-crictl]: crictl not found in system path

After a small investigation I found github pull request that adds a new package to arsenal, before I required to install via golang.

Welcome to yum install -y cri-tools. Updated terraform modules to preinstall CRI: https://github.com/jetthoughts/infrastructure/commit/a783f4dd4382772cce0b86c20bdc2193d4fafa0f.

Michael Nikitochkin is a Lead Software Engineer. Follow him on LinkedIn or GitHub.

If you enjoyed this story, we recommend reading our latest tech stories and trending tech stories.