对接ldap之后ks-account异常



  • hongming 回复了此帖
  • hongming 一致;
    Mounts:
    /etc/kubesphere/sync.yaml from ad-sync-config (rw)
    /var/run/secrets/kubernetes.io/serviceaccount from kubesphere-token-5k9g2 (ro)

    53537 检查 一下 sync.yaml 的挂载路径是否正确,看看是不是和这个配置一致https://gist.githubusercontent.com/wansir/37b05aede8501d8a208ccb8faba48cc0/raw/520770f51a86cdfc53affd0ea96ce058a83af101/update.sh

      hongming 一致;
      Mounts:
      /etc/kubesphere/sync.yaml from ad-sync-config (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kubesphere-token-5k9g2 (ro)

      ad-sync-config 这个cm 存在吗,看报错是文件挂载失败

        可能是CRI的 问题, 重启一下 ks-account

        kubectl -n kubesphere-system rollout restart deployments/ks-account