Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Add dcos-autoscaler package - #1030

Closed
Ahmadposten wants to merge 2 commits into
d2iq-archive:version-3.xfrom
Ahmadposten:version-3.x
Closed

Add dcos-autoscaler package#1030
Ahmadposten wants to merge 2 commits into
d2iq-archive:version-3.xfrom
Ahmadposten:version-3.x

Conversation

@Ahmadposten

Copy link
Copy Markdown

Adding package dcos-autoscaler to universe.

This package provides service autoscaling based on cpu or memory. Every app autoscaling behavior is configurable using labels similar to how marathon load balancer works.

@Ahmadposten

Copy link
Copy Markdown
Author

@jeorg84 can you please take a look at this?

@Ahmadposten

Copy link
Copy Markdown
Author

@ryadav88

@ryadav88 ryadav88 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an example documentation by creating a PR against the https://github.com/dcos/examples repo. See other examples there for reference. This is also now a requirement for submitting packages to Universe.

"maintainer": "ahmadhassan612@gmail.com",
"description": "Adds autoscaling to your application based on cpu and memory metrics",
"scm": "https://github.com/Ahmadposten/DC-OS-Marathon-autoscaling",
"framework": true,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

framework should be false

"description": "Adds autoscaling to your application based on cpu and memory metrics",
"scm": "https://github.com/Ahmadposten/DC-OS-Marathon-autoscaling",
"framework": true,
"tags": ["autoscaling", "mesosphere", "dcos"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mesosphere tag is reserved for packages developed by Mesosphere. Please remove it.

@@ -0,0 +1,11 @@
{

Copy link
Copy Markdown
Contributor

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 of preInstallNotes: 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!

Copy link
Copy Markdown
Contributor

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 of preInstallNotes

Copy link
Copy Markdown
Author

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

"name": "dcos-autoscaler",
"version": "1.0.0",
"maintainer": "ahmadhassan612@gmail.com",
"description": "Adds autoscaling to your application based on cpu and memory metrics",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The 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,
"tags": ["autoscaling", "mesosphere", "dcos"],
"postInstallNotes": "Thank you for installing dcos autoscaler, Consult github.com/Ahmadposten/DC-OS-Marathon-autoscaling for more more info on usage and tuning configurations"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the license property.

"assets": {
"container": {
"docker": {
"23b1cfe8e04a": "ahmadposten/dcos-autoscaler"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use a tagged version of the image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants