inst-jobs-autoscaling 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -3
- data/lib/jobs_autoscaling/monitor.rb +1 -1
- data/lib/jobs_autoscaling/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc8dd7ba4037d208d291a2be9d529b6a4436c3c7
|
4
|
+
data.tar.gz: c7a8abd253467eb2701cd4393ee7500659de8732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9df6de93ac399adc18ab3ed51dc74eca036edffb981d8527349992bca68e99492ca9e1ea1e688de480cfb0707eed464caa1e97a3c5e78564be37e64d876d1573
|
7
|
+
data.tar.gz: 892755e7d6214b1e281499a9bc5649405c63da0001b4a4616f95b1f3549665f7181491f3d088d72dc16a7393824e0b6f553a00cbc47c88cf6ccf46d3e2049499
|
data/README.md
CHANGED
@@ -3,9 +3,6 @@
|
|
3
3
|
This [inst-jobs](https://github.com/instructure/inst-jobs) plugin enables
|
4
4
|
autoscaling of job worker pools using AWS Autoscaling Groups.
|
5
5
|
|
6
|
-
Using this plugin requires configuring inst-jobs to use the ParentProcess
|
7
|
-
WorkQueue implementation, which is not currently the default.
|
8
|
-
|
9
6
|
## Installation
|
10
7
|
|
11
8
|
Add this line to your application's Gemfile:
|
@@ -21,6 +18,20 @@ AWS ASG. This typically means creating an AMI containing your application's
|
|
21
18
|
code, and then setting scaleup/scaledown actions based on either CPU or job
|
22
19
|
queue length.
|
23
20
|
|
21
|
+
Using this plugin requires configuring inst-jobs to use the ParentProcess
|
22
|
+
WorkQueue implementation, which is not currently the default. Add to your
|
23
|
+
`delayed_jobs.yml` file:
|
24
|
+
|
25
|
+
```yaml
|
26
|
+
production:
|
27
|
+
work_queue: parent_process
|
28
|
+
workers: ...
|
29
|
+
```
|
30
|
+
|
31
|
+
If jobs aren't configured to use `parent_process` this plugin will still run,
|
32
|
+
but do nothing. This allows easily switching between work queue implementations
|
33
|
+
while `parent_process` is still experimental.
|
34
|
+
|
24
35
|
To enable the plugin you'll need to provide the ASG name to the app via an ENV
|
25
36
|
var or other means, and add a line in an application initializer:
|
26
37
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inst-jobs-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inst-jobs
|
@@ -143,3 +143,4 @@ signing_key:
|
|
143
143
|
specification_version: 4
|
144
144
|
summary: AWS ASG autoscaling for inst-jobs
|
145
145
|
test_files: []
|
146
|
+
has_rdoc:
|