用k8s建立完pod後,發現沒法訪問demo應用,查了一下pods狀態,發現都在containercreationg狀態中python
查看/etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt 是一個軟連接,可是連接過去後並無真實的/etc/rhsm,因此須要使用yum安裝:docker
yum install *rhsm*centos
安裝完成後,執行一下docker pull registry.access.redhat.com/rhel7/pod-infrastructure:latestget
若是依然報錯pm2
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.pemio