成都网站建设设计

将想法与焦点和您一起共享

kubernetes创建pod启动不了处于ContainerCreating状态

kubectl describe pod my-nginx-379829228-c5g9f

成都创新互联公司专注于企业成都全网营销、网站重做改版、来凤网站定制设计、自适应品牌网站建设、H5网站设计商城网站制作、集团公司官网建设、成都外贸网站建设公司、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为来凤等各大城市提供网站开发制作服务。

 for "POD" with ErrImagePull: "image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are no credentials on this request.  details: (Get https://registry.access.redhat.com/v1/_ping: dial tcp: lookup registry.access.redhat.com on [::1]:53: read udp [::1]:34107->[::1]:53: read: connection refused)"

  8m    8m      1       {kubelet 127.0.0.1}             Warning FailedSync      Error syncing pod, skipping: failed to "StartContainer" for "POD" with ErrImagePull: "image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are no credentials on this request.  details: (Get https://registry.access.redhat.com/v1/_ping: dial tcp: lookup registry.access.redhat.com on [::1]:53: read udp [::1]:54383->[::1]:53: read: connection refused)"

证书问题,处理方式如下:

yum install -y rhsm

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


网站栏目:kubernetes创建pod启动不了处于ContainerCreating状态
新闻来源:http://chengdu.cdxwcx.cn/article/ghsshh.html