Conmi的正确答案——Unable to attach or mount volumes: unmounte

k8s:v1.22.12
kubesphere版本:v3.3


完整错误信息:

Unable to attach or mount volumes: unmounted volumes=[prometheus-k8s-db], unattached volumes=[kube-api-access-g42q8 tls-assets prometheus-k8s-db web-config config config-out prometheus-k8s-rulefiles-0]: timed out waiting for the condition

最终发现是nfs服务未打开端口:

# nfs本机扫描结果:
Host is up (0.00010s latency).PORT     STATE SERVICE
2049/tcp open  nfsNmap done: 1 IP address (1 host up) scanned in 0.09 seconds# k8s集群机器扫描结果:
Host is up (0.00030s latency).PORT     STATE    SERVICE
2049/tcp filtered nfs
MAC Address: 00:0C:29:B1:C6:72 (VMware)Nmap done: 1 IP address (1 host up) scanned in 0.40 seconds

解决方案:在nfs服务器开启端口(之前出现一次重装kubesphere不能解决直接重装系统…特此留下解决方案)

ufw allow 2049

本文链接:https://my.lmcjl.com/post/2017.html

展开阅读全文

4 评论

留下您的评论.