【问题标题】:Kubernetes1.9.0 kubeadm init - crictl not found in system pathKubernetes1.9.0 kubeadm init - 在系统路径中找不到 crictl
【发布时间】:2018-06-03 03:39:26
【问题描述】:

我在 Centos 7 机器上设置 kubernetes 集群,kubeadm init 命令给了我以下警告信息。

[init] Using Kubernetes version: v1.9.0
[init] Using Authorization modes: [Node RBAC]
[preflight] Running pre-flight checks.
        [WARNING SystemVerification]: docker version is greater than the most recently validated version. Docker version: 17.09.1-ce. Max validated version: 17.03
        [WARNING FileExisting-crictl]: crictl not found in system path

如何解决这个crictl not found in system path 警告?我需要安装任何其他软件吗?

【问题讨论】:

    标签: kubernetes kubeadm


    【解决方案1】:

    是的,您需要额外的软件。 crictl 是 github 上的 cri-tools repo 的一部分。

    至少当我遇到这个问题时(2017 年 12 月 20 日),kubernete 的包 repo 上没有 cri-tools,所以我不得不下载源代码并构建它。 cri-tools 是用 go 编写的,因此您可能还需要在系统上安装 golang。

    【讨论】:

      【解决方案2】:

      我用

      安装了 crictl
         go get github.com/kubernetes-incubator/cri-tools/cmd/crictl
      

      如果你的系统没有继续,你可以安装 crictl from

      https://github.com/kubernetes-incubator/cri-tools/releases

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-02-27
        • 2019-12-17
        • 2013-08-09
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多