-
Notifications
You must be signed in to change notification settings - Fork 262
Docs: Tutorial/README Contains Outdated Commands #784
Comments
I'm walking through https://github.com/docker/infrakit/tree/master/docs/tutorial and finding other outdated commands, e.g. |
The section for provisioning a single instance worked well enough (after working though the issue described above) but the section for provisioning groups of instances didn't work at all for me (on a mac, if that makes a difference). Using the example specification #
# A group of workers
#
# Start up -- plugin start should include manager, vanilla, simulator, and group
# Then commit
#
# infrakit group controller commit -y docs/tutorial/group.yml
#
kind: group
metadata:
name: workers
properties:
Allocation:
Size: 5
Flavor:
Plugin: vanilla
Properties:
Init:
- sudo apt-get update -y
- sudo apt-get install wget curl
- wget -qO- https://get.docker.com | sh
Tags:
custom.tag1 : tutorial
custom.tag2 : single-instance
custom.tag3 : by-group
Instance:
Plugin: simulator/compute
# This section here for the Instance plugin is the same as the example
# for creating a single instance. The Tags and Init sections are now
# handled by the Flavor plugin
Properties:
apiProperty1 : value1
apiProperty2 : value2 I didn't find a command that would allow me to commit it to a group controller. The commit commands all failed with a timeout. Running list commands also resulted in a timeout, whereas describe commands returned (an empty list) successfully. |
Same Here, The infrakit local group commit -y group-spec.yml looks like to be the correct command, but returns: CRIT[06-01|11:33:15] error executing module=main cmd=infrakit err="Post http://h: net/http: request canceled (Client.Timeout exceeded while awaiting headers)" fn=main.main Any ideas? |
Same here. Trying the 'v0.5' tag to see if that helps... |
infrakit/docs/tutorial/README.md "A Quick Tour of InfraKit" CLI-> Working with Groups section:
'infrakit group/workers describe workers' should be 'infrakit group/workers describe'
'infrakit group/workers size workers' should be 'infrakit group/workers scale'
Possibly more that I'd like to fix as I go through the tutorial.
The text was updated successfully, but these errors were encountered: