-
Notifications
You must be signed in to change notification settings - Fork 427
Add dcos-autoscaler package #1030
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"cpu": { | ||
"type": "integer", | ||
"description": "cpu to allocate to the container", | ||
"minimum": 0.3, | ||
"maximum": 16, | ||
"default": 1 | ||
}, | ||
"memory": { | ||
"type": "integer", | ||
"description": "Memory to allocate", | ||
"minimum": 500, | ||
"maximum": 9999, | ||
"default": 1024 | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "/dcos-autoscaler", | ||
"cpus": "{{cpu}}", | ||
"mem": "{{memory}}", | ||
"instances": "1", | ||
"container": { | ||
"type": "DOCKER", | ||
"docker": { | ||
"image": "{{resource.assets.container.docker.23b1cfe8e04a}}" | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"packagingVersion": "3.0", | ||
"name": "dcos-autoscaler", | ||
"version": "1.0.0", | ||
"maintainer": "[email protected]", | ||
"description": "Adds autoscaling to your application based on cpu and memory metrics", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a detailed description of what the package does, what it be used for. |
||
"scm": "https://github.com/Ahmadposten/DC-OS-Marathon-autoscaling", | ||
"framework": true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"tags": ["autoscaling", "mesosphere", "dcos"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"postInstallNotes": "Thank you for installing dcos autoscaler, Consult github.com/Ahmadposten/DC-OS-Marathon-autoscaling for more more info on usage and tuning configurations" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add the |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"images": { | ||
"icon-small": "https://drive.google.com/open?id=0BxADtivbfBMNd0VBbThQNmtkcUE", | ||
"icon-medium": "https://drive.google.com/open?id=0BxADtivbfBMNd0VBbThQNmtkcUE", | ||
"icon-large": "https://drive.google.com/open?id=0BxADtivbfBMNd0VBbThQNmtkcUE" | ||
}, | ||
"assets": { | ||
"container": { | ||
"docker": { | ||
"23b1cfe8e04a": "ahmadposten/dcos-autoscaler" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use a tagged version of the image |
||
} | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add
preInstallNotes
and add this line at the beginning ofpreInstallNotes
:This DC/OS Service is currently in preview. There may be bugs, incomplete features, incorrect documentation, or other discrepancies. Preview packages should never be used in production!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a link to
dcos/examples
at the end ofpreInstallNotes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ryadav88 done .. please review again
here is the pull request for the examples repo dcos/examples#170