openshift-marketplace 名稱空間中的 Pod 位於 ImagePullBackOff

虛擬私有雲

在 VPC 叢集裡,工作者節點位於沒有公用閘道的 VPC 子網路中,openshift-markeplace 名稱空間中的 Pod 會顯示 ImagePullBackOff 狀態,且無法達到 Running 狀態。

這些容器的映像託管在公共映像註冊中心,但工作人員無法存取公共網際網路,因此工作人員無法拉取映像。 群集仍然運作,但這些 pod 和 OpenShift 市集卻無法運作。 如果執行 kubectl get pods 指令,會得到如下輸出:

NAME                                    READY   STATUS             RESTARTS   AGE     IP               NODE         NOMINATED NODE   READINESS GATES
certified-operators-48dsc               0/1     ImagePullBackOff   0          4h6m    172.17.70.94     172.24.0.6   <none>           <none>
certified-operators-s7qtb               0/1     ImagePullBackOff   0          4h17m   172.17.70.77     172.24.0.6   <none>           <none>
community-operators-h7hl9               0/1     ImagePullBackOff   0          4h17m   172.17.70.78     172.24.0.6   <none>           <none>
community-operators-hc76f               0/1     ImagePullBackOff   0          4h6m    172.17.70.96     172.24.0.6   <none>           <none>
marketplace-operator-66c666bf74-gnltf   1/1     Running            0          4h43m   172.17.126.216   172.24.0.8   <none>           <none>
redhat-marketplace-tfwwp                0/1     ImagePullBackOff   0          82s     172.17.126.226   172.24.0.8   <none>           <none>
redhat-marketplace-zkvfc                0/1     ImagePullBackOff   0          4h6m    172.17.70.95     172.24.0.6   <none>           <none>
redhat-operators-pthhf                  0/1     ImagePullBackOff   0          67s     172.17.126.227   172.24.0.8   <none>           <none>
redhat-operators-rjvsp                  0/1     ImagePullBackOff   0          4h6m    172.17.70.93     172.24.0.6   <none>           <none>

您可以透過停用並鏡映這些公用映像檔來修正此問題。 如需詳細資訊,請參閱 停用 OperatorHub 並將目錄來源影像鏡射到 icr.io