当前位置: 首页 > news >正文

[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 foundWarning  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.

http://www.lryc.cn/news/173769.html

相关文章:

  • 彻底解决win11系统0x80070032
  • 解决因为修改SELINUX配置文件出错导致Faild to load SELinux poilcy无法进入CentOS7系统的问题
  • flask中的跨域处理-方法二不使用第三方库
  • 矿山定位系统-矿井人员定位系统在矿山自动化安全监控过程中的应用
  • JS-ECharts-前端图表 多层级联合饼图、柱状堆叠图、柱/线组合图、趋势图、自定义中线、平均线、气泡备注点
  • 【eslint】屏蔽语言提醒
  • 【python】入门第一课:了解基本语法(数据类型)
  • csa从初阶到大牛(练习题2-查询)
  • 【视觉SLAM入门】8. 回环检测,词袋模型,字典,感知,召回,机器学习
  • SpringBean的生命周期
  • uni-app 之 picker选择器
  • 整合车辆出险报告Api接口,轻松管理车险理赔!
  • eNSP基础网络学习-v02
  • mac环境安装多个node版本(可切换)
  • Linux 操作技巧
  • 一个电子信息工程学生的历程和内心感想
  • 【zookeeper】zk集群安装与启动踩坑点
  • 【计算机网络】 拥塞控制
  • 【react】慎用useLayoutEffect转而使用useEffect
  • 基于微信小程序的美食推荐系统设计与实现(源码+lw+部署文档+讲解等)
  • laravel框架 - 消息队列如何使用
  • Dependency ‘org.redisson:redisson:‘ not found解决方法 三种刷新Maven项目的方法
  • Mysql高级——索引优化和查询优化(1)
  • Oracle for Windows安装和配置——Oracle for Windows数据库创建及测试
  • 【1993. 树上的操作】
  • LeetCode【1. 两数之和】
  • 3D成像技术概述
  • Centos7 安装部署 Kubernetes(k8s) 高可用集群
  • c++加速方法大全
  • 【国科大卜算】Truck History 最小生成树Prim