问题:

 

 

解决:

使用  kind 安装

  1. 配置 yum repo

[kubernetes]
name=Kubernetes
#baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
#gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
gpgkey=https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg

 

2. 安装 kubectl

yum instsall -y kubectl

3. 然后执行 安装 kind

4. done

 

参考:

https://zhuanlan.zhihu.com/p/46341911

https://kubernetes.io/docs/tasks/tools/

https://kind.sigs.k8s.io/docs/user/quick-start/#installation

 

发表评论

电子邮件地址不会被公开。