linux运维easy 2022-07-28 14:54 采纳率: 0%
浏览 198
已结题

我用kubeadm安装k8s,etcd集群报错,如何解决?

我用kubeadm安装k8s,默认etcd是一个,我想安装三个,作为一个集群,错误日志如下:

{"level":"warn","ts":"2022-07-28T14:48:53.787Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"d9361cd01aae95e5","rtt":"0s","error":"x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "etcd-ca")"}
{"level":"warn","ts":"2022-07-28T14:48:53.787Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"55b315c25a54c5d2","rtt":"0s","error":"dial tcp 192.168.1.240:2380: connect: connection refused"}
{"level":"warn","ts":"2022-07-28T14:48:53.787Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"d9361cd01aae95e5","rtt":"0s","error":"x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "etcd-ca")"}

Events:
Type Reason Age From Message


Warning BackOff 13m (x89 over 55m) kubelet Back-off restarting failed container
Warning Unhealthy 3m21s (x357 over 83m) kubelet Startup probe failed: HTTP probe failed with statuscode: 503
kube-system etcd-master 1/1 Running 0 3d5h
kube-system etcd-node1 0/1 CrashLoopBackOff 24 (2m9s ago) 75m
kube-system etcd-node2 0/1 CrashLoopBackOff 17 (3d3h ago) 40m

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 8月5日
    • 创建了问题 7月28日

    悬赏问题

    • ¥20 搭建三相栅极电路后高侧浮动地VS存在电容特性
    • ¥20 云卓h12pro 数传问题
    • ¥20 请问有人知道怎么用工艺库里面的sdb文件通过virtuoso导出来library里面每个cell的symbol吗?
    • ¥20 海思 nnie 编译 报错
    • ¥50 决策面并仿真,要求有仿真结果图
    • ¥15 关于路由器的路由协议配置
    • ¥15 springboot接入微信支付SDK
    • ¥50 大区域的遥感影像匹配 怎么做啊
    • ¥15 求解答:pytorch跑yolov8神经网络受挫
    • ¥20 Js代码报错问题不知道怎么解决