环境信息:
RKE2 版本:
rke2 version v1.23.7+rke2r2 (d0c2bd7f1dbd30f5b7bbc2e3c899d2efde979c25)
go version go1.17.5b7
节点 CPU 架构,操作系统和版本:
Linux YW-RANCHER-RANCHER-QKvyYi 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
集群配置:
3 servers, 10 agents v1.23.7+rke2r2
问题描述:
重现步骤:
- 安装 RKE2 的命令:
local集群UI安装
预期结果:
应用日志输出到ES
实际结果:
ES与rancher log组件无法通信
日志
kubectl describe pod rancher-logging-root-fluentd-0 -n cattle-logging-system
Normal Scheduled 82s default-scheduler Successfully assigned cattle-logging-system/rancher-logging-root-fluentd-0 to yw-rancher-rancher-qkvyyi
Normal Pulled 80s kubelet Container image “registry.cn-hangzhou.aliyuncs.com/rancher/mirrored-banzaicloud-fluentd:v1.14.6-alpine-5” already present on machine
Normal Created 80s kubelet Created container fluentd
Normal Started 80s kubelet Started container fluentd
Normal Pulled 80s kubelet Container image “registry.cn-hangzhou.aliyuncs.com/rancher/mirrored-jimmidyson-configmap-reload:v0.4.0” already present on machine
Normal Created 80s kubelet Created container config-reloader
Normal Started 80s kubelet Started container config-reloader
Warning Unhealthy 7s (x3 over 37s) kubelet Liveness probe failed: dial tcp 172.50.29.116:24240: connect: connection refused
Normal Killing 7s kubelet Container fluentd failed liveness probe, will be restarted