环境信息:
K3s 版本:
k3s version v1.24.1+k3s1 (0581808f)
go version go1.18.1
节点 CPU 架构、操作系统和版本::
Linux node 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
集群配置:
单节点
问题描述:
所有POD都会报Access violation这个错误
kubectl -n kube-system logs coredns-b96499967-86vbm
Error from server: Get “https://node:10250/containerLogs/kube-system/coredns-b96499967-86vbm/coredns”: Access violation
复现步骤:
- 安装 K3s 的命令:
INSTALL_K3S_SKIP_DOWNLOAD=true ./install.sh
预期结果:
pod能正常输出日志
实际结果:
所有pod都只输出了这个错误Access violation
附加上下文/日志:
9月 11 13:42:24 node k3s[4317]: E0911 13:42:24.001578 4317 status.go:71] apiserver received an error that is not an metav1.Status: &url.Error{Op:“Get”, URL:“https://node:10250/containerLogs/kube-system/coredns-b96499967-86vbm/coredns”, Err:(*errors.errorString)(0xc0063ae650)}: Get “https://node:10250/containerLogs/kube-system/coredns-b96499967-86vbm/coredns”: Access violation
[/details]