启用 RBAC 后 Microk8s 无法启动 - 无法确定并修复问题

问题描述

我有一个配置了 9 个节点的高可用性 microk8s 集群。在我启用 dashboardRBAC 之前,集群运行没有问题。在那之后,microk8s 服务不再运行。

这是我尝试启动服务时发生的情况:

ylli@k8s-con:/var/snap/microk8s$ microk8s.start
Started.
ylli@k8s-con:/var/snap/microk8s$ microk8s.status
microk8s is not running. Use microk8s inspect for a deeper inspection.

这是检查的结果:

ylli@k8s-con:/var/snap/microk8s$ microk8s.inspect
Inspecting Certificates
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-apiserver is running
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-control-plane-kicker is running
  Service snap.microk8s.daemon-proxy is running
  Service snap.microk8s.daemon-kubelet is running
  Service snap.microk8s.daemon-scheduler is running
  Service snap.microk8s.daemon-controller-manager is running
  copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system @R_227_4045@ion
  copy processes list to the final report tarball
  copy snap list to the final report tarball
  copy VM name (or none) to the final report tarball
  copy disk usage @R_227_4045@ion to the final report tarball
  copy memory usage @R_227_4045@ion to the final report tarball
  copy server uptime to the final report tarball
  copy current linux distribution to the final report tarball
  copy openSSL @R_227_4045@ion to the final report tarball
  copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster
Inspecting juju
  Inspect Juju
Inspecting kubeflow
  Inspect Kubeflow

Building the report tarball
  Report tarball is at /var/snap/microk8s/1864/inspection-report-20201222_174112.tar.gz

此处附上完整的检查结果:https://1drv.ms/u/s!Aj7c9QVnIcG6jtc_dkdPSnTpTK3r7A?e=6v6HjE

非常感谢任何帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)