We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The cli documentation states:
dcos marathon app update [--force] [...]
However, the update command cannot simply accept a json string as indicated but rather requires piping to it.
For example,
dcos marathon app update basic-0 '{"instances":100}' will fail.
dcos marathon app update basic-0 '{"instances":100}'
These will succeed:
echo '{"instances" : 100}' | dcos marathon app update basic-0 dcos marathon app update basic-0 < config.json
echo '{"instances" : 100}' | dcos marathon app update basic-0
dcos marathon app update basic-0 < config.json
The text was updated successfully, but these errors were encountered:
Hi @SL4YT1M3 !
This seems to be related to the dcos-cli and not to Marathon itself.
Could you post your issue in this repository again?
Thank you very much.
Sorry, something went wrong.
@SL4YT1M3
This syntax works without piping: dcos marathon app update --force basic-0 instances=5
dcos marathon app update --force basic-0 instances=5
See https://docs.mesosphere.com/using/cli/marathonsyntax/ for more examples.
dcos marathon app update
No branches or pull requests
The cli documentation states:
dcos marathon app update [--force] [...]
However, the update command cannot simply accept a json string as indicated but rather requires piping to it.
For example,
dcos marathon app update basic-0 '{"instances":100}'
will fail.These will succeed:
echo '{"instances" : 100}' | dcos marathon app update basic-0
dcos marathon app update basic-0 < config.json
The text was updated successfully, but these errors were encountered: