kubernetes-sigs/kubespray

Convert usages of nerdctl and crt to crictl

オープン

#10,907 opened on 2024/02/08

 (12 件のコメント) (1 件のリアクション) (1 人の担当者)HTML (4,419 件のフォーク)batch import
good first issuehelp wantedkind/feature

Repository metrics

Stars
 (10,380 個のスター)
PR merge metrics
 (平均マージ 25d) (30d で 26 merged PRs)

説明

What would you like to be added

We currently use (AFAICT):

  • ctr
  • crictl
  • nerdctl

If possible, we should use only one CRI frontend for manipulating images and containers.

Why is this needed

  1. Avoiding complexity in the playbooks and roles (usage of "command variables" such as crictl_image_pull_command, etc)
  2. Reducing the number of tasks, download and config steps.

Not sure what the pros and cons of each are. ctr looks more minimal, maybe that's enough for what we need to do in Kubespray ? wdyt @yankay @mzaian @floryut @MrFreezeex ?

EDIT: We'll use crictl as it's required by kubeadm, and compatible with all container runtime. -> this is no longer the case.

Usage sites can be converted by small batch, then once the conversion is done we'll be able to remove the download of nerdctl and ctr.

Blockers: mainly the usage of save/load, as this isn't in CRI.

コントリビューターガイド