dashboard-shell-shell 3.0.5-test.3 → 3.0.5-test.31
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 +156 -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 +23 -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 +356 -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,11 +595,21 @@ assignTo:
|
|
|
593
595
|
workspace: 工作空间
|
|
594
596
|
|
|
595
597
|
stateLabel:
|
|
598
|
+
warning: 警告
|
|
599
|
+
upgrading: 升级中
|
|
600
|
+
Upgrading: 升级中
|
|
601
|
+
Succeeded: 成功
|
|
602
|
+
Pending migration: 待迁移
|
|
603
|
+
Imagepullbackoff: 镜像拉取失败
|
|
604
|
+
VM error: 错误
|
|
605
|
+
Locked: 锁定
|
|
596
606
|
Bound: 已绑定
|
|
597
607
|
Running: 运行中
|
|
598
608
|
Off: 关闭
|
|
599
609
|
Stopped: 关闭
|
|
610
|
+
pending: 准备中
|
|
600
611
|
Pending: 准备中
|
|
612
|
+
failed: 失败
|
|
601
613
|
Failed: 失败
|
|
602
614
|
Paused: 暂停
|
|
603
615
|
Stopping: 停止中
|
|
@@ -671,7 +683,7 @@ buttonLabel:
|
|
|
671
683
|
Errors:
|
|
672
684
|
changePassword:
|
|
673
685
|
Password must be at least 12 characters: 密码至少为12个字符
|
|
674
|
-
invalid current password: 当前的密码输入错误
|
|
686
|
+
"invalid current password": 当前的密码输入错误
|
|
675
687
|
|
|
676
688
|
|
|
677
689
|
asyncButton:
|
|
@@ -2573,7 +2585,7 @@ ingress:
|
|
|
2573
2585
|
required: 目标服务是必填的
|
|
2574
2586
|
warning: "警告:默认后端将全局用于整个集群"
|
|
2575
2587
|
ingressClass:
|
|
2576
|
-
label:
|
|
2588
|
+
label: Ingress类
|
|
2577
2589
|
rules:
|
|
2578
2590
|
addPath: 添加路径
|
|
2579
2591
|
addRule: 添加规则
|
|
@@ -2914,7 +2926,7 @@ logging:
|
|
|
2914
2926
|
default: /run/log/journal
|
|
2915
2927
|
elasticsearch:
|
|
2916
2928
|
host: 主机
|
|
2917
|
-
scheme:
|
|
2929
|
+
scheme: 协议
|
|
2918
2930
|
port: 端口
|
|
2919
2931
|
indexName: 索引名称
|
|
2920
2932
|
user: 用户名
|
|
@@ -3170,7 +3182,7 @@ login:
|
|
|
3170
3182
|
label: 记住用户名
|
|
3171
3183
|
|
|
3172
3184
|
logout:
|
|
3173
|
-
message:
|
|
3185
|
+
message: 正在退出登录...
|
|
3174
3186
|
|
|
3175
3187
|
managementNode:
|
|
3176
3188
|
customName: 自定义名称
|
|
@@ -5527,7 +5539,12 @@ tableHeaders:
|
|
|
5527
5539
|
missingPL: 缺少 PL
|
|
5528
5540
|
memory: 内存
|
|
5529
5541
|
monitored: 已监控
|
|
5542
|
+
request: 资源请求量
|
|
5543
|
+
limit: 资源限制
|
|
5530
5544
|
name: 名称
|
|
5545
|
+
maxunavailable: 最大不可用数
|
|
5546
|
+
minAvailable: 最小可用数
|
|
5547
|
+
alloweddisruptions: 允许中断数
|
|
5531
5548
|
nameDisplay: 显示名称
|
|
5532
5549
|
nameUnlinked: 名称
|
|
5533
5550
|
namespace: 资源组
|
|
@@ -5642,6 +5659,7 @@ tableHeaders:
|
|
|
5642
5659
|
volume: 卷
|
|
5643
5660
|
volumeMode: 卷模式
|
|
5644
5661
|
weight: 权重
|
|
5662
|
+
action: 操作
|
|
5645
5663
|
target:
|
|
5646
5664
|
router:
|
|
5647
5665
|
label: 路由
|
|
@@ -5935,7 +5953,9 @@ workload:
|
|
|
5935
5953
|
exec: 容器内运行的命令以 0 状态退出
|
|
5936
5954
|
image: 容器镜像
|
|
5937
5955
|
imagePullPolicy: 镜像拉取策略
|
|
5938
|
-
imagePullSecrets:
|
|
5956
|
+
imagePullSecrets:
|
|
5957
|
+
label: 镜像拉取密钥
|
|
5958
|
+
tooltip: 必须为 kubernetes.io/dockercfg 或 kubernetes.io/dockerconfigjson 类型
|
|
5939
5959
|
init: 初始化容器
|
|
5940
5960
|
lifecycleHook:
|
|
5941
5961
|
postStart:
|
|
@@ -5963,7 +5983,7 @@ workload:
|
|
|
5963
5983
|
label: 端口
|
|
5964
5984
|
placeholder: 例如:3000
|
|
5965
5985
|
scheme:
|
|
5966
|
-
label:
|
|
5986
|
+
label: 协议
|
|
5967
5987
|
placeholder: 例如:HTTP
|
|
5968
5988
|
httpHeaders:
|
|
5969
5989
|
title: HTTP 头部
|
|
@@ -6014,7 +6034,7 @@ workload:
|
|
|
6014
6034
|
hostPID: 使用主机 PID 资源组
|
|
6015
6035
|
podFsGroup: Pod 文件系统组
|
|
6016
6036
|
privileged:
|
|
6017
|
-
label:
|
|
6037
|
+
label: 特权模式
|
|
6018
6038
|
'false': 否
|
|
6019
6039
|
'true': "是:容器可以完全访问主机"
|
|
6020
6040
|
readOnlyRootFilesystem:
|
|
@@ -6161,7 +6181,7 @@ workload:
|
|
|
6161
6181
|
replicas: 副本数量
|
|
6162
6182
|
showTabs: '显示高级选项'
|
|
6163
6183
|
scheduling:
|
|
6164
|
-
activeDeadlineSeconds: 判定
|
|
6184
|
+
activeDeadlineSeconds: 判定Pod是否活跃的截止时间
|
|
6165
6185
|
activeDeadlineSecondsTip: 系统将 Pod 判定为失败,并终止其关联容器前的等待时长
|
|
6166
6186
|
affinity:
|
|
6167
6187
|
addNodeSelector: 添加节点选择器
|
|
@@ -6331,7 +6351,7 @@ workload:
|
|
|
6331
6351
|
pod: Pod 是你可以在 Kubernetes 中创建和管理的最小可部署计算单元。Pod 是一个或多个容器,具有共享的存储和网络资源以及运行容器的规范。
|
|
6332
6352
|
upgrading:
|
|
6333
6353
|
activeDeadlineSeconds:
|
|
6334
|
-
label: 判定
|
|
6354
|
+
label: 判定Pod是否活跃的截止时间
|
|
6335
6355
|
tip: 系统将 Pod 判定为失败,并终止其关联容器前的等待时长
|
|
6336
6356
|
concurrencyPolicy:
|
|
6337
6357
|
label: 并发
|
|
@@ -6482,7 +6502,7 @@ typeDescription:
|
|
|
6482
6502
|
kubevirt.io.virtualmachine: 云虚拟机是一种安全可靠、弹性可伸缩的云计算服务器,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。
|
|
6483
6503
|
harvesterhci.io.volume: 虚拟磁盘具有高性能和低时延的特点,支持随机读写,可以像使用物理硬盘一样,在虚拟机上进行格式化并建立文件系统来使用块存储。
|
|
6484
6504
|
harvesterhci.io.volumesnapshot: 虚拟磁盘快照功能通过捕获虚拟磁盘在特定时间点的状态,生成增量副本,支持快速回滚磁盘状态,为测试验证、容灾恢复提供高效解决方案
|
|
6485
|
-
harvesterhci.io.virtualmachinebackup:
|
|
6505
|
+
harvesterhci.io.virtualmachinebackup: 虚拟机备份恢复功能通过创建包含磁盘数据、配置信息的完整副本,支持跨环境恢复及长期数据保护,为系统故障或灾难提供可靠容灾方案。
|
|
6486
6506
|
harvesterhci.io.schedulevmbackup: 虚拟机备份策略功能通过创建定时任务,对虚拟机进行完整备份或增量快照,为用户提供自动化的数据备份和容灾方案。
|
|
6487
6507
|
harvesterhci.io.vmsnapshot: 虚拟机快照功能通过捕获特定时间点的系统状态,支持快速恢复虚拟机状态,为数据备份与系统调试提供灵活解决方案。
|
|
6488
6508
|
harvesterhci.io.keypair: SSH密钥对是一种安全便捷的登录认证方式,您可以实现免密码远程登录,并在无需人工干预的情况下进行安全的自动化操作,实现服务器配置和应用程序部署的自动化。
|
|
@@ -6509,7 +6529,34 @@ typeDescription:
|
|
|
6509
6529
|
management.cattle.io.setting: 统一配置平台基础选项与全局设置,支持CA证书、密码规则、域名、Token时效等核心配置。
|
|
6510
6530
|
management.cattle.io.user: 用于管理用户账号,支持创建、维护用户信息,可设置用户权限、管理密码等,保障系统资源仅由授权用户访问,提升系统安全性。
|
|
6511
6531
|
harvesterhci.io.management.cluster: 提供虚拟化集群的实时健康状态监控、版本号管理及资源负载管理,支持批量导入/删除集群、配置调优与权限分级功能,实现高效运维管控。
|
|
6532
|
+
projectsnamespaces: 项目/资源组是用于在集群内实现资源隔离和多租户管理的基本单元。通过项目可以对一组命名空间及相关资源进行统一的权限、配额和策略管理。
|
|
6533
|
+
members: 集群和项目成员管理页面用于配置用户和用户组对资源的访问权限。通过角色绑定(RBAC)来控制成员在集群或项目范围内的操作权限,实现安全的协同管理。
|
|
6534
|
+
event: 事件记录了 Kubernetes 资源(如 Pod、节点等)的状态变化、错误信息和生命周期事件。通过查看事件可以快速诊断应用部署和运行中的问题。
|
|
6535
|
+
autoscaling.horizontalpodautoscaler: HorizontalPodAutoscaler (HPA) 用于根据观察到的 CPU 利用率或其他自定义指标自动调整工作负载的 Pod 副本数量,实现应用的水平自动扩缩容。
|
|
6536
|
+
networking.k8s.io.ingress: Ingress 用于管理对集群内服务的外部访问,提供 HTTP 和 HTTPS 路由规则。通过 Ingress 可以配置负载均衡、SSL 终止和基于名称的虚拟主机等能力。
|
|
6537
|
+
service: Service 用于将一组 Pod 暴露为网络服务,提供稳定的 IP 地址和 DNS 名称,并实现负载均衡。Service 确保您的应用程序在网络中可被发现和可靠访问。
|
|
6538
|
+
storage.k8s.io.storageclass: 存储池页面用于集中管理和配置集群中的持久化存储资源。您可以在此查看存储提供商、创建存储类(StorageClass)并为有状态应用动态提供持久卷(Persistent Volume)。
|
|
6539
|
+
persistentvolume: PersistentVolume (PV) 是集群中的一块持久化存储资源,由管理员预先配置或通过存储类动态供应。PV 为需要持久化数据的应用提供独立于 Pod 生命周期的存储空间。
|
|
6540
|
+
persistentvolumeclaim: 虚拟磁盘是提供给虚拟机使用的持久化存储设备,为虚拟机操作系统和应用数据提供独立的、可扩展的存储空间。虚拟磁盘的生命周期可以与虚拟机解耦,实现数据的持久化保存。
|
|
6541
|
+
configmap: ConfigMap 用于将非机密的配置数据以键值对形式保存,并注入到 Pod 中作为环境变量、命令行参数或配置文件使用。实现应用配置与容器镜像的分离,便于配置管理。
|
|
6542
|
+
secret: Secret 用于存储和管理敏感信息,如密码、OAuth 令牌和 SSH 密钥等。Secret 以加密方式保存数据,并可以安全地挂载到 Pod 中供容器使用,避免敏感信息硬编码。
|
|
6543
|
+
projectsecret: Secret 用于存储和管理敏感信息,如密码、OAuth 令牌和 SSH 密钥等。Secret 以加密方式保存数据,并可以安全地挂载到 Pod 中供容器使用,避免敏感信息硬编码。
|
|
6544
|
+
networking.k8s.io.networkpolicy: 网络策略用于控制 Pod 组之间的网络通信规则,实现 Kubernetes 集群内的网络隔离。通过定义入站和出站规则,可以精确控制 Pod 之间的网络访问权限。
|
|
6545
|
+
limitrange: 限制范围用于在命名空间内限制资源的使用量,包括 Pod 的计算资源(CPU、内存)请求和限制、存储卷大小以及可创建的资源对象数量,防止资源过度消耗。
|
|
6546
|
+
resourcequota: 资源配额用于限制命名空间可以使用的总体资源总量,包括计算资源、存储资源以及可创建的对象数量。它确保命名空间内的资源使用不会超过分配的配额限制。
|
|
6547
|
+
policy.poddisruptionbudget: Pod 中断预算用于限制自愿中断期间同时终止的 Pod 副本数量,确保应用的高可用性。它可以防止在节点维护或集群缩容时导致的应用服务中断。
|
|
6548
|
+
apps.daemonset: DaemonSet 在每个符合条件的节点上仅运行一个 Pod。当新节点添加到集群时,DaemonSet 会自动部署新节点。推荐用于全系统或可垂直扩展,且每个节点永远不需要超过一个 pod 的工作负载。
|
|
6549
|
+
apps.deployment: Deployment 运行分布在符合条件的节点中的可扩展数量的 Pod 副本。变更会逐步推出,并可回滚到之前的版本。推荐用于无状态和水平可扩展的工作负载。
|
|
6550
|
+
apps.statefulset: StatefulSet 管理有状态的应用,并保证创建的 Pod 的顺序和唯一性。推荐用于具有持久化存储或严格身份、法定人数或升级顺序要求的工作负载。
|
|
6551
|
+
batch.cronjob: CronJob 创建 Job,然后按照重复调度来运行 Pod。该调度以标准的 Unix cron 格式表示,并使用 Kubernetes Control Plane 的时区(通常是 UTC)。
|
|
6552
|
+
batch.job: Job 创建一个或多个 Pod。 Job 通过运行 Pod 直到其成功退出,以可靠执行一次性任务。失败的 Pod 会自动被替换,直到达到指定的完成运行次数。Job 还可以并行运行多个 Pod,或作为批处理工作队列。
|
|
6553
|
+
pod: Pod 是你可以在 Kubernetes 中创建和管理的最小可部署计算单元。Pod 是一个或多个容器,具有共享的存储和网络资源以及运行容器的规范。
|
|
6512
6554
|
typeLabel:
|
|
6555
|
+
management.cattle.io.project: |-
|
|
6556
|
+
{count, plural,
|
|
6557
|
+
one { 项目 }
|
|
6558
|
+
other { 项目 }
|
|
6559
|
+
}
|
|
6513
6560
|
management.cattle.io.token: |-
|
|
6514
6561
|
{count, plural,
|
|
6515
6562
|
one { API 密钥 }
|
|
@@ -6753,8 +6800,8 @@ typeLabel:
|
|
|
6753
6800
|
}
|
|
6754
6801
|
autoscaling.horizontalpodautoscaler: |-
|
|
6755
6802
|
{count, plural,
|
|
6756
|
-
one {
|
|
6757
|
-
other {
|
|
6803
|
+
one { HPA }
|
|
6804
|
+
other { HPA }
|
|
6758
6805
|
}
|
|
6759
6806
|
networking.k8s.io.ingress: |-
|
|
6760
6807
|
{count, plural,
|
|
@@ -6861,6 +6908,26 @@ typeLabel:
|
|
|
6861
6908
|
one { 工作负载 }
|
|
6862
6909
|
other { 工作负载 }
|
|
6863
6910
|
}
|
|
6911
|
+
cluster : |-
|
|
6912
|
+
{count, plural,
|
|
6913
|
+
one { 集群 }
|
|
6914
|
+
other { 集群 }
|
|
6915
|
+
}
|
|
6916
|
+
servicediscovery : |-
|
|
6917
|
+
{count, plural,
|
|
6918
|
+
one { 服务发现 }
|
|
6919
|
+
other { 服务发现 }
|
|
6920
|
+
}
|
|
6921
|
+
storage : |-
|
|
6922
|
+
{count, plural,
|
|
6923
|
+
one { 存储 }
|
|
6924
|
+
other { 存储 }
|
|
6925
|
+
}
|
|
6926
|
+
policy : |-
|
|
6927
|
+
{count, plural,
|
|
6928
|
+
one { 策略 }
|
|
6929
|
+
other { 策略 }
|
|
6930
|
+
}
|
|
6864
6931
|
harvesterhci.io.management.cluster: |-
|
|
6865
6932
|
{count, plural,
|
|
6866
6933
|
one { Cloud 集群 }
|
|
@@ -7856,3 +7923,79 @@ gitPicker:
|
|
|
7856
7923
|
networkAttachmentDefinition:
|
|
7857
7924
|
tabs:
|
|
7858
7925
|
config: 配置
|
|
7926
|
+
|
|
7927
|
+
|
|
7928
|
+
component:
|
|
7929
|
+
drawer:
|
|
7930
|
+
chrome:
|
|
7931
|
+
ariaLabel:
|
|
7932
|
+
close: 关闭抽屉
|
|
7933
|
+
close: 关闭
|
|
7934
|
+
resourceDetailDrawer:
|
|
7935
|
+
title: "{resourceName} ({resourceType}) - 配置"
|
|
7936
|
+
editConfig: 编辑配置
|
|
7937
|
+
editYaml: 编辑YAML
|
|
7938
|
+
ariaLabel:
|
|
7939
|
+
editConfig: 编辑配置
|
|
7940
|
+
editYaml: 编辑YAML
|
|
7941
|
+
yamlTab:
|
|
7942
|
+
title: YAML
|
|
7943
|
+
configTab:
|
|
7944
|
+
title: 配置
|
|
7945
|
+
resource:
|
|
7946
|
+
detail:
|
|
7947
|
+
card:
|
|
7948
|
+
resourceUsage:
|
|
7949
|
+
used: Used
|
|
7950
|
+
amount: '{used} of {available}'
|
|
7951
|
+
cpu: CPU
|
|
7952
|
+
memory: Memory
|
|
7953
|
+
pods: Pods
|
|
7954
|
+
resourcesCard:
|
|
7955
|
+
title: 资源
|
|
7956
|
+
rows:
|
|
7957
|
+
services: 服务
|
|
7958
|
+
ingresses: Ingresses
|
|
7959
|
+
referredToBy: 参考
|
|
7960
|
+
refersTo: 引用
|
|
7961
|
+
podsCard:
|
|
7962
|
+
title: Pods
|
|
7963
|
+
ariaResourceName: pods
|
|
7964
|
+
insightsCard:
|
|
7965
|
+
title: Insights
|
|
7966
|
+
rows:
|
|
7967
|
+
conditions: Conditions
|
|
7968
|
+
events: Events
|
|
7969
|
+
scaler:
|
|
7970
|
+
ariaLabel:
|
|
7971
|
+
increase: Increase {resourceName}
|
|
7972
|
+
decrease: Decrease {resourceName}
|
|
7973
|
+
titleBar:
|
|
7974
|
+
showConfiguration: 显示配置
|
|
7975
|
+
ariaLabel:
|
|
7976
|
+
actionMenu: 更多操作
|
|
7977
|
+
showConfiguration: 显示{resource}的整个配置
|
|
7978
|
+
metadata:
|
|
7979
|
+
labelsAndAnnotations: 标签和注释
|
|
7980
|
+
identifyingInformation:
|
|
7981
|
+
createdBy: 创建
|
|
7982
|
+
namespace: 命名空间
|
|
7983
|
+
project: 项目
|
|
7984
|
+
age: 使用时长
|
|
7985
|
+
image: 图片
|
|
7986
|
+
ready: 准备
|
|
7987
|
+
up-to-date: Up-to-date
|
|
7988
|
+
available: 可用
|
|
7989
|
+
serviceAccount: 服务帐户
|
|
7990
|
+
type: 类型
|
|
7991
|
+
certificate: 证书
|
|
7992
|
+
issuer: Issuer
|
|
7993
|
+
expires: 到期
|
|
7994
|
+
workspace: 工作区
|
|
7995
|
+
annotations:
|
|
7996
|
+
title: 注释
|
|
7997
|
+
labels:
|
|
7998
|
+
title: 标签
|
|
7999
|
+
keyValue:
|
|
8000
|
+
noRows: 此资源上没有配置{propertyName}.
|
|
8001
|
+
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
|
}
|