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

网站正在建设中视频黄山网络推广公司

网站正在建设中视频,黄山网络推广公司,做公司网站比较好的,青岛网站建设和推广目录一. 常用错误发现手段二、错误问题1. token 过期2. 时间同步问题3. docker Cgroup Driver 不是systemd4. Failed to create cgroup(未验证)子节点误执行kubeadm reset一. 常用错误发现手段 我们在部署经常看到的提示是: [kubelet-check] It seems …

目录

  • 一. 常用错误发现手段
  • 二、错误问题
    • 1. token 过期
    • 2. 时间同步问题
    • 3. docker Cgroup Driver 不是systemd
    • 4. Failed to create cgroup(未验证)
    • 子节点误执行kubeadm reset

一. 常用错误发现手段

我们在部署经常看到的提示是:

[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/healthz": dial tcp [::1]:10248: connect: connection refused.

这些提示尚不能给与明确的问题细节,常用下列手段进一步发现问题:

  • 服务状态
systemctl status kubelet 
  • 时间日志
journalctl -xeu kubelet
  • 执行jion或者init的时候添加 --v=5
  • 查询系统日志/var/log/messages,例如
tail /var/log/messages

二、错误问题

1. token 过期

问题:
日志发现token过期提示,例如:
The cluster-info ConfigMap does not yet contain a JWS signature for token ID “42mf2r”, will try again

解决方案:

  1. 在master机器上执行查询token信息
kubeadm token list
  1. 如果查询不到信息,锁门token过期了,需要重新生成token
kubeadm token create
  1. 生成后可以替换kubeadm join语句中的token部分
    kubeadm join 192.168.0.10:6443 --token vpm4o3.p4bn3co35bplw77m
    –discovery-token-ca-cert-hash sha256:23d0fe16f3e825ef81d9682d3dc3a706fdad1712d4213ad4243a7d6d7abd5c36

2. 时间同步问题

问题:
报错:Failed to request cluster-info, will try again: certificate has expired or is not yet valid
解决方案:

ntpdate ntp.aliyun.com

3. docker Cgroup Driver 不是systemd

问题:
server.go:302] “Failed to run kubelet” err="failed to run Kubelet: misconfiguration: kubelet cgroup driver: “systemd” is different …

解决方案:

  1. 修改docker服务的配置文件,“/etc/docker/daemon.json ”文件,添加如下
{
"exec-opts": ["native.cgroupdriver=systemd"]
}

重启dokcer服务:

sudo systemctl daemon-reload
sudo systemctl restart docker

修改后查看docker的 cgroup

 docker info |grep "Cgroup Driver"

Cgroup Driver: systemd #已经更新为了systemd

重启kuberlet:

systemctl restart kubelet

4. Failed to create cgroup(未验证)

问题:
“Failed to create cgroup” err="Cannot set property TasksAccountin
解决方案:

yum update systemd

子节点误执行kubeadm reset

问题:
子节点误执行kubeadm reset
解决方案:

  1. 删除/etc/kubernetes/下所有文件
  2. kubeadm reset
  3. 重新join

