我正在 ubuntu 16.04 xenial .zookeeper 上安装 mesosphere,并且 mesos-master 和 mesos-slave 运行良好,而开始马拉松时我遇到了这个问题。 找不到必需的选项“master”。我在 /etc/marathon/conf 中创建了文件夹。这些是我为 marathon 遵循的步骤。
sudo mkdir -p /etc/marathon/conf
sudo cp /etc/mesos-master/hostname /etc/marathon/conf
sudo cp /etc/mesos/zk /etc/marathon/conf/master
sudo cp /etc/marathon/conf/master /etc/marathon/conf/zk
sudo nano /etc/marathon/conf/zk ,edit mesos to marathon in the end .
I am attaching the whole logs here,
Jan 25 14:18:01 master01 cron[859]: (*system*) INSECURE MODE (group/other writable) (/etc/crontab)
Jan 25 14:18:01 master01 cron[859]: (*system*popularity-contest) INSECURE MODE (group/other writable) (/etc/cron.d/popularity-contest)
Jan 25 14:18:01 master01 cron[859]: (*system*php) INSECURE …
Run Code Online (Sandbox Code Playgroud) 我想通过使用java和定义依赖关系在集群上分发Docker容器,这样当一个容器完成时,我可以在我的java代码中解析生成的输出.有许多mesos框架可以实现这一点,我不确定采取哪一个:Marathon,Singularity,Chronos,Aurora.
到目前为止我学到了什么:
Marathon有一个非常好的java客户端api,但用于长期任务(不知道这是否是一个问题,因为我的任务不会运行那么久)我不认为我可以定义那种依赖.如果我使用马拉松,我将不得不轮询应用程序的状态.Chronos没有java api(至少我找不到).所以我可以选择Aurora和Singularity.
任何人都可以帮我推荐其中一个用于我的用例.
我是mesos和马拉松的新手.
我有一个设置,其中一个docker是自定义的,另一个是mysql服务器实例.这两个是链接和传递信息.如何在mesos上部署它?我目前正在使用单节点主站和从站设置.
我有一个用例,我需要干净地关闭一个mesos-slave并停止在节点上执行的所有框架.使用Marathon和Spark以及docker作为容器,因此有几个其他docker容器在节点上运行框架任务,我想在(干净地)停止从属时停止这些.
令人惊讶的是,我找不到任何有关此内容的文档.有办法吗?
是否可以使用Mesosphere Marathon REST API扩展和减少docker容器/实例的数量?
端点GET /deployments
似乎只是查看下一个可能操作的选项.如何使用REST API扩展实例(以编程方式:可能使用curl脚本而不使用Marathon Web界面)?