k8s redhat-ca.crt不存在

     执行命令:

       ①   wget http://mirror.centos.org/centos/7/os/x86_64/Packages/python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm


     ②   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

你可能感兴趣的:(k8s redhat-ca.crt不存在)