【发布时间】:2017-04-24 06:25:35
【问题描述】:
使用 cURL 我想通过传递 json 文件来修改组的实例数以更新配置。我的组的设置方式如下所示:
'marathon > applications > topApp'
'marathon > applications > topApp > group1'
'marathon > applications > topApp > group2'
'marathon > applications > topApp > group3 , etc'
我只想更新 group2 并且不知道如何指定它。我正在考虑使用我从马拉松休息 api 文档https://mesosphere.github.io/marathon/docs/rest-api.html#example-5
获得的“PUT /v2/groups/{groupId}”有没有人这样做并且可以提供帮助?有没有更好的办法?这是我第一次这样做。谢谢!
【问题讨论】:
标签: marathon