随笔分类 -  Marathon

摘要:marathon反复重启 # systemctl status marathon ● marathon.service - Marathon Loaded: loaded (/usr/lib/systemd/system/marathon.service; enabled; vendor prese 阅读全文
posted @ 2020-01-11 16:34 匠人先生 阅读(698) 评论(0) 推荐(0) 编辑
摘要:marathon提供多种健康检查方式 常用的有TCP和HTTP, TCP检查端口是否存在,存在则认为实例健康; HTTP检查指定URL的HTTP返回码,返回码正常(2xx、3xx)则认为实例健康; 这两种方式在重启过程中会有差别: 1)TCP:由于端口存在到服务可用之间有一段时间,这段时间新的实例被 阅读全文
posted @ 2019-10-16 22:09 匠人先生 阅读(308) 评论(0) 推荐(0) 编辑
摘要:通过api调用marathon重启app后出现deployment,但是app不会重启,配置如下: "constraints": [ [ "hostname", "UNIQUE" ], [ "hostname", "LIKE", "HOST-00[12]" ] ] 指定app只能在2个服务器上启动, 阅读全文
posted @ 2019-09-22 10:43 匠人先生 阅读(410) 评论(0) 推荐(0) 编辑
摘要:marathon重启app后一直处于waiting状态,查看marathon日志 # journalctl -u marathon -f 有如下日志: Jun 14 12:58:38 DataOne-002 marathon[15801]: [2019-06-14 12:58:38,321] INF 阅读全文
posted @ 2019-06-14 16:57 匠人先生 阅读(902) 评论(0) 推荐(0) 编辑
摘要:一 官方 airflow官方分布式部署结构图 airflow进程 webserver scheduler flower(非必须) worker airflow缺点 scheduler单点 通过在scheduler的dags目录变动dag文件来提交流程 官方分布式部署方案 多个webserver 多个 阅读全文
posted @ 2019-02-20 01:57 匠人先生 阅读(3267) 评论(0) 推荐(0) 编辑
摘要:marathon-lb 官方:https://github.com/mesosphere/marathon-lb 一 简介 Marathon load balancer (Marathon-LB) is a proxy server and load balancer for TCP, HTTP, 阅读全文
posted @ 2019-02-18 18:30 匠人先生 阅读(863) 评论(0) 推荐(1) 编辑
摘要:一 安装 安装docker:https://www.cnblogs.com/barneywill/p/10343091.html安装mesos:https://www.cnblogs.com/barneywill/p/10324348.html安装marathon:https://www.cnblo 阅读全文
posted @ 2019-02-16 02:51 匠人先生 阅读(924) 评论(0) 推荐(1) 编辑
摘要:marathon 1.6.322 官方:https://mesosphere.github.io/marathon/ 一 简介 Marathon is a production-grade container orchestration platform for Mesosphere’s Datac 阅读全文
posted @ 2019-02-15 19:17 匠人先生 阅读(1466) 评论(0) 推荐(0) 编辑
摘要:通过docker可以从头开始构建集群,也可以将现有集群(配置以及数据)平滑的迁移到docker部署; 1 docker部署zookeeper # usermod -G docker zookeeper# mkdir /data# chown zookeeper.zookeeper /data# ec 阅读全文
posted @ 2019-02-14 16:00 匠人先生 阅读(644) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示