-
Notifications
You must be signed in to change notification settings - Fork 5
/
cloudtask-destroy-workers.txt
59 lines (39 loc) · 1.14 KB
/
cloudtask-destroy-workers.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
=========================
cloudtask-destroy-workers
=========================
-----------------------------------
Destroy pre-allocated cloud workers
-----------------------------------
:Author: Liraz Siri <liraz@turnkeylinux.org>
:Date: 2011-07-31
:Manual section: 8
:Manual group: misc
SYNOPSIS
========
cloudtask-destroy-workers [ -opts ] ( path/to/list-of-ips | - )
DESCRIPTION
===========
Destroy and unregister cloud workers from the Hub and remove their
addresses from text file listing.
ARGUMENTS
=========
`path/to/list-of-ips` := the file location of a text file containing a
list of IP addresses of workers to destroy. IPs of workers that are
sucessfully destroyed will be removed from this list.
If '-' is specified, read list of IPs from stdin.
OPTIONS
=======
--hub-apikey Hub APIKEY
Environment: HUB_APIKEY | CLOUDTASK_HUB_APIKEY
RETURN CODES
============
0 destroyed all workers
1 fatal error
2 couldn't destroy some workers
USAGE EXAMPLES
==============
cloudtask-destroy-workers worker-ips.txt
cat workers-ips | cloudtask-destroy-workers -
SEE ALSO
========
``cloudtask`` (8), ``cloudtask-launch-workers`` (8)