美文网首页
CoreOS容器云企业实战(10)--WeaveScope监控D

CoreOS容器云企业实战(10)--WeaveScope监控D

作者: 我是李小胖 | 来源:发表于2020-01-24 23:57 被阅读0次

0x1 Centos7.x部署安装WeaveScope项目

[root@web01 ~]# sudo curl -L git.io/scope -o /usr/local/bin/scope
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0   595    0     0    202      0 --:--:--  0:00:02 --:--:--  1197
100 11664  100 11664    0     0   3016      0  0:00:03  0:00:03 --:--:-- 46843
[root@web01 ~]# ls
anaconda-ks.cfg
[root@web01 ~]# sudo chmod a+x /usr/local/bin/scope
[root@web01 ~]# scope launch
Unable to find image 'weaveworks/scope:1.12.0' locally
1.12.0: Pulling from weaveworks/scope
5d20c808ce19: Pull complete
bbde3b770a97: Pull complete
b648e9d51e9d: Pull complete
d284dfe4b906: Pull complete
83e88b3b6bfb: Pull complete
a00e32a7ca7a: Pull complete
5cbd69f2576c: Pull complete
4915fcaf1597: Pull complete
7d8a6e574629: Pull complete
f0175c50e258: Pull complete
Digest: sha256:2f063422cd74d6b0cc6a4c7a26aeb531a69d719de1fa039ca592877662051446
Status: Downloaded newer image for weaveworks/scope:1.12.0
bc77e5984a2910eebb70a127fe981102017f7f8543ee6be9ded97f9bbc0e4909
Scope probe started
Weave Scope is listening at the following URL(s):
  * http://172.18.0.1:4040/
  * http://192.168.1.17:4040/
[root@web01 ~]# systemctl stop firewalld.service

0x2 进入浏览器输入 UI管理地址:4040

http://192.168.1.17:4040



图形关系显示






对于容器状态的操作



不同进入容器的方式

0x3 Host模式管理

点击Host进入host管理



管理面板



0x4 多台主机的管理

scope launch的时候指定IP地址
比如我们需要两台主机 分别是192.168.1.17 192.168.1.18
scope launch 192.168.1.17 192.168.1.18



列表显示




容器监控

进程监控

相关文章

网友评论

      本文标题:CoreOS容器云企业实战(10)--WeaveScope监控D

      本文链接:https://www.haomeiwen.com/subject/afdhthtx.html