You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ iruka ps
# Example
$ iruka ps
NAME IMAGE SIZE STATUS CREATED COMMAND
hello.web.bb1b59fd-14ac-11e5-8bd7-5cf93896cc38 coreos/example:1.0.0 2X Up 50 seconds 1 minutes /bin/sh -c nginx
Restarting processes of an App (v0.3.0~)
$ iruka restart <PROCESS or TYPE># Example: restart web type processes
$ iruka restart web
Restarting web processes... done# Example: restart hello.web.bb1b59fd-14ac-11e5-8bd7-5cf93896cc38
$ iruka restart hello.web.bb1b59fd-14ac-11e5-8bd7-5cf93896cc38
Restarting hello.web.bb1b59fd-14ac-11e5-8bd7-5cf93896cc38... done
Scaling processes of an App (v0.3.0~)
$ iruka scale <TYPE>=<QUANTITY>:<SIZE># Example: scale web process's quantity to 2
$ iruka scale web=2
Scaling processes... done# Example: scale web processes's size to 3X
$ iruka scale web=:3X
Scaling processes... done# Example: scale web processes's quantity to 3 and size to 2X
$ iruka scale web=3:2X
Scaling processes... done# Example: scale web processes's quantity to 3 and size to 2X# and scale worker processes's quantity to 10
$ iruka scale web=3:2X worker=10
Scaling processes... done
Managing Config Vars
Setting Config Vars
$ iruka set<KEY>=<VALUE>...
# Example: set a key-value
$ iruka set FOO=bar
FOO: bar
# Example: set multiple key-value
$ iruka set FOO=bar BAZ=qux
FOO: bar
BAZ: qux
Showing Config Vars
$ iruka config
# Example
$ iruka config
FOO: bar
BAR: baz
BAZ: qux
Unsetting Config Vars
$ iruka unset<KEY>...
# Example: unset a key
$ iruka unset FOO
BAR: baz
BAZ: qux
# Example: unset multiple key
$ iruka unset FOO BAR
BAZ: qux
Running One-Off Process (v0.3.0~)
$ iruka run <COMMAND># Example: launch rails console
$ iruka run rails console
# Example: login to a container
$ iruka run bash
# Example: kick batch job
$ iruka run rake some:task