本地调试rancher

2022-01-27  本文已影响0人  flystarts

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")

上一篇 下一篇

猜你喜欢

热点阅读