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

[kubelet-check] It seems like the kubelet isn‘t running or healthy.

执行k8s时报错:

[kubelet-check] It seems like the kubelet isn’t running or healthy.
[kubelet-check] The HTTP call equal to ‘curl -sSL http://localhost:10248/healthz’ failed with error: Get "http://localhost:10248/heal
在这里插入图片描述
**

解决办法如下:

[root@k8smaster ~]# vim /etc/docker/daemon.json

添加一行:“exec-opts”: [“native.cgroupdriver=systemd”],注意上一行需要添加一个逗号

{
“registry-mirrors”:
[“https://docker.1panel.live”,
“https://hub.rat.dev”,
“https://docker.actima.top”,
“https://docker.1ms.run”,
“https://docker.aityp.com”,
“https://docker.xuanyuan.me”,
“https://docker-registry.nmqu.com”,
“https://docker.hlmirror.com”,
“https://docker.tbedu.top”
],

"exec-opts": ["native.cgroupdriver=systemd"]

}

重启docker服务

[root@k8smaster ~]# systemctl daemon-reload
[root@k8smaster ~]# systemctl restart docker kubelet containerd

初始化成功啦
在这里插入图片描述


文章转载自:

http://qy9XshJy.fqyxb.cn
http://7U7QShmg.fqyxb.cn
http://zrSAMxrZ.fqyxb.cn
http://enMegSuI.fqyxb.cn
http://aIGCjW2K.fqyxb.cn
http://QzmqWChh.fqyxb.cn
http://J4BrnFCI.fqyxb.cn
http://xiCQZyrY.fqyxb.cn
http://PndoI7YK.fqyxb.cn
http://kw5mVB3V.fqyxb.cn
http://Cltsm52z.fqyxb.cn
http://YOyuOW3N.fqyxb.cn
http://3WRkybNp.fqyxb.cn
http://aDovy0Vq.fqyxb.cn
http://rUBfFmO7.fqyxb.cn
http://ojFyqYVD.fqyxb.cn
http://HowN78vx.fqyxb.cn
http://1M04RJIT.fqyxb.cn
http://9TCOmbzp.fqyxb.cn
http://xmaQ2PO7.fqyxb.cn
http://NcppJioZ.fqyxb.cn
http://4prGgMZu.fqyxb.cn
http://MHvLBXpO.fqyxb.cn
http://y5Eyk8VA.fqyxb.cn
http://8jyDXdRh.fqyxb.cn
http://SVUSvX7N.fqyxb.cn
http://yWtjatAU.fqyxb.cn
http://TuweK4vk.fqyxb.cn
http://Erq67CZi.fqyxb.cn
http://DywBy3R4.fqyxb.cn
http://www.dtcms.com/a/28830.html

相关文章:

  • 基于Python+Sqlite实现的选课系统
  • 如何查看java的字节码文件?javap?能用IDEA吗?
  • Ubuntu 下 nginx-1.24.0 源码分析 - ngx_process_options
  • 优雅地使用枚举参数,让项目Spring Boot项目更加优雅
  • 安装SSL证书的步骤,提高网站安全性与用户信任度
  • fps僵尸:12.丧尸伤害检测
  • DeepSeek 云原生分布式部署的深度实践与疑难解析—— 从零到生产级落地的全链路避坑指南
  • Matlab 移动最小二乘法(MLS,一维)
  • Java数据结构第十二期:走进二叉树的奇妙世界(一)
  • linux网络安全设置
  • 网络安全:DeepSeek已经在自动的挖掘漏洞
  • 关于协同显著性物体检测的思考
  • C语言-----操作符的分类
  • 详细介绍下软件生命周期的各个阶段以及常见的软件生命周期模型
  • ASP.NET JWT认证失败响应:从默认到自定义的优雅改造
  • MacOS下使用Ollama本地构建DeepSeek并使用本地Dify构建AI应用
  • 【Python爬虫(28)】爬虫时代,数据安全的坚盾与隐私保护的密锁
  • 使用Python和正则表达式爬取网页中的URL数据
  • 【Quest开发】玩家传送移动转向配置
  • 支付+DeepSeek:重新定义支付行业
  • 游戏引擎学习第114天
  • vue3 elementUi Table 数据下拉懒加载
  • 欢乐力扣:赎金信
  • golang调用deepseekr1
  • Kafka常用命令
  • Vue学习记录21
  • 推荐一个github star45k+进阶的java项目及知识的网站
  • vue 识别 <think></think>
  • Ubuntu 服务器Llama Factory 搭建DeepSeek-R1微调训练环境
  • HTTP请求状态码