Vagrant CoreOS box missing fleetctl

485 views Asked by At

I am following the CoreOS in Action book (and also CoreOS online instruction) to bring up a 3-node cluster using Vagrant and VirtualBox on MacOS.

It all goes fine, machines come up & running and I can ssh into one of them, but it looks like the boxes brought up are missing fleetctl (which makes no sense, as it's such a core component of 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)

What am I doing wrong?

I have changed the number of instances to 3, created a new "discovery token URL" and updated the user.data file; Googling around I seem to be the one and only person having this problem.

Thanks in advance for any suggestions you may have!

PS -- yes, I have tried (several times!) to vagrant destroy and rebuild the cluster: even nuked the repo and re-cloned it. Same issue every time.

1

There are 1 answers

4
Christophe Schmitz On BEST ANSWER

The answer is going to make you a bit sad, here it is:

CoreOS no longer support fleet. It's gone. Ciao :(

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.

You are using Coreos 1702.0.0, fleet has been removed since Coreos 1675.0.1 https://coreos.com/releases/