Macos 无法在vagrant/virtualbox下的OSX主机上安装基本kubernetes

Macos 无法在vagrant/virtualbox下的OSX主机上安装基本kubernetes,macos,ssh,vagrant,virtualbox,kubernetes,Macos,Ssh,Vagrant,Virtualbox,Kubernetes,我正在尝试开始使用kubernetes,并按照 我的命令是: export KUBERNETES_PROVIDER=vagrant curl -sS https://get.k8s.io | bash 我在终端收到以下错误: master: Vagrant insecure key detected. Vagrant will automatically replace master: this with a newly generated keypair for better

我正在尝试开始使用kubernetes,并按照

我的命令是:

export KUBERNETES_PROVIDER=vagrant
curl -sS https://get.k8s.io | bash
我在终端收到以下错误:

    master: Vagrant insecure key detected. Vagrant will automatically replace
    master: this with a newly generated keypair for better security.
    master: 
    master: Inserting generated public key within guest...
    master: Removing insecure key from the guest if it's present...
    master: Key inserted! Disconnecting and reconnecting using new SSH key...
    master: Warning: Authentication failure. Retrying...
<snip>
    master: Warning: Authentication failure. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
master:检测到不安全的密钥。流浪汉将自动替换
master:这是一个新生成的密钥对,以提高安全性。
大师:
主:正在来宾中插入生成的公钥。。。
主人:如果客人有不安全的钥匙,请将其移除。。。
主人:钥匙插上了!正在使用新SSH密钥断开和重新连接。。。
主机:警告:身份验证失败。重试。。。
主机:警告:身份验证失败。重试。。。
等待机器启动时超时。这意味着
Vagrant无法与内的来宾计算机通信
配置的(“config.vm.boot\u timeout”值)时间段。
然后,脚本退出,而不完成kubernetes“master”设置,也不设置任何节点

我可以
vagrant ssh master
,但需要手动输入默认的“vagrant”密码

我正在运行OSX 10.11.6(15G31)。我正在运行virtualbox(5.0.26 r108824)和vagrant(1.8.5)的最新版本

这些kubernetes“入门”说明似乎正在下载最新的kubernetes版本(1.3.4)

因为我安装了较旧的virtualbox和vagrant版本,所以我确保完全卸载并重新安装这两个版本,如下所示:


我假设ssh在某个地方出了问题,尽管这些都是发布的“入门”说明,而且我使用的是所有组件的新安装,但我感到惊讶的是,这并不是开箱即用。

我认为,在OSX上运行kubernetes最简单的方法是使用Kube Solo或Kube Cluster

请检查本回购协议:


注意:对我来说,只有CoreOS稳定版才能很好地工作。

我认为,在OSX上运行kubernetes最简单的方法是使用Kube Solo或Kube Cluster

请检查本回购协议:


注意:对于我来说,只有CoreOS稳定版才能很好地工作。

请看一看。这是一个官方的Kubernetes项目,旨在简化这个确切的用例。我已经用了几个星期了,效果很好。

看看。这是一个官方的Kubernetes项目,旨在简化这个确切的用例。我已经使用了几个星期,效果很好。

谢谢-这看起来很有希望-我可以通过它访问json API,这是我需要使用的。谢谢-这看起来很有希望-我可以通过它访问json API,这是我需要使用的。