kubeconfig文件拷贝到当前文件夹
启动参数
--k8s-mode=external --debug=false--kubeconfig=./kubeconfig --no-cacerts=true
环境变量
CATTLE_DEV_MODE=true
如果遇到ui加载失败,修改为本地加载
UIOfflinePreferred =NewSetting("ui-offline-preferred", "true")
UIPath =NewSetting("ui-path", "/usr/share/rancher/ui")
UIDashboardPath =NewSetting("ui-dashboard-path", "./ui-dashboard")












网友评论