啟動參數
--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")