This commit is contained in:
huanqing.shao
2020-06-07 23:58:50 +08:00
parent 412621dce8
commit a88563cf16
53 changed files with 629 additions and 274 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

View File

@ -19,7 +19,7 @@ description: 使用Kuboard在Kubernetes上安装监控套件并对example微
* 进入 Kuboard 界面后,点击右上角的 **设置** 按钮(圆形图标),然后在左侧菜单中导航到 **Kuboard** --> **套件**,如下图所示:
![image-20200531101355671](./monitor-v2.assets/image-20200531101355671.png)
![image-20200607140056285](./monitor-v2.assets/image-20200607140056285.png)
* 点击图中的 **查找并安装** 按钮;
@ -27,13 +27,11 @@ description: 使用Kuboard在Kubernetes上安装监控套件并对example微
> 当前只提供了全局资源层监控套件,后续将逐渐提供更丰富的套件功能。
![image-20200531101454954](./monitor-v2.assets/image-20200531101454954.png)
![image-20200607140930259](./monitor-v2.assets/image-20200607140930259.png)
* 点击所选择套件对应的 **安装** 按钮,可将套件所需资源从仓库中加载到您自己的 Kubernetes 集群,并进入该套件的详情页面,如下图所示:
* 点击下图中的 **开始安装之前,请点我,阅读此套件的文档** 可以了解该套件提供的文档描述;
![image-20200531101804604](./monitor-v2.assets/image-20200531101804604.png)
![image-20200607142558152](./monitor-v2.assets/image-20200607142558152.png)
* 点击 **套件参数** Tab 页
@ -43,15 +41,15 @@ description: 使用Kuboard在Kubernetes上安装监控套件并对example微
如下图所示:
![image-20200531102323613](./monitor-v2.assets/image-20200531102323613.png)
![image-20200607142801812](./monitor-v2.assets/image-20200607142801812.png)
***套件参数** 页完成保存后,将自动进入 **安装脚本** 页,如下图所示:
![image-20200531102446321](./monitor-v2.assets/image-20200531102446321.png)
![image-20200607142846847](./monitor-v2.assets/image-20200607142846847.png)
* 点击 **安装** 按钮,进入 **工作负载导入** 界面,将套件所需的 Deployment/Service/ClusterRole 等对象导入到您的 Kubernetes 集群中,如下图所示:
![image-20200531102647083](./monitor-v2.assets/image-20200531102647083.png)
![image-20200607142913070](./monitor-v2.assets/image-20200607142913070.png)
* 请按向导提示,完成套件所依赖对象的导入;
@ -60,25 +58,25 @@ description: 使用Kuboard在Kubernetes上安装监控套件并对example微
> * 建议为 monitor-grafana / monitor-prometheus 分别创建新的存储卷声明,需要您事先已经创建好了 [StorageClass](/guide/cluster/storage.html)
> * 如果您当前没有合适的存储类,为了测试套件的功能,也可以先选择 **emptyDir**,之后再设置合适的存储卷(此时,容器组被删除后,所有的监控数据将丢失);
![image-20200531103006378](./monitor-v2.assets/image-20200531103006378.png)
![image-20200607143002942](./monitor-v2.assets/image-20200607143002942.png)
* 完成工作负载导入后Kuboard 将自动进入套件的 **初始化** 页面,如下图所示:
* **初始化** 页面将检测所依赖工作负载的就绪情况,如下图所示:
![image-20200531114349178](./monitor-v2.assets/image-20200531114349178.png)
![image-20200607143223601](./monitor-v2.assets/image-20200607143223601.png)
* 所有被依赖的工作负载就绪之后,将展示初始化时所引用的资源,如下图所示:
![image-20200531114628628](./monitor-v2.assets/image-20200531114628628.png)
![image-20200607143257409](./monitor-v2.assets/image-20200607143257409.png)
* 点击 **初始化** 页面中的 **执行初始化** 按钮Kuboard 将完成对 Grafana 的初始化动作,如下图所示:
![image-20200531114818385](./monitor-v2.assets/image-20200531114818385.png)
![image-20200607143321297](./monitor-v2.assets/image-20200607143321297.png)
* 点击 **确定** 后,套件详情页将展示该套件支持的 **扩展** 信息,如下图所示:
![image-20200531115010561](./monitor-v2.assets/image-20200531115010561.png)
![image-20200607143400986](./monitor-v2.assets/image-20200607143400986.png)
## 查看监控信息
@ -91,7 +89,7 @@ description: 使用Kuboard在Kubernetes上安装监控套件并对example微
- 节点资源监控
- 节点监控(含节点上的容器组)
![image-20200531115257331](./monitor-v2.assets/image-20200531115257331.png)
![image-20200607143723089](./monitor-v2.assets/image-20200607143723089.png)
- 工作负载详情页
@ -101,13 +99,13 @@ description: 使用Kuboard在Kubernetes上安装监控套件并对example微
- 所在节点监控
- 所在节点监控(含节点上的容器组)
![image-20200531115308199](./monitor-v2.assets/image-20200531115308199.png)
![image-20200607143952692](./monitor-v2.assets/image-20200607143952692.png)
## 直接访问 Grafana 界面
您可能想要自己定义 Grafana 的规则,比如告警通知、授权管理等,如果需要以管理员用户登录到 Grafana 界面,请以 kuboard-user 身份登录 Kuboard并导航到名称空间 kube-system 下的 deployment / monitor-grafana 页面,点击其中的 **代理** 按钮,可以用管理员身份登录 Grafana 界面,如下图所示
您可能想要自己定义 Grafana 的规则,比如告警通知、授权管理等,如果需要以管理员用户登录到 Grafana 界面,点击下图中的 **Grafana主页** 按钮,可以当前登录 Kuboard 的用户登录 Grafana
![image-20200531115904561](./monitor-v2.assets/image-20200531115904561.png)
![image-20200607143450664](./monitor-v2.assets/image-20200607143450664.png)
@ -121,9 +119,16 @@ description: 使用Kuboard在Kubernetes上安装监控套件并对example微
* 修改 YAML 安装脚本
* 修改初始化脚本、添加初始化所需资源
* 添加扩展,修改扩展脚本,实现自定义逻辑
* 修改套件的快速链接
如下图所示:
![image-20200531120441813](./monitor-v2.assets/image-20200531120441813.png)
![image-20200607144127342](./monitor-v2.assets/image-20200607144127342.png)
您还可以将自己的套件提交到套件仓库。
您还可以将自己的套件提交到套件仓库。
## 授权用户访问套件
请参考具体套件的 **README** 了解如何授权普通用户使用套件。