gpt4 book ai didi

Vagrant CoreOS 盒子缺少 fleetctl

转载 作者:行者123 更新时间:2023-12-01 13:22:56 26 4
gpt4 key购买 nike

我正在按照 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,创建了一个新的“发现 token URL”并更新了 user.data 文件;谷歌搜索了一下,我似乎是唯一一个遇到这个问题的人。

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

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

最佳答案

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

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

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,fleet 自 Coreos 1675.0.1 以来已被删除 https://coreos.com/releases/

关于Vagrant CoreOS 盒子缺少 fleetctl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49059085/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com