码迷,mamicode.com
首页 > 其他好文 > 详细

品尝阿里云容器服务:5个2核4G节点使用情况记载

时间:2017-07-04 16:11:56      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:pre   运行   height   安装   容器   使用情况   集群   work   ubuntu   

使用5台2核4G非IO优化的ECS作为节点创建集群,节点操作系统是Ubuntu 16.04.2 LTS。创建后3个为mananger节点,2个为worker节点,每个节点默认会运行7个容器,其中3个system容器:

  1. acs-agent
  2. acsvolumedriver_volumedriver
  3. tunnel-agent

4个default容器:

  1. acslogging_logspout
  2. acslogging_logtail
  3. acsmonitoring_acs-monitoring-agent,acsrouting_routing

创建集群后,未部署任何应用时,每个节点用掉200多M内存。

虽然在创建集群时选择了“在ECS节点上安装云监控插件”,但集群创建后每个节点的云监控agent都处于“已停止状态”。

重新安装云监控agent之后,可以看到5个节点的监控数据:

技术分享

部署应用之后的内存使用情况:

# free -m
              total        used        free      shared  buff/cache   available
Mem:          3950         535         384          28        3030        3287

集群连续运行40小时已部署6个应用的情况下各个节点的内存使用情况:

node1(manager)

# free -m
              total        used        free      shared  buff/cache   available
Mem:           3950        1116         983          40        1849        2565

node2(manager)

# free -m
              total        used        free      shared  buff/cache   available
Mem:           3950        1112         173          45        2663        2558

node3(manager)

# free -m
              total        used        free      shared  buff/cache   available
Mem:           3950         914         345          29        2689        2766

node4(worker)

# free -m
              total        used        free      shared  buff/cache   available
Mem:           3950        1277         663          43        2008        2390

node5(worker)

# free -m
              total        used        free      shared  buff/cache   available
Mem:           3950        1104         114          45        2731        2559

品尝阿里云容器服务:5个2核4G节点使用情况记载

标签:pre   运行   height   安装   容器   使用情况   集群   work   ubuntu   

原文地址:http://www.cnblogs.com/dudu/p/7106822.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!