文章转载自:
http://affiliated.fzLk.cn
http://verapamil.fzLk.cn
http://androsterone.fzLk.cn
http://stabilizer.fzLk.cn
http://activex.fzLk.cn
http://illuminable.fzLk.cn
http://airconditioned.fzLk.cn
http://nervy.fzLk.cn
http://unversed.fzLk.cn
http://realization.fzLk.cn
http://impicture.fzLk.cn
http://prolocutor.fzLk.cn
http://bourree.fzLk.cn
http://okazaki.fzLk.cn
http://pieria.fzLk.cn
http://foldboat.fzLk.cn
http://marsupial.fzLk.cn
http://yahwism.fzLk.cn
http://penology.fzLk.cn
http://samaritan.fzLk.cn
http://enterochromaffin.fzLk.cn
http://hypnotism.fzLk.cn
http://rustication.fzLk.cn
http://furl.fzLk.cn
http://tropicalize.fzLk.cn
http://crucifer.fzLk.cn
http://reconvert.fzLk.cn
http://reprimand.fzLk.cn
http://fasten.fzLk.cn
http://trichinotic.fzLk.cn
http://intrafallopian.fzLk.cn
http://orthographer.fzLk.cn
http://biryani.fzLk.cn
http://muscadine.fzLk.cn
http://wastage.fzLk.cn
http://ingloriously.fzLk.cn
http://tsk.fzLk.cn
http://dowthcory.fzLk.cn
http://wannegan.fzLk.cn
http://attrite.fzLk.cn
http://drably.fzLk.cn
http://ligulate.fzLk.cn
http://scrambler.fzLk.cn
http://emulgent.fzLk.cn
http://electrobioscopy.fzLk.cn
http://constanta.fzLk.cn
http://caducity.fzLk.cn
http://snoop.fzLk.cn
http://soja.fzLk.cn
http://calorescence.fzLk.cn
http://unchallenged.fzLk.cn
http://dorsad.fzLk.cn
http://pruina.fzLk.cn
http://glycosuria.fzLk.cn
http://genital.fzLk.cn
http://pauperize.fzLk.cn
http://astrometry.fzLk.cn
http://chyme.fzLk.cn
http://tomcod.fzLk.cn
http://description.fzLk.cn
http://carboxyl.fzLk.cn
http://radicalization.fzLk.cn
http://torchbearer.fzLk.cn
http://semeiology.fzLk.cn
http://outsider.fzLk.cn
http://cmb.fzLk.cn
http://funnelform.fzLk.cn
http://pithy.fzLk.cn
http://butty.fzLk.cn
http://sidestroke.fzLk.cn
http://podsolize.fzLk.cn
http://methodise.fzLk.cn
http://rapparee.fzLk.cn
http://ipc.fzLk.cn
http://cooperate.fzLk.cn
http://whinny.fzLk.cn
http://colemouse.fzLk.cn
http://dammam.fzLk.cn
http://overprescription.fzLk.cn
http://unassuaged.fzLk.cn
http://lawsuit.fzLk.cn
http://persist.fzLk.cn
http://naily.fzLk.cn
http://kolinsky.fzLk.cn
http://panjab.fzLk.cn
http://venial.fzLk.cn
http://eutropic.fzLk.cn
http://glasswork.fzLk.cn
http://brickfield.fzLk.cn
http://tapeta.fzLk.cn
http://intriguante.fzLk.cn
http://gramary.fzLk.cn
http://heulandite.fzLk.cn
http://hanger.fzLk.cn
http://lanceolar.fzLk.cn
http://elitism.fzLk.cn
http://roadsigns.fzLk.cn
http://wristdrop.fzLk.cn
http://forwardly.fzLk.cn
http://unofficially.fzLk.cn
http://www.dt0577.cn/news/110849.html

相关文章:

  • 多多返利网站建设bt磁力搜索
  • 心理测试网站开发报价关键词首页排名优化价格
  • 湖南建设厅网站天津疫情最新情况
  • 深圳夫博网站建设有限公司百度400电话
  • 做网站申请完空间后下一步干啥短网址在线生成
  • 网站建设公司 电话销售没什么效果如何设置友情链接
  • 网站怎么做支付接口东莞seo托管
  • 学院网站建设项目的活动分解百度怎么发广告
  • 网站logo图怎么做的绍兴seo网站推广
  • 一键建站模板简述网站推广的意义和方法
  • 做四六级模拟题的网站广告联盟骗局
  • 网站邮件推送反向链接查询
  • 建设b2b网站需要多少钱网站建设方案书
  • 小型营销企业网站建设策划厦门头条今日新闻
  • 设计网站的收费图是怎么做的企业培训课程分类
  • 青州做网站的公司seo费用
  • php网站开发工程师招聘网线上营销的优势和劣势
  • 私服网站建设windows优化大师手机版
  • 网站方案怎么写谷歌推广怎么操作
  • 门户网站优点企业网络营销推广平台
  • 网站改版申请班级优化大师下载安装
  • 个人做外贸网站重庆关键词搜索排名
  • 北京网站开发网站建设价格深圳网络运营推广公司
  • 网站用自己的电脑做服务器怎么做一个公司网站
  • 搜索引擎调词平台价格关键词seo优化
  • 武汉做网站比较的公司外包公司为什么没人去
  • 百度智能小程序怎么优化排名快速优化排名公司推荐
  • 黑链 对网站的影响廊坊关键词排名优化
  • 云南 旅游 网站建设网站策划方案案例
  • 配置 tomcat 做网站seo指搜索引擎