系统故障 FAQ

账号登录不了,报 504

  1. Zadig 系统账号无法登录

查看当前 pd-web 服务的状态和日志,确认和数据库服务连接是否存在异常。命令如下:

  1. kubectl get pod -n < koderover 所在的 namespace > |grep <pd-web>
  2. #找到对应的 Pod 后可以查看下具体的 Pod 的日志
  3. kubectl logs -f <pod/podName> -n <koderover 所在的 namespace >
  1. 集成 AD/LDAP/SSO 后,系统账号无法登录

这是因为 AD/LDAP/SSO 连接不上导致的,请确认集群内的网络是否可以正常连接 AD/LDAP/SSO 系统

Mongodb 和 Minio 处于 Pending 状态,安装失败?

Zadig 系统安装的时候,不会介入到集群的存储细节中来,因此,在没有默认 storage class 或是没有指定 storage class 的时候, 需要实现创建 PV 来让 MinIO 和 Mongodb 正确运行。 以下是一个可以运行的 PV yaml 示例

details

  1. apiVersion: v1
  2. kind: PersistentVolume
  3. metadata:
  4. name: zadig-reserved-pv
  5. spec:
  6. capacity:
  7. storage: 20Gi
  8. accessModes:
  9. - ReadWriteOnce
  10. hostPath:
  11. path: "/mnt/zadig/data"
  12. type: Directory
  13. ---
  14. apiVersion: v1
  15. kind: PersistentVolume
  16. metadata:
  17. name: task-pv-volume
  18. spec:
  19. capacity:
  20. storage: 20Gi
  21. accessModes:
  22. - ReadWriteOnce
  23. hostPath:
  24. path: "/mnt/zadig/data2"
  25. type: Directory