paulw54jrn
V2EX  ›  问与答

有人用过 Mesosphere DCOS(Mesos + Marathon)来部署应用吗?

  •  
  •   paulw54jrn · Jun 30, 2016 · 3236 views
    This topic created in 3609 days ago, the information mentioned may be changed or developed.
    5 replies    2016-07-01 21:59:00 +08:00
    adrianzhang
        1
    adrianzhang  
       Jun 30, 2016 via Android
    业界不就 mesos kubernets 俩解决方案么
    alangz
        2
    alangz  
       Jun 30, 2016
    我们在用,目前全线迁移到这个上面
    paulw54jrn
        3
    paulw54jrn  
    OP
       Jun 30, 2016
    @alanlhy

    请问下有遇到过 Marathon App 在 Scale up 或者 ScaleDown 的时候经常卡在 Deployment, 长时间不响应吗?
    alangz
        4
    alangz  
       Jul 1, 2016
    @paulw54jrn 在 Scale 应用之后,应用在 Deployment 下是什么状态,你看看他在 Deployment 的状态变化。
    paulw54jrn
        5
    paulw54jrn  
    OP
       Jul 1, 2016
    @alanlhy
    后来问题解决了...

    在使用 AWS CloudFormation 创建 Cluster 的时候手贱把 Private Slave Node 的数量调成了 0, 全部创建为 Public Slave..

    然后 Marathon 一直卡在等待 Application Scale Up 的状态, Mesos Master 里面没有任何报错异样..

    Marathon 官方建议类似问题首先检测 Mesos Resource 的状态, 最终在读 Mesos 的 `/status` API Endpoint 里面发现所有 Public Slave 的资源全部默认为 Reserved. 然后读文档才发现需要特殊的权限才能在 Public Node 部署..

    - https://mesosphere.github.io/marathon/docs/troubleshooting.html

    - https://support.mesosphere.com/hc/en-us/articles/205230685-What-is-the-difference-between-a-mesos-node-and-a-public-mesos-node-
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   974 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 20:16 · PVG 04:16 · LAX 13:16 · JFK 16:16
    ♥ Do have faith in what you're doing.