Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasei/marathon-deployer
Simple docker image for deploying docker images to marathon based cloud.
https://github.com/jasei/marathon-deployer
cloud docker-image marathon marathon-json
Last synced: 1 day ago
JSON representation
Simple docker image for deploying docker images to marathon based cloud.
- Host: GitHub
- URL: https://github.com/jasei/marathon-deployer
- Owner: JaSei
- License: mit
- Created: 2015-11-19T10:58:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T15:35:52.000Z (over 7 years ago)
- Last Synced: 2024-11-06T02:50:04.430Z (about 2 months ago)
- Topics: cloud, docker-image, marathon, marathon-json
- Language: Perl
- Size: 38.1 KB
- Stars: 3
- Watchers: 22
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/avast/marathon-deployer.svg?branch=master)](https://travis-ci.org/avast/marathon-deployer)
# NAMEApp::MarathonDeployer - deployment to mesos-marathon
# SYNOPSIS
# DESCRIPTION
A simple script for deploying docker images to marathon-based cloud.
docker run \
-v /path/to/your/marathon.json:/marathon.json \
-e MARATHON_URL= avastsoftware/marathon-deployerIt will simply do the POST or PUT request to deploy your app.
Optionally you can also provide these environment variables:
- MARATHON\_JSON - name of your JSON file (default is marathon.json)
- MARATHON\_APPLICATION\_NAME - name of the application (id), this will be replaced in marathon json before submitting it
- MARATHON\_INSTANCES - number of instances, this will be replaced in marathon json before submitting it
- DOCKER\_IMAGE\_NAME - name of the docker image, this will be replaced in marathon json before submitting it
- CPU\_PROFILE - one of low|normal|high. If cpus is not set in marathon.json, it gets computed from total cloud's CPU/memory ratio. If you choose normal profile, the cpus is set to mem \* ratio, low = 0.3 \* normal, high = 3 \* normal.What it does for you:
- construct the URL to deploy
- do PUT request to marathon with provided JSON file
- parse response and set the return code accordingly# LICENSE
Copyright (C) Avast Software
# AUTHOR
Miroslav Tynovsky