首页 > 其他分享 >kubeadm 加入work 节点集群时报 http://localhost:10248/healthz处理方法

kubeadm 加入work 节点集群时报 http://localhost:10248/healthz处理方法

时间:2023-10-18 13:22:09浏览次数:39  
标签:healthz http work kubelet 10248 check localhost

现象:

[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp 127.0.0.1:10248: connect: connection refused.
[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 127.0.0.1:10248: connect: connection refused

原因:NetworkManager网络插件管理关闭了

解决方案:

#开启服务,再加入集群,加入成功后,再关闭即可

systemctl start NetworkManager

标签:healthz,http,work,kubelet,10248,check,localhost
From: https://www.cnblogs.com/zbhlinux/p/17771854.html

相关文章

  • 【OSPF宣告——network命令与多区域配置实验案例】
    个人名片:......
  • HTTP——断点续传(分块传输)
    HTTP——断点续传(分块传输)断点续传:指的是在上传/下载时,将任务(一个文件或压缩包)人为的划分为几个部分,每一个部分采用一个线程进行上传/下载,如果碰到网络故障,可以从已经上传/下载的部分开始继续上传/下载未完成的部分,而没有必要从头开始上传/下载。可以节省时间,提高速度。断点续传......
  • CentOS7 虚拟机 ping network is unreachable
    ping指令提示networkisunreachable重启网络报错 尝试禁用重启网络的方式无效 直接dhclient-v指令解决。。。......
  • Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found
    Plugin'org.springframework.boot:spring-boot-maven-plugin:'notfound 一、问题现象pom.xml文件中有报红的错误提示,“Plugin'org.springframework.boot:spring-boot-maven-plugin:'notfound”。pom.xml中的信息如下:<build><plugins>......
  • Go - Making an HTTP Client Request
    Problem: YouwanttomakeanHTTPrequesttoawebserver.Solution: Usethenet/httppackagetomakeanHTTPrequest. HTTPisarequest-respondprotocol,andservingrequestsisonlyhalfofthestory.Theotherhalfismakingrequests.Thenet/http......
  • Go - Serving Through HTTPS
    Problem: YouwanttoserveyourwebapplicationthroughHTTPS.Solution: Usethehttp.ListenAndServeTLSfunctiontoserveyourwebapplicationthroughHTTPS. HTTPSisnothingmorethanlayeringHTTPontopoftheTransportSecurityLayer(TLS).Thenet......
  • Work Group
    analysis我们很明显能够发现这个题目的性质:奇数是由孩子的奇数和我的偶数,或者是孩子的偶数我的奇数取一个最大值进行更新。偶数就是我的偶数和孩子的偶数,或者是孩子奇数和我的奇数取一个最大值进行更新。我们不妨用\(0\)表示已经选择了偶数个节点,用\(1\)表示已经选择了......
  • : Only one usage of each socket address (protocol/network address/port) is norma
    2023/10/1619:07:45tick2023/10/1619:07:46dialtcp7.11.12.26:3309:connectex:Onlyoneusageofeachsocketaddress(protocol/networkaddress/port)isnormallypermitted.panic:runtimeerror:invalidmemoryaddressornilpointerdereference[signal0xc......
  • 这篇记录一下C#和java中的http request的测试
    1.在c#中,测试http的,一般做一个mock的httpContext,然后里面的request和response都使用mock的,这样设置好后,就可以测试controller2.在java中,因为是httpservelet这些,所以实例化测试创建mock的httprequest这些https://www.baeldung.com/java-httpservletrequest-mock@Testvoid......
  • Sequence to Sequence Learning with Neural Networks
    SequencetoSequenceLearningwithNeuralNetworks关键词:LSTM,Seq2Seq......