开发者社区> 问答> 正文

如何在Windows机器上安装kubernetes二进制文件(包括kubelet,kubctl,kubeadm)

我是kubernetes的新手。基本上,我试图将Windows节点添加到集群(包含linux节点)。我的主机是linux。现在,我试图只添加1个Windows节点,但将来它应该适用于多个Windows节点)。使用kubeadm将windows节点加入kubernetes集群时,它会抛出错误消息,

因为它试图在Windows节点上执行“kubeadm join ..”,我试图在Windows机器上安装kubeadm。但没有运气。

它正在抛出错误

"fatal: [windows]: FAILED! => {
"changed": true,
"cmd": "kubeadm join : --token --discovery-token-ca-cert-hash sha256: --node-name ",
"delta": "0:00:00.732545",
"end": "2018-12-27 07:39:26.496097",
"msg": "non-zero return code",
"rc": 1,
"start": "2018-12-27 07:39:25.763552",
"stderr": "kubeadm : The term 'kubeadm' is not recognized as the name of a cmdlet, function, script file, or operable program. rnCheck the spelling of the name, or if a path was included, verify that the path is correct and try again.rnAt line:1 char:65rn+ ... :InputEncoding = New-Object Text.UTF8Encoding $false;"

展开
收起
k8s小能手 2018-12-29 15:45:00 3785 0
1 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
《云服务器运维之Windows篇》 立即下载
TAKING WINDOWS 10 KERNEL 立即下载
ECS运维指南之Windows系统诊断 立即下载

相关镜像