JjohnniangK零S
最近论坛内不少用户反馈遇到启用 DevOps 后无法在 KubeSphere Console 上看到 DevOps 导航栏的问题,请参考:
- https://kubesphere.com.cn/forum/d/6552-devopsdevops
- https://kubesphere.com.cn/forum/d/6544-devops-console
这里我统一提供一下排查思路:
确认当前用户是否有足够的权限
KubeSphere Console 中的导航栏的渲染条件之一:当前用户的角色权限。
确认启用 DevOps 之后,Deployment ks-installer 的日志是正常的
若 DevOps 沒有启用成功,自然也是无法使用 DevOps 相关的功能。
Start installing monitoring Start installing multicluster Start installing openpitrix Start installing network Start installing devops ************************************************** Waiting for all tasks to be completed ... task openpitrix status is successful (1/5) task network status is successful (2/5) task multicluster status is successful (3/5) task devops status is successful (4/5) task monitoring status is successful (5/5) ************************************************** Collecting installation results ... ##################################################### ### Welcome to KubeSphere! ### ##################################################### Console: http://192.168.0.2:30880 Account: admin Password: P@88w0rd NOTES: 1. After you log into the console, please check the monitoring status of service components in "Cluster Management". If any service is not ready, please wait patiently until all components are up and running. 2. Please change the default password after login. ##################################################### https://kubesphere.io 2022-01-18 09:59:28 #####################################################
确认启用了 DevOps 之后,ConfigMap kubesphere-config 中 devops 配置项存在,且 devops.host 配置不为空
若 devops 配置项不存在或者 devops.host 未配置,也无法正常显示 DevOps 导航栏。