K8S---harbor故障处理
问题1:harbor服务不能正常提供?
Error response from daemon: Get http://hub.atguigu.com/v2/: dial tcp 192.168.66.100:80: connect: connection refused
原因分析:harbor服务器部分服务因宕机引起服务未重启。
解决方法:重启镜像即可。
Username: admin
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
问题2:harbor服务正常,但不能提供harbor服务?
Authenticating with existing credentials...
Login did not succeed, error: Error response from daemon: login attempt to http://hub.atguigu.com/v2/ failed with status: 502 Bad Gateway
Username (admin): admin
Password:
Error response from daemon: login attempt to http://hub.atguigu.com/v2/ failed with status: 502 Bad Gateway
原因分析:在软路由未正常工作区,harbor部分服务已启动。
解决方法:在软路由正常工作后,重启harbor服务器,在确认相关服务是否正常。