用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