美文网首页
本地调试rancher

本地调试rancher

作者: flystarts | 来源:发表于2022-01-27 15:57 被阅读0次

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

相关文章

网友评论

      本文标题:本地调试rancher

      本文链接:https://www.haomeiwen.com/subject/ydltkrtx.html