部署harbor步骤失败

  • Choerodon平台版本: 0.24.0

  • 遇到问题的执行步骤:

  • 文档地址:

  • 环境信息(如:节点信息):

  • 报错日志:
    harbor-harbor-core-7866d959cc-nnhgt 0/1 Running 1 112s
    harbor-harbor-database-0 0/1 CrashLoopBackOff 3 112s
    harbor-harbor-jobservice-84f78f77b9-lwp2j 0/1 Running 1 112s
    harbor-harbor-portal-7dddbf759c-bp4pr 1/1 Running 0 112s
    harbor-harbor-redis-0 1/1 Running 0 112s
    harbor-harbor-registry-66bbb65b4c-bg4sx 2/2 Running 0 112s

[root@choerodon-33 deployment]# kubectl logs harbor-harbor-database-0 -n c7n-system
FATAL: data directory “/var/lib/postgresql/data” has group or world access
DETAIL: Permissions should be u=rwx (0700).

  • 原因分析:

    提出您分析问题的过程,以便我们能更准确的找到问题所在

  • 疑问:

    提出您对于遇到和解决该问题时的疑问

挂载 pvc 的权限问题。手动给挂载的目录赋权即可。