juju add-cloud |
|
adds an cloud
|
juju add-credentials $cloudname |
|
adds login credentials to cloud
|
juju bootstrap $cloudname $controllername |
|
bootstrap an juju controller for juju cloud
|
juju debug-log |
|
open this in another terminal or tab, so you can see what juju is doing while you type other commands)
|
juju debug-log --include unit-$servicename-machine# |
|
just shows debug log for single unit
|
juju add-model $modelname |
|
adds an model
|
juju deploy $application $alias |
|
deploy a service, alias is optional if you want to name it something. If you use aliases you need to refer to the service via the alias from then on:
juju deploy mediawiki myawesomewiki |
juju add-machine $machinename |
|
add a machine
|
juju add-unit $servicename |
|
add a unit
|
juju add-unit -n 10 $servicename |
|
add 10 units.
|
juju status |
|
shows what's going on
|
juju status $applicationname |
|
shows you what's going for a particular server
|
juju ssh $applicationname/machine# |
|
ssh to a unit, get the # from juju status
|
juju ssh machine# |
|
ssh to a machine number or lxd container ( machine#/lxd/lxd#)
|
juju quickstart bundle:~abentley/wiki-bundle/1/wiki |
|
Get the bundle address from jujucharms.com
|
juju add-relation $service1 $service2 |
|
relate two services
|
juju remove-relation $service1 $service2 |
|
unrelate 2 services
|
juju destroy-controller $controller_name |
|
Destroy the Juju Controller
|
juju destroy-model $model_name |
|
Destroy an juju model
|
juju remove-application $servicename |
|
removes an application
|
juju remove-unit $applicationname/unit# |
|
removes an unit
|
juju remove-machine machine# |
|
removes an machine
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.