Kuboard v2.0.0-beta.1
This commit is contained in:
50
.vuepress/comp/CurrentVersion.vue
Normal file
50
.vuepress/comp/CurrentVersion.vue
Normal file
@ -0,0 +1,50 @@
|
||||
<template>
|
||||
<div style="margin-top: 20px;">
|
||||
Kuboard 最新版本对照表
|
||||
<b-table striped hover :items="items" :fields="fields"></b-table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
latestVersion: undefined,
|
||||
fields: [ 'channel', 'dockerTag', 'version', 'buildDate' ]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
currentVersion () {
|
||||
if (this.latestVersion === undefined) return { latest: {}, beta: {}, arm: {} }
|
||||
return this.latestVersion[this.latestVersion.default].channel
|
||||
},
|
||||
items () {
|
||||
let items = []
|
||||
items.push({ channel: 'latest', dockerTag: 'eipwork/kuboard:latest', version: this.currentVersion.latest.version, buildDate: this.currentVersion.latest.buildDate })
|
||||
items.push({ channel: 'beta', dockerTag: 'eipwork/kuboard:beta', version: this.currentVersion.beta.version, buildDate: this.currentVersion.beta.buildDate })
|
||||
items.push({ channel: 'arm', dockerTag: 'eipwork/kuboard:arm', version: this.currentVersion.arm.version, buildDate: this.currentVersion.arm.buildDate })
|
||||
return items
|
||||
}
|
||||
},
|
||||
components: { },
|
||||
mounted () {
|
||||
axios.get('https://addons.kuboard.cn/kuboard-latest-version.json').then(resp => {
|
||||
console.log(resp)
|
||||
this.latestVersion = resp.data
|
||||
}).catch(e => {
|
||||
console.log(e)
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
@ -1,6 +1,7 @@
|
||||
let components = [
|
||||
{ name: 'LearningPlan', component: () => import(`./LearningPlan.vue`) },
|
||||
{ name: 'Course', component: () => import(`./Course.vue`) }
|
||||
{ name: 'Course', component: () => import(`./Course.vue`) },
|
||||
{ name: 'CurrentVersion', component: () => import(`./CurrentVersion.vue`) },
|
||||
]
|
||||
|
||||
export default function (Vue) {
|
||||
|
||||
@ -12,9 +12,10 @@
|
||||
<p style="color: gray; font-size: 14px;">
|
||||
为保证环境的稳定性,在线 Demo 中只提供只读权限。<span style="color: #F56C6C; font-weight: 500;">(请在PC浏览器中打开)</span>
|
||||
</p>
|
||||
<li>无需编写YAML</li>
|
||||
<li>纯图形化环境</li>
|
||||
<li>多环境管理</li>
|
||||
<li>GitLab/GitHub 单点登录集成</li>
|
||||
<li>RBAC 权限管理</li>
|
||||
<li>工作负载编辑器</li>
|
||||
<li>名称空间导出/导入</li>
|
||||
</b-card>
|
||||
</grid-item>
|
||||
<grid-item size="2/3" :rwd="{tablet: '1/1', compact: '1/1'}">
|
||||
|
||||
@ -643,7 +643,9 @@ module.exports = {
|
||||
title: '更新说明',
|
||||
collapsable: false,
|
||||
children: [
|
||||
'change-log/v2.0.x',
|
||||
'change-log/v1.0.x',
|
||||
'change-log/upgrade-1-2',
|
||||
'known-issue',
|
||||
]
|
||||
}
|
||||
|
||||
@ -4,24 +4,24 @@ metadata:
|
||||
name: kuboard
|
||||
namespace: kube-system
|
||||
annotations:
|
||||
k8s.eip.work/displayName: kuboard
|
||||
k8s.eip.work/ingress: "true"
|
||||
k8s.eip.work/service: NodePort
|
||||
k8s.eip.work/workload: kuboard
|
||||
k8s.kuboard.cn/displayName: kuboard
|
||||
k8s.kuboard.cn/ingress: "true"
|
||||
k8s.kuboard.cn/service: NodePort
|
||||
k8s.kuboard.cn/workload: kuboard
|
||||
labels:
|
||||
k8s.eip.work/layer: monitor
|
||||
k8s.eip.work/name: kuboard
|
||||
k8s.kuboard.cn/layer: monitor
|
||||
k8s.kuboard.cn/name: kuboard
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s.eip.work/layer: monitor
|
||||
k8s.eip.work/name: kuboard
|
||||
k8s.kuboard.cn/layer: monitor
|
||||
k8s.kuboard.cn/name: kuboard
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
k8s.eip.work/layer: monitor
|
||||
k8s.eip.work/name: kuboard
|
||||
k8s.kuboard.cn/layer: monitor
|
||||
k8s.kuboard.cn/name: kuboard
|
||||
spec:
|
||||
containers:
|
||||
- name: kuboard
|
||||
@ -45,8 +45,8 @@ spec:
|
||||
targetPort: 80
|
||||
nodePort: 32567
|
||||
selector:
|
||||
k8s.eip.work/layer: monitor
|
||||
k8s.eip.work/name: kuboard
|
||||
k8s.kuboard.cn/layer: monitor
|
||||
k8s.kuboard.cn/name: kuboard
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
@ -97,8 +97,8 @@ metadata:
|
||||
name: kuboard
|
||||
namespace: kube-system
|
||||
annotations:
|
||||
k8s.eip.work/displayName: kuboard
|
||||
k8s.eip.work/workload: kuboard
|
||||
k8s.kuboard.cn/displayName: kuboard
|
||||
k8s.kuboard.cn/workload: kuboard
|
||||
nginx.org/websocket-services: "kuboard"
|
||||
nginx.com/sticky-cookie-services: "serviceName=kuboard srv_id expires=1h path=/"
|
||||
spec:
|
||||
|
||||
55
support/change-log/upgrade-1-2.md
Normal file
55
support/change-log/upgrade-1-2.md
Normal file
@ -0,0 +1,55 @@
|
||||
---
|
||||
vssueId: 72
|
||||
description: 本文描述了Kuboard_v2.0.x版本的升级方法
|
||||
---
|
||||
|
||||
# 从 Kuboard v1.0.x 升级到 Kuboard v2.0.x
|
||||
|
||||
## Kuboard v2.0.x 与 Kuboard v1.0.x 不兼容的地方
|
||||
|
||||
* 自定义名称空间的方式
|
||||
|
||||
Kuboard v1.0.x 中,通过 ConfigMap 加载 kuboard-namespace-layout.yaml 文件的方式自定义名称空间的布局,参考 [自定义名称空间的布局](/install/install-kuboard-layout.html)。在 Kuboard v2.0.x 中,增强了名称空间配置的方式:
|
||||
* 通过 CustomResource 进行配置;
|
||||
* 在 Kuboard 界面中即可完成名称空间布局的配置;
|
||||
* 可以配置全局默认的名称空间布局,还可以按名称空间单独配置;
|
||||
|
||||
升级建议:升级到 Kuboard v2.0.x 后,您需要按照 Kuboard v2.0.x 的方式重新定义名称空间布局。
|
||||
|
||||
* Kuboard 注解/标签变更
|
||||
|
||||
Kuboard 中,引入了一些自定义的标签(Labels)和注解(Annotations),主要用作如下用途:
|
||||
* k8s.eip.work/layer 标识工作负载属于哪个分层
|
||||
* k8s.eip.work/displayName 标识工作负载显示在 Kuboard 界面上的名字
|
||||
|
||||
从 Kuboard v2.0.0-beta.1 开始,这类标签(Labels)或注解(Annotations)将被调整为 k8s.kuboard.cn,例如:
|
||||
* k8s.kuboard.cn/layer
|
||||
* k8s.kuboard.cn/displayName
|
||||
|
||||
Kuboard v2.0.x **仍然将继续支持** k8s.eip.work/layer 和 k8s.eip.work/displayName 的显示,但是新建工作负载都将调整为 k8s.kuboard.cn
|
||||
|
||||
* 套件
|
||||
|
||||
Kuboard v1.0.x 中,由于早期版本不支持鉴权,在提供套件功能时,未能很好的解决权限问题,因此,在 Kuboard v1.0.x 中存在套件过度授权的情况,参考 [KUBOARD_SAFE_MODE](/install/install-kuboard-env.html#kuboard-safe-mode)。
|
||||
|
||||
Kuboard v2.0.x 将彻底解决这个问题,并重构套件功能,开放套件 API(尚不包括在 v2.0.0-beta.x 版本中)。如果您现在升级到 Kuboard v2.0.0-beta.x,将不能使用套件功能。
|
||||
|
||||
* 显示ICP备案编号
|
||||
|
||||
Kuboard v2.0.0-beta.x 暂不支持在页尾显示公司名字及 ICP 备案编号的信息,参考 [KUBOARD_ICP_DESCRIPTION](/install/install-kuboard-env.html#kuboard-icp-description)
|
||||
|
||||
## 升级办法
|
||||
|
||||
* 卸载 Kuboard 套件(如果有安装 Kuboard 套件)
|
||||
|
||||
参考 [卸载套件](/guide/addon/#卸载套件)
|
||||
|
||||
Kuboard v2.0.0 的正式版将提供重构后的套件功能,届时,需要重新安装套件。如果您打算在某个时间点退回到 Kuboard v1.0.x,也可以选择不卸载套件,Kuboard v2.0.x 中不再提供 Kuboard v1.0.x 的套件卸载功能。
|
||||
|
||||
* 修改 Kuboard 镜像标签
|
||||
|
||||
参考 [指定 Kuboard 版本升级](/install/install-dashboard-upgrade.html#指定版本升级),将 Kuboard 标签修改为 beta,或 v2.0.0-beta.1
|
||||
|
||||
* 重新自定义名称空间布局
|
||||
|
||||
进入 Kuboard v2.0.x 界面后,在名称空间页的右上角,可以找到 **自定义名称空间布局** 按钮,按照界面提示修改名称空间布局。
|
||||
@ -7,14 +7,63 @@ description: 本文描述了Kuboard_v1.0.x的版本变更说明
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
<CurrentVersion/>
|
||||
|
||||
了解如何 [升级Kuboard](/install/install-dashboard-upgrade.html)
|
||||
|
||||
* eipwork/kuboard:<span style="font-weight: 800; color: #007af5">latest</span> 当前对应的版本是 kuboard <span style="font-weight: 800; color: #007af5">v1.0.9.4</span>
|
||||
* eipwork/kuboard:<span style="font-weight: 800; color: #42b983">beta</span> 当前对应的版本是 kuboard <span style="font-weight: 800; color: #42b983">v1.0.9-beta.6</span>
|
||||
* eipwork/kuboard:<span style="font-weight: 800; color: #42b983">arm</span> 当前对应的版本是 kuboard <span style="font-weight: 800; color: #42b983">v1.0.9.4-arm</span>
|
||||
|
||||
Kuboard v1.0.x 的更新说明
|
||||
|
||||
## v1.0.9.7
|
||||
|
||||
**发布日期**
|
||||
|
||||
2020年5月16日
|
||||
|
||||
**BUG修正**
|
||||
|
||||
* 集群概览页 --> 在部分情况下,CPU 总量计算出错;
|
||||
|
||||
## v1.0.9.6
|
||||
|
||||
**发布日期**
|
||||
|
||||
2020年5月8日
|
||||
|
||||
**优化**
|
||||
* Deployment 显示页面,滚动更新过程中 Pod 选中状态的优化;
|
||||
* 下载日志时超时,时间从5分钟调整为100分钟;
|
||||
|
||||
**BUG修正**
|
||||
* .status.allocatable.cpu 的单位为 m 时,集群概览中CPU统计信息显示不正确的问题;
|
||||
* 创建 Secrets 后,应该刷新列表;
|
||||
|
||||
## v1.0.9.5-hotfix1
|
||||
|
||||
**发布日期**
|
||||
|
||||
2020年4月30日
|
||||
|
||||
**BUG修正**
|
||||
* 导入工作负载时,Deployment.spec.template.volumes[*].persistentVolumeClaim.claimName 不能被正确设置的问题;
|
||||
|
||||
## v1.0.9.5
|
||||
|
||||
**发布日期**
|
||||
|
||||
2020年4月30日
|
||||
|
||||
**优化**
|
||||
* 工作负载查看界面
|
||||
* 提示用户只显示同名 Service / Ingress;
|
||||
* 工作负载编辑器
|
||||
* 容器重启策略,除了 Always 以外,启用 OnFailure / Never 这两个选项,并提示某些情况下选项不可用;
|
||||
* 支持字段 spec.template.spec.containers[*].env.resourceFieldRef
|
||||
|
||||
**BUG修正**
|
||||
* 导入工作负载时,StatefulSet.template.spec.volumeClaimTemplates[*].spec.storageClassName 不能被正确设置的问题;
|
||||
* 终端界面修改最近行数时,重新加载后,仍然是 500 行
|
||||
|
||||
## v1.0.9.4
|
||||
|
||||
**发布日期**
|
||||
|
||||
33
support/change-log/v2.0.x.md
Normal file
33
support/change-log/v2.0.x.md
Normal file
@ -0,0 +1,33 @@
|
||||
---
|
||||
vssueId: 72
|
||||
description: 本文描述了Kuboard_v2.0.x的版本变更说明
|
||||
---
|
||||
|
||||
# Kuboard v2.0.x
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
<CurrentVersion/>
|
||||
|
||||
Kuboard v2.0.x 的更新说明
|
||||
|
||||
了解 [从Kuboard v1.0.x 升级到 Kuboard v2.0.x](./upgrade-1-2.html)
|
||||
|
||||
## v2.0.0-beta.1
|
||||
|
||||
**发布日期**
|
||||
|
||||
2020年5月16日
|
||||
|
||||
**新特性**
|
||||
|
||||
* 全新界面更新
|
||||
* 增加面包屑导航
|
||||
* 增加设置侧边栏菜单
|
||||
* 按名称筛选名称空间
|
||||
* 升级 Kuboard
|
||||
* 检测最新 Kuboard 版本,并提示用户升级
|
||||
* 一键升级 Kuboard 到最新版本
|
||||
* 自定义名称空间布局
|
||||
* 通过在设置界面中修改 CustomerResource 的方式自定义名称空间布局
|
||||
* 可以按名称空间单独设定名称空间布局
|
||||
Reference in New Issue
Block a user