-
Notifications
You must be signed in to change notification settings - Fork 70
Conversation
|
@@ -165,7 +165,7 @@ def set_arguments(self): | |||
parser_run.add_argument( | |||
"--provider", | |||
dest="cli_provider", | |||
choices=['docker', 'kubernetes', 'openshift'], | |||
choices=['docker', 'kubernetes', 'openshift', 'marathon'], |
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.
Can we replace these list with a constant rather than having to update them on 2 places (run and stop)
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.
Good point, I will do that in another PR.
Awesome work 👍 I understand it's still a WIP, but before we merge after GA / Beta-3 I would like to see a few test examples covered in |
👍 LGTM |
@@ -1,3 +1,4 @@ | |||
anymarkup==0.5.0 | |||
lockfile==0.10.2 | |||
jsonpointer==1.10.0 | |||
requests==2.8.1 |
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.
To note: We also changed the way that we pull requirements, so "requests" will need to be pulled from yum/apt-get/epel
|
|
|
|
what do you think @cdrage? Is it ready to be merged? |
scheduler. | ||
|
||
This provider requires configuration (`providerapi`) to be able to connect to Marathon API. If no `providerapi` is specified it will use `http://localhost:8080` as | ||
Marathon API url. |
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.
Need docs on this, how do we pass We can provide this in providerapi
when it's in constants.py
?answers.conf
yes?
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.
yes, you have to put it in answers.conf
something like this:
providerapi=http://10.1.2.2:8080
On one hand you are right about identifying with Mesos, but on other hand if we rename entire thing to Mesos it would be technically incorrect :-( |
About auth: Marathon alone doesn't have any authentication. It is usually run in closed environment, or some people put reverse proxy (Nginx) in front of Marathon a do HTTP Basic Auth there. |
Adding a bit to what @kadel already said regarding identifying with Mesos. Marathon is just one framework. You could very well use Aurora or K8s on top of Mesos to get long running jobs done. But Marathon is the most popular today. Agree about adding Mesos in the docs. |
@cdrage @dustymabe I've just opened PR #463 that moves |
List of providers was referenced multiple times in `cli/main.py`. Moved it to a single place under `atomicapp/constants.py` to avoid updating a change at two places
when deploying composite apps artifacts from others apps gets added to this array and they are deployed again
Takes care of [this comment](#392 (diff)).
test case artifact - port has to be int remove ununsed sys import
So make_rest_request has been added to utils and docs have been updated. Am I missing anything or is this close to be merged? |
LGTM. |
fixes #357