原 Get images方式:
之前根据 openpai 官网的安装方式,默认的镜像获取地址 为 docker.io/openpai/ 下的镜像。
现改为本地harbor仓库:
步骤:
1、you should stop the k8s cluster service (没启动就不需要停)
root@master:/pai# python paictl.py service stop
2、you should clean the k8s cluster Configuration
root@ubuntu:/pai# python paictl.py cluster k8s-clean -p ~/pai-config
(这里写你自己配置文件的路径)
root@ubuntu:/pai# ls ~/pai-config/
k8s-role-definition