Configure Marathon apps via a salt proxy.
my_app:
marathon_app.config:
- config:
cmd: "while [ true ] ; do echo 'Hello Marathon' ; sleep 5 ; done"
cpus: 0.1
mem: 10
instances: 3
New in version 2015.8.2.
salt.states.marathon_app.
absent
(name)¶Ensure that the marathon app with the given id is not present.
name -- The app name/id
A standard Salt changes dictionary
salt.states.marathon_app.
config
(name, config)¶Ensure that the marathon app with the given id is present and is configured to match the given config values.
name -- The app name/id
config -- The configuration to apply (dict)
A standard Salt changes dictionary
salt.states.marathon_app.
running
(name, restart=False, force=True)¶Ensure that the marathon app with the given id is present and restart if set.
name -- The app name/id
restart -- Restart the app
force -- Override the current deployment
A standard Salt changes dictionary
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy