Tag: 马拉松

通过mesos-marathon部署集装箱化的node.JS应用程序

我正在使用Marathon部署我的Docker容器化的node.js应用程序。 我的马拉松应用程序规范如下: { "id": "<some-name>", "cmd": null, "cpus": 1, "mem": 2800, "disk": 30720, "instances": 1, "container": { "docker": { "image": "<some-docker-registry-IP>:5000/<repo>", "network": "BRIDGE", "privileged": true, "forcePullImage": true, "parameters": [ { "key": "net", "value": "host" } ], "portMappings": [ { "containerPort": <some-port>, "hostPort": <some-port>, "protocol": "tcp", "name": null } ] }, "type": "DOCKER" } } 然而问题是,这导致重新启动我的服务器的应用程序部署一旦内存不足。 […]