排查
排查
kubectl describe pod web-x | grep -A8 'Events:'
kubectl get secret regcred -n prod -o jsonpath='{.type}'
# 节点侧手工验证(只做拉取测试)
crictl pull registry.example.com/app:1.26.0| 私有仓库 | 建 docker-registry 类型 Secret,并在 Pod 模板里引用 imagePullSecrets |
|---|---|
| 镜像地址 | 核对仓库主机名、项目路径与 tag,缺省 tag 按 latest 处理 |
| 网络与证书 | 节点要能访问仓库;私有仓库证书需被节点信任 |
401/403 多为凭据无效或未授权;manifest unknown 是名字或 tag 不存在;x509 报错指向证书信任。