dashboard-shell-shell 3.0.5-test.3 → 3.0.5-test.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/icons/iconfont.css +4 -1
- package/assets/images/pl/dark/logo.png +0 -0
- package/assets/styles/all.scss +21 -1
- package/assets/styles/base/_variables.scss +5 -5
- package/assets/styles/fonts/_icons.scss +3 -2
- package/assets/styles/global/_button.scss +8 -8
- package/assets/styles/global/_select.scss +1 -1
- package/assets/styles/global/_tooltip.scss +9 -5
- package/assets/styles/themes/_light.scss +3 -1
- package/assets/styles/vendor/vue-select.scss +2 -1
- package/assets/translations/zh-hans.yaml +150 -13
- package/components/ActionDropdown.vue +1 -1
- package/components/ButtonDropdown.vue +3 -1
- package/components/CodeMirror.vue +6 -4
- package/components/ContainerResourceLimit.vue +2 -2
- package/components/CopyToClipboard.vue +15 -0
- package/components/Drawer/Chrome.vue +2 -2
- package/components/Drawer/ResourceDetailDrawer/ConfigTab.vue +30 -27
- package/components/Drawer/ResourceDetailDrawer/YamlTab.vue +1 -1
- package/components/Drawer/ResourceDetailDrawer/index.vue +5 -4
- package/components/ExplorerMembers.vue +28 -4
- package/components/GlobalRoleBindings.vue +48 -112
- package/components/PodSecurityAdmission.vue +2 -2
- package/components/Resource/Detail/Metadata/IdentifyingInformation/index.vue +1 -3
- package/components/Resource/Detail/Metadata/KeyValue.vue +8 -4
- package/components/Resource/Detail/Metadata/index.vue +3 -1
- package/components/Resource/Detail/TitleBar/Title.vue +4 -3
- package/components/Resource/Detail/TitleBar/Top.vue +2 -0
- package/components/Resource/Detail/TitleBar/composables.ts +16 -1
- package/components/Resource/Detail/TitleBar/index.vue +123 -25
- package/components/ResourceDetail/Masthead/index.vue +1 -1
- package/components/ResourceDetail/Masthead/latest.vue +1 -1
- package/components/ResourceDetail/Masthead/legacy.vue +239 -167
- package/components/ResourceDetail/legacy.vue +44 -28
- package/components/ResourceList/Masthead.vue +14 -15
- package/components/SideNav.vue +21 -21
- package/components/SortableTable/THead.vue +21 -1
- package/components/SortableTable/index.vue +21 -6
- package/components/Tabbed/index.vue +6 -1
- package/components/auth/Principal.vue +42 -13
- package/components/auth/RoleDetailEdit.vue +11 -7
- package/components/breadcrumb/index.vue +119 -0
- package/components/form/ArrayList.vue +164 -147
- package/components/form/ArrayListGrouped.vue +3 -1
- package/components/form/ChangePassword.vue +1 -1
- package/components/form/Command.vue +4 -5
- package/components/form/Conditions.vue +15 -1
- package/components/form/Footer.vue +1 -0
- package/components/form/HealthCheck.vue +0 -2
- package/components/form/HookOption.vue +87 -58
- package/components/form/InputWithSelect.vue +8 -7
- package/components/form/KeyValue.vue +20 -2
- package/components/form/LabeledSelect.vue +6 -3
- package/components/form/Labels.vue +2 -2
- package/components/form/MatchExpressions.vue +3 -4
- package/components/form/Members/ClusterMembershipEditor.vue +1 -1
- package/components/form/Members/ClusterPermissionsEditor.vue +5 -5
- package/components/form/Members/MembershipEditor.vue +2 -2
- package/components/form/NameNsDescription.vue +1 -1
- package/components/form/Networking.vue +6 -9
- package/components/form/NodeAffinity.vue +29 -28
- package/components/form/PodAffinity.vue +23 -23
- package/components/form/Probe.vue +15 -11
- package/components/form/ResourceQuota/Namespace.vue +4 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +11 -9
- package/components/form/ResourceQuota/Project.vue +4 -4
- package/components/form/ResourceQuota/ProjectRow.vue +36 -30
- package/components/form/ResourceSelector.vue +1 -1
- package/components/form/Security.vue +1 -3
- package/components/form/Select.vue +6 -1
- package/components/form/ServiceNameSelect.vue +2 -5
- package/components/form/ServicePorts.vue +149 -75
- package/components/form/Taints.vue +2 -1
- package/components/form/Tolerations.vue +12 -9
- package/components/form/ValueFromResource.vue +110 -96
- package/components/form/WorkloadPorts.vue +143 -123
- package/components/formatter/WorkloadHealthScale.vue +4 -3
- package/components/nav/Group.vue +6 -0
- package/components/nav/Header.vue +7 -4
- package/components/nav/NamespaceFilter.vue +15 -21
- package/components/nav/TopLevelMenu.vue +99 -125
- package/components/nav/Type.vue +15 -3
- package/config/menuRouteMap.js +10 -0
- package/config/product/explorer.js +5 -1
- package/config/router/navigation-guards/index.js +61 -3
- package/detail/node.vue +28 -23
- package/dialog/AddCustomBadgeDialog.vue +17 -9
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +9 -6
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +3 -1
- package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +7 -5
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +5 -3
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +2 -2
- package/edit/configmap.vue +4 -0
- package/edit/networking.k8s.io.ingress/Certificate.vue +7 -5
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +2 -2
- package/edit/networking.k8s.io.ingress/Rule.vue +5 -11
- package/edit/networking.k8s.io.ingress/RulePath.vue +105 -96
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +3 -3
- package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +4 -2
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +12 -11
- package/edit/networking.k8s.io.networkpolicy/index.vue +1 -1
- package/edit/persistentvolume/index.vue +3 -1
- package/edit/persistentvolumeclaim.vue +2 -0
- package/edit/secret/index.vue +2 -2
- package/edit/service.vue +4 -1
- package/edit/storage.k8s.io.storageclass/index.vue +10 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +34 -27
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +15 -13
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +41 -39
- package/edit/workload/Job.vue +31 -34
- package/edit/workload/Upgrading.vue +5 -5
- package/edit/workload/index.vue +22 -18
- package/edit/workload/storage/Mount.vue +1 -0
- package/edit/workload/storage/awsElasticBlockStore.vue +9 -7
- package/edit/workload/storage/azureDisk.vue +14 -10
- package/edit/workload/storage/azureFile.vue +9 -7
- package/edit/workload/storage/csi/index.vue +6 -9
- package/edit/workload/storage/emptyDir.vue +7 -5
- package/edit/workload/storage/gcePersistentDisk.vue +9 -7
- package/edit/workload/storage/hostPath.vue +7 -5
- package/edit/workload/storage/nfs.vue +8 -6
- package/edit/workload/storage/persistentVolumeClaim/index.vue +12 -10
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +20 -15
- package/edit/workload/storage/secret.vue +9 -6
- package/edit/workload/storage/vsphereVolume.vue +11 -7
- package/initialize/app-extended.js +7 -1
- package/models/provisioning.cattle.io.cluster.js +19 -18
- package/package.json +1 -1
- package/pages/account/index.vue +95 -115
- package/pages/auth/setup.vue +35 -16
- package/pages/c/_cluster/auth/roles/index.vue +38 -5
- package/pages/c/_cluster/explorer/ConfigBadge.vue +1 -1
- package/pages/c/_cluster/explorer/tools/index.vue +6 -6
- package/pages/home.vue +3 -4
- package/pkg/tsconfig.json +9 -9
- package/pkg/vue.config.js +1 -1
- package/plugins/dashboard-store/resource-class.js +28 -27
- package/rancher-components/BadgeState/BadgeState.vue +33 -52
- package/rancher-components/Banner/Banner.vue +4 -1
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +31 -2
- package/rancher-components/RcDropdown/RcDropdownMenu.vue +8 -7
- package/scripts/publish-shell.sh +1 -1
- package/store/i18n.js +4 -0
- package/store/type-map.js +1 -1
- package/types/shell/index.d.ts +4 -30
- package/utils/error.js +3 -1
- package/utils/errorTranslate.json +351 -2
- package/vue.config.js +1 -1
|
Binary file
|
package/assets/styles/all.scss
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/* Chrome, Edge, Safari */
|
|
2
|
+
input[type="password"]::-webkit-textfield-decoration-container,
|
|
3
|
+
input[type="password"]::-webkit-inner-spin-button,
|
|
4
|
+
input[type="password"]::-webkit-clear-button {
|
|
5
|
+
display: none !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Edge / IE */
|
|
9
|
+
input[type="password"]::-ms-reveal {
|
|
10
|
+
display: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Firefox */
|
|
14
|
+
input[type="password"]::-moz-reveal {
|
|
15
|
+
display: none !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
.info-tab-title{
|
|
2
20
|
font-size: 14px;
|
|
3
21
|
line-height: 19px;
|
|
@@ -56,7 +74,9 @@ ul{
|
|
|
56
74
|
}
|
|
57
75
|
|
|
58
76
|
:deep() .vs__actions:after {
|
|
59
|
-
padding-top: 10px;
|
|
77
|
+
// padding-top: 10px;
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
60
80
|
}
|
|
61
81
|
.TEXTAREA{
|
|
62
82
|
border: solid var(--border-width) var(--input-border);
|
|
@@ -12,8 +12,8 @@ $unlabeled-input-height: 40px;
|
|
|
12
12
|
$unlabaled-select-padding: 3px 0;
|
|
13
13
|
$footer-height: 60px;
|
|
14
14
|
|
|
15
|
-
$input-height:
|
|
16
|
-
$unlabeled-input-height:
|
|
15
|
+
$input-height: 30px;
|
|
16
|
+
$unlabeled-input-height: 30px;
|
|
17
17
|
$input-width: 400px;
|
|
18
18
|
|
|
19
19
|
|
|
@@ -39,13 +39,13 @@ $z-indexes: (
|
|
|
39
39
|
// ---- Boundary for central content (in `<main>`)
|
|
40
40
|
|
|
41
41
|
// This covers both relative and content modes of the loading indicator
|
|
42
|
-
loading:
|
|
42
|
+
loading: 16,
|
|
43
43
|
|
|
44
44
|
// Users can click on shell in header and show shell even with most loading indicators showing,
|
|
45
45
|
// so add it above them
|
|
46
|
-
windowsManager:
|
|
46
|
+
windowsManager: 17,
|
|
47
47
|
|
|
48
|
-
mainHeader:
|
|
48
|
+
mainHeader: 18,
|
|
49
49
|
|
|
50
50
|
cruFooter: 19,
|
|
51
51
|
|
|
@@ -120,7 +120,7 @@ button,
|
|
|
120
120
|
line-height: $btn-sm-height - 2px;
|
|
121
121
|
|
|
122
122
|
&:focus, &.focused {
|
|
123
|
-
border: 0;
|
|
123
|
+
// border: 0;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -169,13 +169,13 @@ button,
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.role-multi-action {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
172
|
+
background-color: rgba(0,0,0,0);
|
|
173
|
+
border: solid thin var(--primary);
|
|
174
|
+
color: var(--primary) !important;
|
|
175
|
+
border-radius: 2px;
|
|
176
|
+
min-width: 32px;
|
|
177
|
+
height: 32px;
|
|
178
|
+
width: 32px;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
.icon-group i {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
background: var(--tooltip-bg);
|
|
12
12
|
box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
13
13
|
color: var(--tooltip-text);
|
|
14
|
-
border-radius:
|
|
14
|
+
border-radius: 2px;
|
|
15
15
|
padding: 8px;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -123,14 +123,14 @@
|
|
|
123
123
|
.v-popper__popper {
|
|
124
124
|
$color: var(--popover-bg);
|
|
125
125
|
border: 1px solid var(--border);
|
|
126
|
-
border-radius:
|
|
126
|
+
border-radius: 2px;
|
|
127
127
|
|
|
128
128
|
.v-popper__inner {
|
|
129
|
-
border-radius:
|
|
129
|
+
border-radius: 2px;
|
|
130
130
|
background: $color;
|
|
131
131
|
color: var(--popover-text);
|
|
132
132
|
padding: 10px;
|
|
133
|
-
border-radius:
|
|
133
|
+
border-radius: 0px;
|
|
134
134
|
border: none;
|
|
135
135
|
|
|
136
136
|
a {
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.v-popper__popper.v-popper--theme-dropdown {
|
|
150
|
-
border-radius:
|
|
150
|
+
border-radius: 0px;
|
|
151
151
|
z-index: z-index('tooltip');
|
|
152
152
|
border: 1px solid #d9d9d9 !important;
|
|
153
153
|
|
|
@@ -157,6 +157,10 @@
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
+
.v-popper__popper .v-popper__arrow-container {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
160
164
|
|
|
161
165
|
.v-popper {
|
|
162
166
|
display: inline;
|
|
@@ -8,6 +8,8 @@ $darker : #333;
|
|
|
8
8
|
//light disabled
|
|
9
9
|
$dark : #ffffff;
|
|
10
10
|
|
|
11
|
+
$scroll_dark: #8b8b8b;
|
|
12
|
+
|
|
11
13
|
//light border and buttons
|
|
12
14
|
$medium : #d7d7d7;
|
|
13
15
|
|
|
@@ -364,7 +366,7 @@ BODY, .theme-light {
|
|
|
364
366
|
|
|
365
367
|
--body-bg : #{$lightest};
|
|
366
368
|
--body-text : #{$darkest};
|
|
367
|
-
--scrollbar-thumb : #{$
|
|
369
|
+
--scrollbar-thumb : #{$scroll_dark};
|
|
368
370
|
--scrollbar-thumb-dropdown : #{$lighter};
|
|
369
371
|
--scrollbar-track : transparent;
|
|
370
372
|
|
|
@@ -111,6 +111,8 @@ generic:
|
|
|
111
111
|
=1 {匹配 {total, number} 个中的 1 个:"{sample}"}
|
|
112
112
|
other {匹配 {total, number} 中的 {matched, number} 个,包括 "{sample}"}
|
|
113
113
|
}
|
|
114
|
+
ariaLabel:
|
|
115
|
+
genericAddRow: 添加
|
|
114
116
|
|
|
115
117
|
graph:
|
|
116
118
|
loading: 正在加载 Chart 数据...
|
|
@@ -216,7 +218,7 @@ product:
|
|
|
216
218
|
backup: Rancher 备份
|
|
217
219
|
cis: CIS Benchmark
|
|
218
220
|
ecm: Cluster Manager
|
|
219
|
-
explorer:
|
|
221
|
+
explorer: 控制台
|
|
220
222
|
fleet: 持续交付
|
|
221
223
|
longhorn: Longhorn
|
|
222
224
|
manager: 集群管理
|
|
@@ -593,6 +595,10 @@ assignTo:
|
|
|
593
595
|
workspace: 工作空间
|
|
594
596
|
|
|
595
597
|
stateLabel:
|
|
598
|
+
Pending migration: 待迁移
|
|
599
|
+
Imagepullbackoff: 镜像拉取失败
|
|
600
|
+
VM error: 错误
|
|
601
|
+
Locked: 锁定
|
|
596
602
|
Bound: 已绑定
|
|
597
603
|
Running: 运行中
|
|
598
604
|
Off: 关闭
|
|
@@ -671,7 +677,7 @@ buttonLabel:
|
|
|
671
677
|
Errors:
|
|
672
678
|
changePassword:
|
|
673
679
|
Password must be at least 12 characters: 密码至少为12个字符
|
|
674
|
-
invalid current password: 当前的密码输入错误
|
|
680
|
+
"invalid current password": 当前的密码输入错误
|
|
675
681
|
|
|
676
682
|
|
|
677
683
|
asyncButton:
|
|
@@ -2573,7 +2579,7 @@ ingress:
|
|
|
2573
2579
|
required: 目标服务是必填的
|
|
2574
2580
|
warning: "警告:默认后端将全局用于整个集群"
|
|
2575
2581
|
ingressClass:
|
|
2576
|
-
label:
|
|
2582
|
+
label: Ingress类
|
|
2577
2583
|
rules:
|
|
2578
2584
|
addPath: 添加路径
|
|
2579
2585
|
addRule: 添加规则
|
|
@@ -2914,7 +2920,7 @@ logging:
|
|
|
2914
2920
|
default: /run/log/journal
|
|
2915
2921
|
elasticsearch:
|
|
2916
2922
|
host: 主机
|
|
2917
|
-
scheme:
|
|
2923
|
+
scheme: 协议
|
|
2918
2924
|
port: 端口
|
|
2919
2925
|
indexName: 索引名称
|
|
2920
2926
|
user: 用户名
|
|
@@ -3170,7 +3176,7 @@ login:
|
|
|
3170
3176
|
label: 记住用户名
|
|
3171
3177
|
|
|
3172
3178
|
logout:
|
|
3173
|
-
message:
|
|
3179
|
+
message: 正在退出登录...
|
|
3174
3180
|
|
|
3175
3181
|
managementNode:
|
|
3176
3182
|
customName: 自定义名称
|
|
@@ -5527,7 +5533,12 @@ tableHeaders:
|
|
|
5527
5533
|
missingPL: 缺少 PL
|
|
5528
5534
|
memory: 内存
|
|
5529
5535
|
monitored: 已监控
|
|
5536
|
+
request: 资源请求量
|
|
5537
|
+
limit: 资源限制
|
|
5530
5538
|
name: 名称
|
|
5539
|
+
maxunavailable: 最大不可用数
|
|
5540
|
+
minAvailable: 最小可用数
|
|
5541
|
+
alloweddisruptions: 允许中断数
|
|
5531
5542
|
nameDisplay: 显示名称
|
|
5532
5543
|
nameUnlinked: 名称
|
|
5533
5544
|
namespace: 资源组
|
|
@@ -5642,6 +5653,7 @@ tableHeaders:
|
|
|
5642
5653
|
volume: 卷
|
|
5643
5654
|
volumeMode: 卷模式
|
|
5644
5655
|
weight: 权重
|
|
5656
|
+
action: 操作
|
|
5645
5657
|
target:
|
|
5646
5658
|
router:
|
|
5647
5659
|
label: 路由
|
|
@@ -5935,7 +5947,9 @@ workload:
|
|
|
5935
5947
|
exec: 容器内运行的命令以 0 状态退出
|
|
5936
5948
|
image: 容器镜像
|
|
5937
5949
|
imagePullPolicy: 镜像拉取策略
|
|
5938
|
-
imagePullSecrets:
|
|
5950
|
+
imagePullSecrets:
|
|
5951
|
+
label: 镜像拉取密钥
|
|
5952
|
+
tooltip: 必须为 kubernetes.io/dockercfg 或 kubernetes.io/dockerconfigjson 类型
|
|
5939
5953
|
init: 初始化容器
|
|
5940
5954
|
lifecycleHook:
|
|
5941
5955
|
postStart:
|
|
@@ -5963,7 +5977,7 @@ workload:
|
|
|
5963
5977
|
label: 端口
|
|
5964
5978
|
placeholder: 例如:3000
|
|
5965
5979
|
scheme:
|
|
5966
|
-
label:
|
|
5980
|
+
label: 协议
|
|
5967
5981
|
placeholder: 例如:HTTP
|
|
5968
5982
|
httpHeaders:
|
|
5969
5983
|
title: HTTP 头部
|
|
@@ -6014,7 +6028,7 @@ workload:
|
|
|
6014
6028
|
hostPID: 使用主机 PID 资源组
|
|
6015
6029
|
podFsGroup: Pod 文件系统组
|
|
6016
6030
|
privileged:
|
|
6017
|
-
label:
|
|
6031
|
+
label: 特权模式
|
|
6018
6032
|
'false': 否
|
|
6019
6033
|
'true': "是:容器可以完全访问主机"
|
|
6020
6034
|
readOnlyRootFilesystem:
|
|
@@ -6161,7 +6175,7 @@ workload:
|
|
|
6161
6175
|
replicas: 副本数量
|
|
6162
6176
|
showTabs: '显示高级选项'
|
|
6163
6177
|
scheduling:
|
|
6164
|
-
activeDeadlineSeconds: 判定
|
|
6178
|
+
activeDeadlineSeconds: 判定Pod是否活跃的截止时间
|
|
6165
6179
|
activeDeadlineSecondsTip: 系统将 Pod 判定为失败,并终止其关联容器前的等待时长
|
|
6166
6180
|
affinity:
|
|
6167
6181
|
addNodeSelector: 添加节点选择器
|
|
@@ -6331,7 +6345,7 @@ workload:
|
|
|
6331
6345
|
pod: Pod 是你可以在 Kubernetes 中创建和管理的最小可部署计算单元。Pod 是一个或多个容器,具有共享的存储和网络资源以及运行容器的规范。
|
|
6332
6346
|
upgrading:
|
|
6333
6347
|
activeDeadlineSeconds:
|
|
6334
|
-
label: 判定
|
|
6348
|
+
label: 判定Pod是否活跃的截止时间
|
|
6335
6349
|
tip: 系统将 Pod 判定为失败,并终止其关联容器前的等待时长
|
|
6336
6350
|
concurrencyPolicy:
|
|
6337
6351
|
label: 并发
|
|
@@ -6482,7 +6496,7 @@ typeDescription:
|
|
|
6482
6496
|
kubevirt.io.virtualmachine: 云虚拟机是一种安全可靠、弹性可伸缩的云计算服务器,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。
|
|
6483
6497
|
harvesterhci.io.volume: 虚拟磁盘具有高性能和低时延的特点,支持随机读写,可以像使用物理硬盘一样,在虚拟机上进行格式化并建立文件系统来使用块存储。
|
|
6484
6498
|
harvesterhci.io.volumesnapshot: 虚拟磁盘快照功能通过捕获虚拟磁盘在特定时间点的状态,生成增量副本,支持快速回滚磁盘状态,为测试验证、容灾恢复提供高效解决方案
|
|
6485
|
-
harvesterhci.io.virtualmachinebackup:
|
|
6499
|
+
harvesterhci.io.virtualmachinebackup: 虚拟机备份恢复功能通过创建包含磁盘数据、配置信息的完整副本,支持跨环境恢复及长期数据保护,为系统故障或灾难提供可靠容灾方案。
|
|
6486
6500
|
harvesterhci.io.schedulevmbackup: 虚拟机备份策略功能通过创建定时任务,对虚拟机进行完整备份或增量快照,为用户提供自动化的数据备份和容灾方案。
|
|
6487
6501
|
harvesterhci.io.vmsnapshot: 虚拟机快照功能通过捕获特定时间点的系统状态,支持快速恢复虚拟机状态,为数据备份与系统调试提供灵活解决方案。
|
|
6488
6502
|
harvesterhci.io.keypair: SSH密钥对是一种安全便捷的登录认证方式,您可以实现免密码远程登录,并在无需人工干预的情况下进行安全的自动化操作,实现服务器配置和应用程序部署的自动化。
|
|
@@ -6509,7 +6523,34 @@ typeDescription:
|
|
|
6509
6523
|
management.cattle.io.setting: 统一配置平台基础选项与全局设置,支持CA证书、密码规则、域名、Token时效等核心配置。
|
|
6510
6524
|
management.cattle.io.user: 用于管理用户账号,支持创建、维护用户信息,可设置用户权限、管理密码等,保障系统资源仅由授权用户访问,提升系统安全性。
|
|
6511
6525
|
harvesterhci.io.management.cluster: 提供虚拟化集群的实时健康状态监控、版本号管理及资源负载管理,支持批量导入/删除集群、配置调优与权限分级功能,实现高效运维管控。
|
|
6526
|
+
projectsnamespaces: 项目/资源组是用于在集群内实现资源隔离和多租户管理的基本单元。通过项目可以对一组命名空间及相关资源进行统一的权限、配额和策略管理。
|
|
6527
|
+
members: 集群和项目成员管理页面用于配置用户和用户组对资源的访问权限。通过角色绑定(RBAC)来控制成员在集群或项目范围内的操作权限,实现安全的协同管理。
|
|
6528
|
+
event: 事件记录了 Kubernetes 资源(如 Pod、节点等)的状态变化、错误信息和生命周期事件。通过查看事件可以快速诊断应用部署和运行中的问题。
|
|
6529
|
+
autoscaling.horizontalpodautoscaler: HorizontalPodAutoscaler (HPA) 用于根据观察到的 CPU 利用率或其他自定义指标自动调整工作负载的 Pod 副本数量,实现应用的水平自动扩缩容。
|
|
6530
|
+
networking.k8s.io.ingress: Ingress 用于管理对集群内服务的外部访问,提供 HTTP 和 HTTPS 路由规则。通过 Ingress 可以配置负载均衡、SSL 终止和基于名称的虚拟主机等能力。
|
|
6531
|
+
service: Service 用于将一组 Pod 暴露为网络服务,提供稳定的 IP 地址和 DNS 名称,并实现负载均衡。Service 确保您的应用程序在网络中可被发现和可靠访问。
|
|
6532
|
+
storage.k8s.io.storageclass: 存储池页面用于集中管理和配置集群中的持久化存储资源。您可以在此查看存储提供商、创建存储类(StorageClass)并为有状态应用动态提供持久卷(Persistent Volume)。
|
|
6533
|
+
persistentvolume: PersistentVolume (PV) 是集群中的一块持久化存储资源,由管理员预先配置或通过存储类动态供应。PV 为需要持久化数据的应用提供独立于 Pod 生命周期的存储空间。
|
|
6534
|
+
persistentvolumeclaim: 虚拟磁盘是提供给虚拟机使用的持久化存储设备,为虚拟机操作系统和应用数据提供独立的、可扩展的存储空间。虚拟磁盘的生命周期可以与虚拟机解耦,实现数据的持久化保存。
|
|
6535
|
+
configmap: ConfigMap 用于将非机密的配置数据以键值对形式保存,并注入到 Pod 中作为环境变量、命令行参数或配置文件使用。实现应用配置与容器镜像的分离,便于配置管理。
|
|
6536
|
+
secret: Secret 用于存储和管理敏感信息,如密码、OAuth 令牌和 SSH 密钥等。Secret 以加密方式保存数据,并可以安全地挂载到 Pod 中供容器使用,避免敏感信息硬编码。
|
|
6537
|
+
projectsecret: Secret 用于存储和管理敏感信息,如密码、OAuth 令牌和 SSH 密钥等。Secret 以加密方式保存数据,并可以安全地挂载到 Pod 中供容器使用,避免敏感信息硬编码。
|
|
6538
|
+
networking.k8s.io.networkpolicy: 网络策略用于控制 Pod 组之间的网络通信规则,实现 Kubernetes 集群内的网络隔离。通过定义入站和出站规则,可以精确控制 Pod 之间的网络访问权限。
|
|
6539
|
+
limitrange: 限制范围用于在命名空间内限制资源的使用量,包括 Pod 的计算资源(CPU、内存)请求和限制、存储卷大小以及可创建的资源对象数量,防止资源过度消耗。
|
|
6540
|
+
resourcequota: 资源配额用于限制命名空间可以使用的总体资源总量,包括计算资源、存储资源以及可创建的对象数量。它确保命名空间内的资源使用不会超过分配的配额限制。
|
|
6541
|
+
policy.poddisruptionbudget: Pod 中断预算用于限制自愿中断期间同时终止的 Pod 副本数量,确保应用的高可用性。它可以防止在节点维护或集群缩容时导致的应用服务中断。
|
|
6542
|
+
apps.daemonset: DaemonSet 在每个符合条件的节点上仅运行一个 Pod。当新节点添加到集群时,DaemonSet 会自动部署新节点。推荐用于全系统或可垂直扩展,且每个节点永远不需要超过一个 pod 的工作负载。
|
|
6543
|
+
apps.deployment: Deployment 运行分布在符合条件的节点中的可扩展数量的 Pod 副本。变更会逐步推出,并可回滚到之前的版本。推荐用于无状态和水平可扩展的工作负载。
|
|
6544
|
+
apps.statefulset: StatefulSet 管理有状态的应用,并保证创建的 Pod 的顺序和唯一性。推荐用于具有持久化存储或严格身份、法定人数或升级顺序要求的工作负载。
|
|
6545
|
+
batch.cronjob: CronJob 创建 Job,然后按照重复调度来运行 Pod。该调度以标准的 Unix cron 格式表示,并使用 Kubernetes Control Plane 的时区(通常是 UTC)。
|
|
6546
|
+
batch.job: Job 创建一个或多个 Pod。 Job 通过运行 Pod 直到其成功退出,以可靠执行一次性任务。失败的 Pod 会自动被替换,直到达到指定的完成运行次数。Job 还可以并行运行多个 Pod,或作为批处理工作队列。
|
|
6547
|
+
pod: Pod 是你可以在 Kubernetes 中创建和管理的最小可部署计算单元。Pod 是一个或多个容器,具有共享的存储和网络资源以及运行容器的规范。
|
|
6512
6548
|
typeLabel:
|
|
6549
|
+
management.cattle.io.project: |-
|
|
6550
|
+
{count, plural,
|
|
6551
|
+
one { 项目 }
|
|
6552
|
+
other { 项目 }
|
|
6553
|
+
}
|
|
6513
6554
|
management.cattle.io.token: |-
|
|
6514
6555
|
{count, plural,
|
|
6515
6556
|
one { API 密钥 }
|
|
@@ -6753,8 +6794,8 @@ typeLabel:
|
|
|
6753
6794
|
}
|
|
6754
6795
|
autoscaling.horizontalpodautoscaler: |-
|
|
6755
6796
|
{count, plural,
|
|
6756
|
-
one {
|
|
6757
|
-
other {
|
|
6797
|
+
one { HPA }
|
|
6798
|
+
other { HPA }
|
|
6758
6799
|
}
|
|
6759
6800
|
networking.k8s.io.ingress: |-
|
|
6760
6801
|
{count, plural,
|
|
@@ -6861,6 +6902,26 @@ typeLabel:
|
|
|
6861
6902
|
one { 工作负载 }
|
|
6862
6903
|
other { 工作负载 }
|
|
6863
6904
|
}
|
|
6905
|
+
cluster : |-
|
|
6906
|
+
{count, plural,
|
|
6907
|
+
one { 集群 }
|
|
6908
|
+
other { 集群 }
|
|
6909
|
+
}
|
|
6910
|
+
servicediscovery : |-
|
|
6911
|
+
{count, plural,
|
|
6912
|
+
one { 服务发现 }
|
|
6913
|
+
other { 服务发现 }
|
|
6914
|
+
}
|
|
6915
|
+
storage : |-
|
|
6916
|
+
{count, plural,
|
|
6917
|
+
one { 存储 }
|
|
6918
|
+
other { 存储 }
|
|
6919
|
+
}
|
|
6920
|
+
policy : |-
|
|
6921
|
+
{count, plural,
|
|
6922
|
+
one { 策略 }
|
|
6923
|
+
other { 策略 }
|
|
6924
|
+
}
|
|
6864
6925
|
harvesterhci.io.management.cluster: |-
|
|
6865
6926
|
{count, plural,
|
|
6866
6927
|
one { Cloud 集群 }
|
|
@@ -7856,3 +7917,79 @@ gitPicker:
|
|
|
7856
7917
|
networkAttachmentDefinition:
|
|
7857
7918
|
tabs:
|
|
7858
7919
|
config: 配置
|
|
7920
|
+
|
|
7921
|
+
|
|
7922
|
+
component:
|
|
7923
|
+
drawer:
|
|
7924
|
+
chrome:
|
|
7925
|
+
ariaLabel:
|
|
7926
|
+
close: 关闭抽屉
|
|
7927
|
+
close: 关闭
|
|
7928
|
+
resourceDetailDrawer:
|
|
7929
|
+
title: "{resourceName} ({resourceType}) - 配置"
|
|
7930
|
+
editConfig: 编辑配置
|
|
7931
|
+
editYaml: 编辑YAML
|
|
7932
|
+
ariaLabel:
|
|
7933
|
+
editConfig: 编辑配置
|
|
7934
|
+
editYaml: 编辑YAML
|
|
7935
|
+
yamlTab:
|
|
7936
|
+
title: YAML
|
|
7937
|
+
configTab:
|
|
7938
|
+
title: 配置
|
|
7939
|
+
resource:
|
|
7940
|
+
detail:
|
|
7941
|
+
card:
|
|
7942
|
+
resourceUsage:
|
|
7943
|
+
used: Used
|
|
7944
|
+
amount: '{used} of {available}'
|
|
7945
|
+
cpu: CPU
|
|
7946
|
+
memory: Memory
|
|
7947
|
+
pods: Pods
|
|
7948
|
+
resourcesCard:
|
|
7949
|
+
title: 资源
|
|
7950
|
+
rows:
|
|
7951
|
+
services: 服务
|
|
7952
|
+
ingresses: Ingresses
|
|
7953
|
+
referredToBy: 参考
|
|
7954
|
+
refersTo: 引用
|
|
7955
|
+
podsCard:
|
|
7956
|
+
title: Pods
|
|
7957
|
+
ariaResourceName: pods
|
|
7958
|
+
insightsCard:
|
|
7959
|
+
title: Insights
|
|
7960
|
+
rows:
|
|
7961
|
+
conditions: Conditions
|
|
7962
|
+
events: Events
|
|
7963
|
+
scaler:
|
|
7964
|
+
ariaLabel:
|
|
7965
|
+
increase: Increase {resourceName}
|
|
7966
|
+
decrease: Decrease {resourceName}
|
|
7967
|
+
titleBar:
|
|
7968
|
+
showConfiguration: 显示配置
|
|
7969
|
+
ariaLabel:
|
|
7970
|
+
actionMenu: 更多操作
|
|
7971
|
+
showConfiguration: 显示{resource}的整个配置
|
|
7972
|
+
metadata:
|
|
7973
|
+
labelsAndAnnotations: 标签和注释
|
|
7974
|
+
identifyingInformation:
|
|
7975
|
+
createdBy: 创建
|
|
7976
|
+
namespace: 命名空间
|
|
7977
|
+
project: 项目
|
|
7978
|
+
age: 使用时长
|
|
7979
|
+
image: 图片
|
|
7980
|
+
ready: 准备
|
|
7981
|
+
up-to-date: Up-to-date
|
|
7982
|
+
available: 可用
|
|
7983
|
+
serviceAccount: 服务帐户
|
|
7984
|
+
type: 类型
|
|
7985
|
+
certificate: 证书
|
|
7986
|
+
issuer: Issuer
|
|
7987
|
+
expires: 到期
|
|
7988
|
+
workspace: 工作区
|
|
7989
|
+
annotations:
|
|
7990
|
+
title: 注释
|
|
7991
|
+
labels:
|
|
7992
|
+
title: 标签
|
|
7993
|
+
keyValue:
|
|
7994
|
+
noRows: 此资源上没有配置{propertyName}.
|
|
7995
|
+
showConfiguration: 显示配置
|
|
@@ -323,12 +323,12 @@ export default {
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
&.as-text-area .codemirror-container{
|
|
326
|
-
min-height:
|
|
326
|
+
min-height: 32px !important;
|
|
327
327
|
position: relative;
|
|
328
328
|
display: block;
|
|
329
329
|
box-sizing: border-box;
|
|
330
330
|
width: 100%;
|
|
331
|
-
padding: 10px;
|
|
331
|
+
padding: 8px 10px 0 10px !important;
|
|
332
332
|
background-color: var(--input-bg);
|
|
333
333
|
border-radius: var(--border-radius);
|
|
334
334
|
border: solid var(--border-width) var(--input-border);
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
418
418
|
|
|
419
419
|
.code-mirror {
|
|
420
420
|
position: relative;
|
|
421
|
-
margin-bottom:
|
|
421
|
+
margin-bottom: 0 !important;
|
|
422
422
|
|
|
423
423
|
.escape-text {
|
|
424
424
|
font-size: 12px;
|
|
@@ -498,5 +498,7 @@ export default {
|
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
|
|
501
|
+
.CodeMirror-scroll {
|
|
502
|
+
min-height: 350px;
|
|
503
|
+
}
|
|
502
504
|
</style>
|
|
@@ -177,7 +177,7 @@ export default {
|
|
|
177
177
|
</div>
|
|
178
178
|
</div>
|
|
179
179
|
|
|
180
|
-
<div class="row
|
|
180
|
+
<div class="row">
|
|
181
181
|
<span class="col span-6">
|
|
182
182
|
<UnitInput
|
|
183
183
|
v-model:value="requestsCpu"
|
|
@@ -206,7 +206,7 @@ export default {
|
|
|
206
206
|
</span>
|
|
207
207
|
</div>
|
|
208
208
|
|
|
209
|
-
<div class="row
|
|
209
|
+
<div class="row">
|
|
210
210
|
<span class="col span-6">
|
|
211
211
|
<UnitInput
|
|
212
212
|
v-model:value="limitsCpu"
|
|
@@ -42,3 +42,18 @@ export default {
|
|
|
42
42
|
@click="clicked"
|
|
43
43
|
/>
|
|
44
44
|
</template>
|
|
45
|
+
|
|
46
|
+
<style lang="scss"scoped>
|
|
47
|
+
button {
|
|
48
|
+
min-width: auto;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.bg-success{
|
|
52
|
+
background-color: var(--success-hover-text) !important;
|
|
53
|
+
color: #333 !important;
|
|
54
|
+
}
|
|
55
|
+
.bg-success:hover{
|
|
56
|
+
background-color: var(--success-hover-text) !important;
|
|
57
|
+
color: var(--primary) !important;
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
@@ -35,7 +35,7 @@ const ariaLabel = computed(() => i18n.t('component.drawer.chrome.ariaLabel.close
|
|
|
35
35
|
</div>
|
|
36
36
|
</slot>
|
|
37
37
|
</div>
|
|
38
|
-
<div class="body
|
|
38
|
+
<div class="body">
|
|
39
39
|
<slot name="body" />
|
|
40
40
|
</div>
|
|
41
41
|
<div class="footer pp-4">
|
|
@@ -93,7 +93,7 @@ const ariaLabel = computed(() => i18n.t('component.drawer.chrome.ariaLabel.close
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.body {
|
|
96
|
-
background-color: var(--
|
|
96
|
+
background-color: var(--body-bg);
|
|
97
97
|
flex: 1;
|
|
98
98
|
overflow-y: scroll;
|
|
99
99
|
}
|
|
@@ -16,38 +16,41 @@ const store = useStore();
|
|
|
16
16
|
const i18n = useI18n(store);
|
|
17
17
|
</script>
|
|
18
18
|
<template>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
:initial-value="props.resource"
|
|
33
|
-
:use-tabbed-hash="false /* Have to disable hashing on child components or it modifies the url and closes the drawer */"
|
|
34
|
-
as="config"
|
|
35
|
-
/>
|
|
36
|
-
</div>
|
|
37
|
-
</Tab>
|
|
19
|
+
<div class="container">
|
|
20
|
+
<component
|
|
21
|
+
:is="props.component"
|
|
22
|
+
:value="props.resource"
|
|
23
|
+
:liveValue="props.resource"
|
|
24
|
+
:resourceType="props.resourceType"
|
|
25
|
+
:mode="_VIEW"
|
|
26
|
+
:real-mode="_VIEW"
|
|
27
|
+
:initial-value="props.resource"
|
|
28
|
+
:use-tabbed-hash="false /* Have to disable hashing on child components or it modifies the url and closes the drawer */"
|
|
29
|
+
as="config"
|
|
30
|
+
/>
|
|
31
|
+
</div>
|
|
38
32
|
</template>
|
|
39
33
|
|
|
40
34
|
<style lang="scss" scoped>
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
35
|
+
.container {
|
|
36
|
+
background-color: var(--body-bg);
|
|
37
|
+
border-radius: var(--border-radius-md);
|
|
38
|
+
padding: 20px;
|
|
39
|
+
max-width: 100%;
|
|
40
|
+
width: 100%;
|
|
41
|
+
position: relative;
|
|
42
|
+
// Handle the loading indicator
|
|
43
|
+
:deep() .overlay-content-mode {
|
|
44
|
+
left: 0;
|
|
45
|
+
top: 0;
|
|
49
46
|
}
|
|
50
47
|
|
|
48
|
+
:deep() .cru-resource-footer {
|
|
49
|
+
display: none;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.config-tab {
|
|
53
|
+
|
|
51
54
|
// Handle the loading indicator
|
|
52
55
|
:deep() .overlay-content-mode {
|
|
53
56
|
left: 0;
|