请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

journalctl -f -u kube-scheduler (无法启动) KUBERNETES_MASTER environment variable

try setting KUBERNETES_MASTER environment variable
Aug 10 07:04:24 node-1 kube-scheduler[13304]: I0810 07:04:24.529958 13304 flags.go:59] FLAG: --leader-elect-resource-lock="leases"
Aug 10 07:04:24 node-1 kube-scheduler[13304]: I0810 07:04:24.529962 13304 flags.go:59] FLAG: --leader-elect-resource-name="kube-scheduler"
Aug 10 07:04:24 node-1 kube-scheduler[13304]: I0810 07:04:24.529969 13304 flags.go:59] FLAG: --leader-elect-resource-namespace="kube-system"
Aug 10 07:04:24 node-1 kube-scheduler[13304]: I0810 07:04:24.529974 13304 flags.go:59] FLAG: --leader-elect-retry-period="2s"
Aug 10 07:04:24 node-1 kube-scheduler[13304]: I0810 07:04:24.529977 13304 flags.go:59] FLAG: --lock-object-name="kube-scheduler"
Aug 10 07:04:24 node-1 kube-scheduler[13304]: I0810 07:04:24.529982 13304 flags.go:59] FLAG: --lock-object-namespace="kube-system"
Aug 10 07:04:27 node-1 kube-scheduler[13304]: failed to get delegated authentication kubeconfig: failed to get delegated authentication kubeconfig: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

正在回答 回答被采纳积分+3

插入代码

1回答

刘果国 2021-08-11 06:07:06

关注这个错误:

Aug 10 07:04:27 node-1 kube-scheduler[13304]: failed to get delegated authentication kubeconfig: failed to get delegated authentication kubeconfig: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

检查配置文件


0 回复 有任何疑惑可以回复我~
  • 提问者 千屹2024 #1
    应该从哪方面检查哪个配置文件 已经浏览一天没有好的解决办法
    回复 有任何疑惑可以回复我~ 2021-08-11 17:07:27
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号