[kubernetes/docker] failed to resolve reference ...:latest: not found

问题描述:

pod一直pending, kubectl describe pod ... 显示:

复制代码
  Warning  Failed     9s (x3 over 63s)   kubelet            Failed to pull image "mathemagics/my-kube-scheduler": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/mathemagics/my-kube-scheduler:latest": failed to resolve reference "docker.io/mathemagics/my-kube-scheduler:latest": docker.io/mathemagics/my-kube-scheduler:latest: not found
 Warning  Failed     9s (x3 over 63s)   kubelet            Error: ErrImagePull

解决方案

参考: https://github.com/orgs/community/discussions/23606, "One thing to be aware of: The latest tag isn't automatic, you need to push it like any other tag."

总结起来:

要么给哪个image加上latest的tag,

要么在yaml声明中指定tag.

相关推荐
摇滚侠11 分钟前
Docker 如何查询挂载的目录
运维·docker·容器
头发够用的程序员34 分钟前
C++和Python面试经典算法汇总(一)
开发语言·c++·python·算法·容器·面试
胡小禾5 小时前
K8S常识-如何指定只更新一个deployment中的某一个实例
云原生·容器·kubernetes
江湖有缘5 小时前
基于Ubuntu系统Docker部署Note Mark:从安装到配置全流程
linux·ubuntu·docker
呆萌的代Ma6 小时前
docker内的n8n配置Code节点运行python代码
python·docker·容器
菜鸟分享录8 小时前
OpenClaw Docker一键部署(轻松实现多容器隔离)
docker·ai·openclaw·小龙虾
codeejun9 小时前
每日一Go-59、云原生入门为什么一定要学Docker?
docker·云原生·golang
赵鑫亿11 小时前
ClawPanel — 开源 OpenClaw 智能管理面板,20+ 通道接入 / 多模型配置 / Docker 一键部署
docker·容器·开源
杨云龙UP12 小时前
Windows Server 2012 环境下 Oracle 11.2 使用 expdp 实现自动备份、异地复制与定期清理_20260504
服务器·数据库·windows·mysql·docker·oracle·容器
切糕师学AI12 小时前
Docker CE 与 Docker Compose 详解:容器化引擎与多容器编排
docker·容器