Skip to content

Commit

Permalink
Kuboard v3.0 - alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohq committed Nov 8, 2020
1 parent bcc7ab6 commit a71b3ea
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .vuepress/config-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ let sidebar = {
title: '安装 Kubernetes 管理工具',
collapsable: false,
children: [
'v3-install',
'install-dashboard',
'install-dashboard-offline',
{
title: '配置Kuboard',
title: '配置 Kuboard v2',
collapsable: true,
children: [
// 'install-dashboard-upgrade',
Expand Down
1 change: 1 addition & 0 deletions .vuepress/styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
}
p img {
border: 1px solid #d7dae2;
border-radius: 8px;
max-width: calc(100% - 40px);
}

Expand Down
2 changes: 1 addition & 1 deletion install/install-dashboard-offline.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ meta:
content: Kuboard离线安装
---

# 安装Kuboard(离线)
# 安装 Kuboard v2(离线)

<AdSenseTitle/>

Expand Down
2 changes: 1 addition & 1 deletion install/install-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ meta:
content: Kubernetes Dashboard安装,Kuboard安装,K8S Dashboard安装
---

# 安装Kuboard
# 安装 Kuboard v2

<AdSenseTitle/>

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions install/v3-install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
lessAds: false
description: 一行命令开启Kubernetes多集群管理之路_Kuboard_V3安装
meta:
- name: keywords
content: Kubernetes Dashboard安装,Kuboard安装,K8S Dashboard安装
---

# 安装 Kuboard v3

<AdSenseTitle/>

## Alpha 版本说明

Kuboard v3.0 支持 Kubernetes 多集群管理。当前为 alpha 内测版本,已经完成了多集群管理的主要特性,有如下功能尚未验证:
* Kuboard Proxy
* Kuboard PortForward
* Kuboard 套件

如果您从 Kuboard v1.0.x 或者 Kuboard v2.0.x 升级到 Kuboard,请注意:
* 您可以同时使用 Kuboard v3.0.x 和 Kuboard v2.0.x
* Kuboard v2.0.x 时购买的授权文件,可以在 Kuboard v3.0.0 正式发布后迁移到 Kuboard v3.0.x

Alpha 版本为早期内测版本,预计 Kuboard v3.0.0 的正式发布时间在 2021 年元旦前后

## 安装

Kuboard v3.0 不再部署在 Kubernetes 集群当中,而是以一个 docker 容器的形式运行在集群之外。安装之前,请确保:

* 用于安装 Kuboard v3.0 的机器已经安装了 docker,并且版本不低于 docker 19.03
* 您已经有自己的 Kubernetes 集群,并且版本不低于 Kubernetes v1.13

安装 Kuboard v3.0 alpha 版本的指令如下:

``` sh {6}
sudo docker run -d \
--restart=unless-stopped \
-p 10080:10080/tcp \
-p 10081:10081/tcp \
-p 10081:10081/udp \
-v /root/kuboard-data:/data \
eipwork/kuboard:v3-alpha
```

::: tip Tips
* Kuboard v3.0 的持久化数据存储在 `/data` 目录,如安装指令的第六行所示,默认映射到了宿主机的 `/root/kuboard-data` 路径,请根据您自己的情况进行调整;
* Kuboard v3.0 需要暴露 `10080` 端口,如安装指令的第三行所示,默认映射到了宿主机的 `10080` 端口,您可以根据自己的情况选择宿主机的其他端口;
* Kuboard v3.0 需要暴露 `10081` 端口 TCP / UDP,如安装指令的第四、第五行所示,默认映射到了宿主机的 `10081` 端口,您可以根据自己的情况选择宿主机的其他端口;
:::

## 访问 Kuboard v3.0

在浏览器输入 `http://your-host-ip:10080` 即可访问 Kuboard v3.0 的界面,登录方式:
* 用户名: `admin`
* 密 码: `Kuboard123`

首次登录成功后,Kuboard 将要求您完成一个初始化设定,如下图所示:

Kuboard 在添加被纳管的 Kubernetes 集群时,需要向集群中安装 Kuboard Agent,下图的参数在安装 Kuboard Agent 时将被使用到:

| 参数名称 | 默认值 | 描述 |
| ----------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------ |
| Kuboard UI 访问地址 | <div style="width: 190px;">http://your-host-ip:10080</div> | Kuboard Agent 访问 Kuboard web 时所使用的地址,必须映射到 Kuboard 的 `10080` 端口 |
| Kuboard Agent Server Host | your-host-ip | Kuboard Agent 访问 Kuboard Agent Server 时所使用的目标地址 |
| Kuboard Agent Server UDP Port | 10081 | Kuboard Agent 可以使用 UDP 协议或者 TCP 协议连接 Kuboard Agent Server,二者选其一即可,必须映射到 Kuboard 的 `10081` 端口。<br />* *UDP 比 TCP 快 20%*;<br />* *TCP 可以使用 http 或 socks5 代理*;<br />不同的 Kubernetes 集群可以选择 UDP 或 TCP。 |
| Kuboard Agent Server TCP Port | 10081 | 同上 |


![Kuboard v3 初始化设置](./v3-install.assets/image-20201108174801858.png)



## 问题反馈

关于 Kuboard v3.0.0-alpha 版本的问题反馈,请加 QQ 群:656520037

<img style="padding: 10px; width: 200px; border: 1px solid #eee; border-radius: 5px;" src="http://localhost:8080/images/kuboard_qq.png"/>
13 changes: 13 additions & 0 deletions install/v3-upgrade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
lessAds: false
description: 一行命令开启Kubernetes多集群管理之路
meta:
- name: keywords
content: Kubernetes Dashboard安装,Kuboard安装,K8S Dashboard安装
---

# 升级Kuboard v3

<AdSenseTitle/>

本文描述了如何升级 Kuboard v3.x.x
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
"dependencies": {
"@vssue/api-github-v4": "^1.4.0",
"@vssue/vuepress-plugin-vssue": "^1.4.6",
"@vuepress/plugin-active-header-links": "^1.5.4",
"@vuepress/plugin-back-to-top": "^1.5.4",
"@vuepress/plugin-google-analytics": "^1.5.4",
"@vuepress/plugin-medium-zoom": "^1.5.4",
"@vuepress/plugin-nprogress": "^1.5.4",
"@vuepress/plugin-pwa": "^1.5.4",
"@vuepress/plugin-active-header-links": "^1.7.1",
"@vuepress/plugin-back-to-top": "^1.7.1",
"@vuepress/plugin-google-analytics": "^1.7.1",
"@vuepress/plugin-medium-zoom": "^1.7.1",
"@vuepress/plugin-nprogress": "^1.7.1",
"animated-number-vue": "^1.0.0",
"aos": "^2.3.4",
"axios": "^0.19.2",
Expand All @@ -23,7 +22,7 @@
"nodemon": "^2.0.4",
"reduce-css-calc": "^2.1.7",
"vue2-animate": "^2.1.3",
"vuepress": "^1.5.4",
"vuepress": "^1.7.1",
"vuepress-plugin-baidu-autopush": "^1.0.1",
"vuepress-plugin-code-copy": "^1.0.6",
"vuepress-plugin-code-switcher": "^1.0.3",
Expand Down

0 comments on commit a71b3ea

Please sign in to comment.