文章出處

使用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

文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜

    大師兄 發表在 痞客邦 留言(0) 人氣()