{"id":2068,"date":"2018-07-05T15:31:17","date_gmt":"2018-07-05T07:31:17","guid":{"rendered":"https:\/\/tixbay.net\/?p=2068"},"modified":"2018-07-05T15:31:17","modified_gmt":"2018-07-05T07:31:17","slug":"k8s-pod%e4%b8%80%e7%9b%b4%e5%a4%84%e4%ba%8econtainercreating%e7%8a%b6%e6%80%81","status":"publish","type":"post","link":"https:\/\/tixbay.net\/?p=2068","title":{"rendered":"k8s pod\u4e00\u76f4\u5904\u4e8eContainerCreating\u72b6\u6001"},"content":{"rendered":"<p>\u95ee\u9898\u6392\u67e5\uff1a<br \/>\nkubectl describe pods xxx<br \/>\n\u663e\u793a Error syncing pod, skipping: failed to &#8220;StartContainer&#8221; for &#8220;POD&#8221; with ErrImagePull: &#8220;image pull failed for registry.access.redhat.com\/rhel7\/pod-infrastructure:latest, this may be because there are no credentials on this request.  details: (open \/etc\/docker\/certs.d\/registry.access.redhat.com\/redhat-ca.crt: no such file or directory)&#8221;<br \/>\nll -h \/etc\/docker\/certs.d\/registry.access.redhat.com\/redhat-ca.crt \u663e\u793a\u6307\u5411 \/etc\/rhsm\/ca\/redhat-uep.pem<br \/>\n\/etc\/rhsm\/ca\/redhat-uep.pem \u4e0d\u5b58\u5728\u5bfc\u81f4\u95ee\u9898<\/p>\n<p>\u89e3\u51b3\u95ee\u9898\uff1a<br \/>\n\u7f51\u4e0a\u89e3\u51b3\u65b9\u6848 yum install python-rhsm-certificates \u73b0\u5728\u5931\u6548\u4e86 Package python-rhsm-certificates-1.19.10-1.el7_4.x86_64 is obsoleted by subscription-manager-rhsm-certificates-1.20.11-1.el7.centos.x86_64 which is already installed<br \/>\n\u9700\u8981\u624b\u52a8\u4e0b\u8f7d\u548c\u751f\u6210pem<br \/>\nwget http:\/\/mirror.centos.org\/centos\/7\/os\/x86_64\/Packages\/python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm<br \/>\nrpm2cpio python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm | cpio -iv &#8211;to-stdout .\/etc\/rhsm\/ca\/redhat-uep.pem | tee \/etc\/rhsm\/ca\/redhat-uep.pem<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\u6392\u67e5\uff1a kubectl describe pods xxx \u663e\u793a Error &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/tixbay.net\/?p=2068\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2068","post","type-post","status-publish","format-standard","hentry","category-moo"],"_links":{"self":[{"href":"https:\/\/tixbay.net\/index.php?rest_route=\/wp\/v2\/posts\/2068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tixbay.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tixbay.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tixbay.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tixbay.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2068"}],"version-history":[{"count":1,"href":"https:\/\/tixbay.net\/index.php?rest_route=\/wp\/v2\/posts\/2068\/revisions"}],"predecessor-version":[{"id":2069,"href":"https:\/\/tixbay.net\/index.php?rest_route=\/wp\/v2\/posts\/2068\/revisions\/2069"}],"wp:attachment":[{"href":"https:\/\/tixbay.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tixbay.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tixbay.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}