centos7使用kubeadm安装kubernetes 1.11版本多主高可用

2023年 7月 9日 48.2k 0

大佬,你好,照着这个方法搭建的成功后,却无法使用heapster监控,部署后报错heapster容器报错
I0816 10:04:59.743015 1 heapster.go:72] /heapster –source=kubernetes:https://kubernetes.default –sink=influxdb:http://monitoring-influxdb.kube-system.svc:8086
I0816 10:04:59.743166 1 heapster.go:73] Heapster version v1.4.2
I0816 10:04:59.743472 1 configs.go:61] Using Kubernetes client with master “https://kubernetes.default” and version v1
I0816 10:04:59.743508 1 configs.go:62] Using kubelet port 10255
E0816 10:05:20.868872 1 influxdb.go:264] issues while creating an InfluxDB sink: failed to ping InfluxDB server at “monitoring-influxdb.kube-system.svc:8086” – Get http://monitoring-influxdb.kube-system.svc:8086/ping: dial tcp 10.96.137.221:8086: getsockopt: connection refused, will retry on use
I0816 10:05:20.868946 1 influxdb.go:278] created influxdb sink with options: host:monitoring-influxdb.kube-system.svc:8086 user:root db:k8s
I0816 10:05:20.868977 1 heapster.go:196] Starting with InfluxDB Sink
I0816 10:05:20.868983 1 heapster.go:196] Starting with Metric Sink
I0816 10:05:20.890192 1 heapster.go:106] Starting heapster on port 8082
E0816 10:06:05.003967 1 kubelet.go:231] error while getting containers from Kubelet: failed to get all container stats from Kubelet URL “http://192.168.145.252:10255/stats/container/”: Post http://192.168.145.252:10255/stats/container/: dial tcp 192.168.145.252:10255: getsockopt: connection refused
E0816 10:06:05.004645 1 kubelet.go:231] error while getting containers from Kubelet: failed to get all container stats from Kubelet URL “http://192.168.145.250:10255/stats/container/”: Post http://192.168.145.250:10255/stats/container/: dial tcp 192.168.145.250:10255: getsockopt: connection refused
E0816 10:06:05.006770 1 kubelet.go:231] error while getting containers from Kubelet: failed to get all container stats from Kubelet URL “http://192.168.145.251:10255/stats/container/”: Post http://192.168.145.251:10255/stats/container/: dial tcp 192.168.145.251:10255: getsockopt: connection refused
I0816 10:06:05.019231 1 influxdb.go:241] Created database “k8s” on influxDB server at “monitoring-influxdb.kube-system.svc:8086”
E0816 10:07:05.001407 1 kubelet.go:231] error while getting containers from Kubelet: failed to get all container stats from Kubelet URL

diwuqingoru5年前 (2018-08-16)登录以回复

相关文章

KubeSphere 部署向量数据库 Milvus 实战指南
探索 Kubernetes 持久化存储之 Longhorn 初窥门径
征服 Docker 镜像访问限制!KubeSphere v3.4.1 成功部署全攻略
那些年在 Terraform 上吃到的糖和踩过的坑
无需 Kubernetes 测试 Kubernetes 网络实现
Kubernetes v1.31 中的移除和主要变更

发布评论