Skip to content

Commit

Permalink
docs(deisctl): update with new output
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Monroy committed Oct 18, 2014
1 parent 486d55c commit aee7c7c
Showing 1 changed file with 65 additions and 40 deletions.
105 changes: 65 additions & 40 deletions deisctl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,24 @@ $ deisctl install platform
■ ● ▴ Installing Deis...
▴ ■ ●

Scheduling data containers...
Data containers...
deis-logger-data.service: loaded
Data containers scheduled.
Scheduling service containers...
[email protected]: loaded
[email protected]: loaded
[email protected]: loaded
[email protected]: loaded
[email protected]: loaded
[email protected]: loaded
Logging subsystem...
deis-logger.service: loaded
Storage subsystem...
deis-store-gateway.service: loaded
Control plane...
deis-cache.service: loaded
deis-database.service: loaded
deis-registry.service: loaded
deis-controller.service: loaded
deis-builder.service: loaded
Data plane...
Routing mesh...
[email protected]: loaded
Service containers scheduled.
[email protected]: loaded
[email protected]: loaded
Done.
Deis installed.
Please run `deisctl start platform` to boot up Deis.

Expand All @@ -99,18 +105,28 @@ $ deisctl start platform
■ ● ▴ Starting Deis...
▴ ■ ●

Launching data containers...
Data containers...
deis-logger-data.service: exited
Data containers launched.
Launching service containers...
[email protected]: running
[email protected]: running
Logging subsystem...
deis-logger.service: running
deis-logspout.service: running
Storage subsystem...
deis-store-daemon.service: running
deis-store-monitor.service: running
deis-store-gateway.service: running
Control plane...
deis-cache.service: running
deis-database.service: running
deis-registry.service: running
deis-controller.service: running
deis-builder.service: running
Data plane...
deis-publisher.service: running
Routing mesh...
[email protected]: running
[email protected]: running
[email protected]: running
[email protected]: running
[email protected]: running
Deis started.
[email protected]: running
[email protected]: running
Done.
```

Note that the default start command activates 1 of each component.
Expand All @@ -120,16 +136,25 @@ The router is the only component that _currently_ scales beyond 1 unit.
You can also use the `deisctl uninstall` command to destroy platform units:

```console
$ deisctl uninstall platform

Destroying service containers...
[email protected]: inactive
[email protected]: inactive
[email protected]: inactive
[email protected]: inactive
[email protected]: inactive
[email protected]: inactive
● ▴ ■
■ ● ▴ Uninstalling Deis...
▴ ■ ●

Routing mesh...
[email protected]: inactive
[email protected]: inactive
[email protected]: inactive
Data plane...
Control plane...
deis-controller.service: inactive
deis-builder.service: inactive
deis-cache.service: inactive
deis-database.service: inactive
deis-registry.service: inactive
Storage subsystem...
deis-store-gateway.service: inactive
Logging subsystem...
deis-logger.service: inactive
Done.
```

Expand Down Expand Up @@ -157,25 +182,25 @@ The `deisctl` tool provides a number of other commands, including:
```console
$ deisctl list
UNIT MACHINE LOAD ACTIVE SUB
deis-builder@1.service f936b7a5.../172.17.8.100 loaded active running
deis-cache@1.service f936b7a5.../172.17.8.100 loaded active running
deis-controller@1.service f936b7a5.../172.17.8.100 loaded active running
deis-database@1.service f936b7a5.../172.17.8.100 loaded active running
deis-builder.service f936b7a5.../172.17.8.100 loaded active running
deis-cache.service f936b7a5.../172.17.8.100 loaded active running
deis-controller.service f936b7a5.../172.17.8.100 loaded active running
deis-database.service f936b7a5.../172.17.8.100 loaded active running
deis-logger-data.service f936b7a5.../172.17.8.100 loaded active exited
deis-logger@1.service f936b7a5.../172.17.8.100 loaded active running
deis-registry@1.service f936b7a5.../172.17.8.100 loaded active running
deis-logger.service f936b7a5.../172.17.8.100 loaded active running
deis-registry.service f936b7a5.../172.17.8.100 loaded active running
[email protected] f936b7a5.../172.17.8.100 loaded active running
```

```console
$ deisctl status controller
● deis-controller@1.service - deis-controller
Loaded: loaded (/run/fleet/units/deis-controller@1.service; linked-runtime)
● deis-controller.service - deis-controller
Loaded: loaded (/run/fleet/units/deis-controller.service; linked-runtime)
Active: active (running) since Mon 2014-08-25 22:56:50 UTC; 15min ago
Process: 22969 ExecStartPre=/bin/sh -c docker inspect deis-controller >/dev/null && docker rm -f deis-controller || true (code=exited, status=0/SUCCESS)
Process: 22945 ExecStartPre=/bin/sh -c IMAGE=`/run/deis/bin/get_image /deis/controller`; docker history $IMAGE >/dev/null || docker pull $IMAGE (code=exited, status=0/SUCCESS)
Main PID: 22979 (sh)
CGroup: /system.slice/system-deis\x2dcontroller.slice/deis-controller@1.service
CGroup: /system.slice/system-deis\x2dcontroller.slice/deis-controller.service
├─22979 /bin/sh -c IMAGE=`/run/deis/bin/get_image /deis/controller` && docker run --name deis-controller --rm -p 8000:8000 -e PUBLISH=8000 -e HOST=$COREOS_PRIVATE_IPV4 --volumes-from=deis-logger $IMAGE
└─22999 docker run --name deis-controller --rm -p 8000:8000 -e PUBLISH=8000 -e HOST=172.17.8.100 --volumes-from=deis-logger deis/controller:latest

Expand All @@ -202,12 +227,12 @@ Aug 25 22:57:08 deis-1 sh[22979]: [2014-08-25 16:57:08,997: WARNING/MainProcess]

```console
$ deisctl stop controller
deis-controller@1.service: loaded
deis-controller.service: loaded
```

```console
$ deisctl start controller
deis-controller@1.service: launched
deis-controller.service: launched
```

```console
Expand Down

0 comments on commit aee7c7c

Please sign in to comment.