概念
rancher就是图形化界面进行k8s集群的管理。它自带普罗米修斯监控
安装rancher
在三台节点主机上把rancher包拖进去
docker load -i rancher.tar
在master主节点上
docker pull rancher/rancher:v2.5.7
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged --name rancher rancher/rancher:v2.5.7
然后访问master本机ip地址即可

点击继续访问

输入密码(自定义) 点击 continue

直接点击save url

复制这个到master主机上运行就好了

然后回到浏览器

进入仪表盘


监控

直接点击启用监控


此时就会进入这个页面
