failure: repodata/repomd.xml from kubernetes: [Errno 256] No more mirrors to try.
/kubernetes/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for kubernetes
翻译:
失败:repodata/repomd。kubernetes的xml:[错误256]没有更多镜像可供尝试。
/kubernetes/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml:[错误-1]报告。无法验证kubernetes的xml签名
修改kubernetes.repo的配置
vim /etc/yum.repo.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=/kubernetes/yum/repos/kubernetes-el7-x86_64
enabled=1
gpgcheck=0
repo_gpgcheck=0
gpgkey=/kubernetes/yum/doc/yum-key.gpg /kubernetes/yum/doc/rpm-package-key.gpg
在重新安装 yum makecache fast
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.
* extras: mirrors.
* updates: mirrors.
base| 3.6 kB
docker-ce-stable | 3.5 kB
extras | 2.9 kB
kubernetes | 1.4 kB
updates | 2.9 kB
kubernetes/primary | 109 kB
kubernetes
元数据缓存已建立