解决k8s创建的容器一直处于pending状态的办法
在node节点上执行以下操作:yum installrhsmwgethttp://mirror.centos.org/centos/7/os/x86_64/Packages/python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpmrpm2cpio python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm |
·
在node节点上执行以下操作:
yum install rhsm
rpm2cpio python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm | cpio -iv --to-stdout ./etc/rhsm/ca/redhat-uep.pem | tee /etc/rhsm/ca/redhat-uep.pem
前两个命令会生成/etc/rhsm/ca/redhat-uep.pem文件.
docker pull registry.access.redhat.com/rhel7/pod-infrastructure:latest
更多推荐
已为社区贡献2条内容
所有评论(0)