Vagrant CoreOS 盒子缺少 fleetctl

Vagrant CoreOS box missing fleetctl

我正在按照 CoreOS in Action 一书(以及 CoreOS online instruction)在 MacOS 上使用 Vagrant 和 VirtualBox 建立一个 3 节点集群。

一切顺利,机器启动了 & 运行 我可以通过 ssh 连接到其中一台,但看起来启动的盒子不见了 fleetctl(这没有意义,因为它是 CoreOS 的核心组件):

$ vagrant ssh core-01 -- -A
Last login: Thu Mar  1 21:28:58 UTC 2018 from 10.0.2.2 on pts/0
Container Linux by CoreOS alpha (1702.0.0)
core@core-01 ~ $ fleetctl list-machines
-bash: fleetctl: command not found
core@core-01 ~ $ which fleetctl
which: no fleetctl in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/bin)

我做错了什么?

我已经将实例数更改为 3,创建了一个新的 "discovery token URL" 并更新了 user.data 文件;谷歌搜索我似乎是唯一一个遇到这个问题的人。

提前感谢您提出任何建议!

PS -- 是的,我已经尝试(多次!)vagrant destroy 并重建集群:甚至对 repo 进行核对并重新克隆它。每次都是同样的问题。

答案会让你有点伤心,这里是:

CoreOS 不再支持队列。它消失了。再见:(

https://coreos.com/blog/migrating-from-fleet-to-kubernetes.html

To this end, CoreOS will remove fleet from Container Linux on February 1, 2018, and support for fleet will end at that time. fleet has already been in maintenance mode for some time, receiving only security and bugfix updates, and this move reflects our focus on Kubernetes and Tectonic for cluster orchestration and management.

您正在使用 Coreos 1702.0.0,队列已从 Coreos 1675.0.1 https://coreos.com/releases/