@rancher/shell 0.3.1 → 0.3.3

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.
Files changed (49) hide show
  1. package/assets/styles/global/_gauges.scss +1 -1
  2. package/assets/styles/global/_layout.scss +4 -0
  3. package/assets/styles/themes/_dark.scss +1 -0
  4. package/assets/translations/en-us.yaml +6 -1
  5. package/assets/translations/zh-hans.yaml +175 -44
  6. package/components/ActionMenu.vue +28 -7
  7. package/components/DetailTop.vue +14 -1
  8. package/components/ExtensionPanel.vue +42 -0
  9. package/components/IconOrSvg.vue +31 -2
  10. package/components/ResourceDetail/Masthead.vue +16 -3
  11. package/components/ResourceList/index.vue +15 -2
  12. package/components/ResourceTable.vue +3 -1
  13. package/components/SortableTable/THead.vue +6 -9
  14. package/components/SortableTable/filtering.js +1 -1
  15. package/components/SortableTable/selection.js +15 -3
  16. package/components/Tabbed/Tab.vue +1 -1
  17. package/components/form/InputWithSelect.vue +1 -0
  18. package/components/form/ResourceTabs/index.vue +23 -0
  19. package/components/nav/Header.vue +69 -5
  20. package/config/harvester-manager-types.js +1 -0
  21. package/config/product/backup.js +1 -1
  22. package/config/query-params.js +1 -0
  23. package/config/uiplugins.js +3 -3
  24. package/core/plugin-helpers.js +171 -0
  25. package/core/plugin.ts +61 -1
  26. package/core/plugins.js +33 -0
  27. package/core/types.ts +128 -2
  28. package/edit/catalog.cattle.io.clusterrepo.vue +3 -0
  29. package/edit/fleet.cattle.io.gitrepo.vue +12 -3
  30. package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +14 -2
  31. package/edit/provisioning.cattle.io.cluster/__tests__/rke2.test.ts +3 -0
  32. package/edit/provisioning.cattle.io.cluster/import.vue +1 -1
  33. package/edit/provisioning.cattle.io.cluster/rke2.vue +21 -18
  34. package/package.json +2 -1
  35. package/pages/c/_cluster/apps/charts/index.vue +17 -0
  36. package/pages/c/_cluster/explorer/index.vue +39 -0
  37. package/pages/c/_cluster/uiplugins/DeveloperInstallDialog.vue +2 -0
  38. package/pages/c/_cluster/uiplugins/InstallDialog.vue +3 -0
  39. package/pages/c/_cluster/uiplugins/PluginInfoPanel.vue +17 -3
  40. package/pages/c/_cluster/uiplugins/RemoveUIPlugins.vue +2 -0
  41. package/pages/c/_cluster/uiplugins/SetupUIPlugins.vue +1 -0
  42. package/pages/c/_cluster/uiplugins/UninstallDialog.vue +2 -0
  43. package/pages/c/_cluster/uiplugins/index.vue +18 -4
  44. package/plugins/dashboard-store/resource-class.js +16 -1
  45. package/rancher-components/components/Banner/Banner.vue +1 -0
  46. package/store/action-menu.js +4 -3
  47. package/store/prefs.js +19 -12
  48. package/store/type-map.js +26 -0
  49. package/types/shell/index.d.ts +1 -0
@@ -31,7 +31,7 @@
31
31
 
32
32
  .resource-gauges {
33
33
  display: grid;
34
- grid-column-gap: 10px;
34
+ grid-column-gap: 15px;
35
35
  grid-row-gap: 15px;
36
36
  margin-top: 25px;
37
37
 
@@ -39,6 +39,10 @@ HEADER {
39
39
  margin-left: 8px;
40
40
  align-self: center;
41
41
  text-align: right;
42
+
43
+ &.align-start {
44
+ align-self: start;
45
+ }
42
46
  }
43
47
 
44
48
  .role-multi-action {
@@ -54,6 +54,7 @@
54
54
  --header-border : #{$medium};
55
55
  --header-btn-bg : transparent;
56
56
  --header-btn-text : #{$lightest};
57
+ --header-btn-text-hover : #{$lightest};
57
58
  --header-input-text : #{$lightest};
58
59
 
59
60
  // Header, Footer and Consent banner defaults
@@ -817,6 +817,8 @@ catalog:
817
817
  keywords: Keywords
818
818
  errors:
819
819
  clusterToolExists: This chart has a fixed namespace and name. A matching <a href="{url}">application</a> has been found and any changes will be made to it.
820
+ banner:
821
+ legacy: 'PSP Removal: Before upgrading a cluster to Kubernetes 1.25+, please ensure you review your Helm applications for Pod Security Policies and update them accordingly'
820
822
  charts:
821
823
  all: All
822
824
  categories:
@@ -2072,9 +2074,10 @@ fleet:
2072
2074
  empty: The root of the repo is used by default. To use one or more different directories, add them here.
2073
2075
  repo:
2074
2076
  label: Repository URL
2075
- placeholder: 'e.g. https://github.com/rancher/fleet-examples.git'
2077
+ placeholder: e.g. https://github.com/rancher/fleet-examples.git or git@github.com:rancher/fleet-examples.git
2076
2078
  addRepo: Add Repository
2077
2079
  noRepos: No repositories have been added
2080
+ protocolBanner: Enter a valid HTTPS or SSH URL to a git repository.
2078
2081
  add:
2079
2082
  steps:
2080
2083
  repoInfo:
@@ -2983,6 +2986,8 @@ monitoring:
2983
2986
  new: Create default config
2984
2987
  radio:
2985
2988
  label: Config Secret
2989
+ validation:
2990
+ duplicatedReceiverName: A receiver with the name {name} already exists.
2986
2991
  templates:
2987
2992
  keyLabel: File Name
2988
2993
  label: Template Files
@@ -7,6 +7,7 @@ generic:
7
7
  and: ' 和 '
8
8
  back: 返回
9
9
  cancel: 取消
10
+ confirm: 确认
10
11
  clear: 清除
11
12
  clearAll: 清除全部
12
13
  close: 关闭
@@ -28,7 +29,9 @@ generic:
28
29
  always: 总是
29
30
  ifNotPresent: 如果不存在
30
31
  never: 从不
32
+ labels: 标签
31
33
  labelsAndAnnotations: 标签 & 注释
34
+ podSecurityAdmission: Pod 安全准入
32
35
  links: 链接
33
36
  loading: 正在加载&hellip;
34
37
  members: 成员
@@ -358,7 +361,7 @@ authConfig:
358
361
  clientId:
359
362
  label: 客户端 ID
360
363
  clientSecret:
361
- label: 客户端密文
364
+ label: 客户端 Secret
362
365
  form:
363
366
  app:
364
367
  label: 应用名称
@@ -510,17 +513,17 @@ authConfig:
510
513
  updateEndpoint:
511
514
  button: 更新端点
512
515
  banner:
513
- message: '必须更新 Azure AD 身份验证:它使用了 Azure Graph API,该 API 将于 2022 年底弃用。'
516
+ message: '必须更新 Azure AD 身份认证:它使用了 Azure Graph API,该 API 将于 2022 年底弃用。'
514
517
  linkText: '在此处进行更新。'
515
518
  modal:
516
519
  title: 是否确认?此更新是不可逆的。
517
- body: '<p><b>你可能需要进行额外的更改</b>。请确保 Azure AD 应用已将 Directory.Read.All <b>Application</b> 权限添加到 Microsoft Graph。<br> 如果在 Rancher 中配置 Azure AD 身份验证时自定义了端点,这些端点将不会自动更新。</p>'
520
+ body: '<p><b>你可能需要进行额外的更改</b>。请确保 Azure AD 应用已将 Directory.Read.All <b>Application</b> 权限添加到 Microsoft Graph。<br> 如果在 Rancher 中配置 Azure AD 身份认证时自定义了端点,这些端点将不会自动更新。</p>'
518
521
  oidc:
519
522
  oidc: 配置 OIDC 账号
520
523
  keycloakoidc: 配置 Keycloak OIDC 账号
521
524
  rancherUrl: Rancher URL
522
525
  clientId: 客户端 ID
523
- clientSecret: 客户端密文
526
+ clientSecret: 客户端 Secret
524
527
  customEndpoint:
525
528
  label: 端点
526
529
  custom: 指定
@@ -640,7 +643,7 @@ asyncButton:
640
643
  load:
641
644
  action: 加载
642
645
  success: 已加载
643
- waiting: 正在加载…
646
+ waiting: 正在加载&hellip;
644
647
  pause:
645
648
  action: 暂停编排
646
649
  success: 已暂停编排
@@ -1070,7 +1073,7 @@ cis:
1070
1073
  testID: 测试 ID
1071
1074
  testsSkipped: 已跳过的测试
1072
1075
  testsToSkip: 要跳过的测试
1073
- workerProfile: CIS Worker 配置文件
1076
+ workerProfile: CIS 配置文件
1074
1077
 
1075
1078
  cluster:
1076
1079
  addonChart:
@@ -1153,7 +1156,7 @@ cluster:
1153
1156
  clientId:
1154
1157
  label: 客户端 ID
1155
1158
  clientSecret:
1156
- label: 客户端密文
1159
+ label: 客户端 Secret
1157
1160
  environment:
1158
1161
  label: 环境
1159
1162
  subscriptionId:
@@ -1171,6 +1174,14 @@ cluster:
1171
1174
  help: 从 Linode <a href="https://cloud.linode.com/profile/tokens" target="_blank" rel="noopener noreferrer nofollow">API Tokens</a> 粘贴个人访问 Token。
1172
1175
  label: 访问 Token
1173
1176
  placeholder: 你的 Linode API 访问 Token
1177
+ pnap:
1178
+ clientIdentifier:
1179
+ label: 客户端 ID
1180
+ placeholder: 你的客户端 ID
1181
+ clientSecret:
1182
+ help: 来自 <a href="https://bmc.phoenixnap.com/credentials/" target="_blank" rel="nofollow noreferrer noopener">phoenixNAP BMC Portal</a> API 凭证
1183
+ label: 客户端 Secret
1184
+ placeholder: 你的客户端 Secret
1174
1185
  name:
1175
1186
  label: 凭证名称
1176
1187
  placeholder: 此凭证的名称(可选)
@@ -1224,14 +1235,25 @@ cluster:
1224
1235
  </ul>
1225
1236
  点击<a href="https://cloud.google.com/kubernetes-engine/docs/how-to/iam-integration" target="_blank" rel="noopener noreferrer nofollow">此处</a>查看更多角色相关的信息。
1226
1237
  harvester:
1227
- import: 导入的 Harvester
1228
- external: 外部的 Harvester(实验功能)
1229
1238
  namespace: 命名空间
1230
1239
  cpu: CPU
1231
1240
  memory: 内存
1232
1241
  disk: 磁盘
1233
1242
  image: 镜像
1234
- network: 网络
1243
+ network:
1244
+ title: 网络
1245
+ network: 网络
1246
+ addNetwork: 添加网络
1247
+ networkName: 网络
1248
+ macAddress: MAC 地址
1249
+ macFormat: 'MAC 地址格式不正确。'
1250
+ volume:
1251
+ title: 卷
1252
+ volume: 卷
1253
+ imageVolume: 镜像卷
1254
+ addVolume: 添加卷
1255
+ addVMImage: 添加虚拟机镜像
1256
+ storageClass: 存储类
1235
1257
  sshUser: SSH 用户名
1236
1258
  userData:
1237
1259
  label: 用户数据模板
@@ -1242,7 +1264,7 @@ cluster:
1242
1264
  kubeconfigContent:
1243
1265
  label: KubeconfigContent
1244
1266
  placeholder: '命名空间/名称'
1245
- cluster: 集群
1267
+ cluster: 导入的 Harvester 集群
1246
1268
  affinity:
1247
1269
  namespaces:
1248
1270
  placeholder: 例如:default,system,base
@@ -1541,6 +1563,27 @@ cluster:
1541
1563
  httpEndpoint: 允许访问 EC2 元数据
1542
1564
  httpTokens: 为元数据使用 Token
1543
1565
  tagTitle: EC2 标签
1566
+ pnap:
1567
+ serverLocation:
1568
+ label: 位置
1569
+ serverType:
1570
+ label: 类型
1571
+ serverCpu:
1572
+ label: CPU
1573
+ serverCoresPerCpu:
1574
+ label: 每个 CPU 的核心数
1575
+ serverCpuCount:
1576
+ label: CPU 数量
1577
+ serverCpuFrequency:
1578
+ label: CPU 频率 [GHz]
1579
+ serverRam:
1580
+ label: RAM [GB]
1581
+ serverStorage:
1582
+ label: 存储
1583
+ serverNetwork:
1584
+ label: 网络
1585
+ serverOs:
1586
+ label: 操作系统
1544
1587
  addOns:
1545
1588
  dependencyBanner: 附加组件配置可能因 Kubernetes 版本而异。更改 Kubernetes 版本可能会重置以下值。
1546
1589
  additionalManifest:
@@ -1570,6 +1613,10 @@ cluster:
1570
1613
  os: '你正在将 {newOS} worker 节点添加到具有一个或多个 {existingOS} worker 节点的集群。你可能需要升级或删除某些已安装的应用。'
1571
1614
  rke2-k3-reprovisioning: '更改集群配置可能导致节点重新配置。详情请参见 <a target="blank" href="{docsBase}/cluster-provisioning/rke-clusters/behavior-differences-between-rke1-and-rke2/" target="_blank" rel="noopener nofollow">文档</a>。'
1572
1615
  desiredNodeGroupWarning: 没有可用于运行 Cluster Agent 的节点。要让集群变为 Active 状态,至少需要有 1 个可用的节点。
1616
+ invalidPsps: 你在此集群中有一个或多个 PSP 资源。Pod 安全策略将在 Kubernetes v1.25 中不可用。
1617
+ haveArgInfo: 所选 Kubernetes 版本的配置信息不可用。此屏幕中可用的选项将受到限制,你可能需要使用 YAML 编辑器。
1618
+ deprecatedPsp: Pod 安全策略自 Kubernetes v1.21 起已弃用,并已在 Kubernetes v1.25 中删除。
1619
+ removedPsp: Pod 安全策略已在 Kubernetes v1.25 中删除,请改用 PodSecurity Admission。
1573
1620
 
1574
1621
  rkeTemplateUpgrade: 模板修订版 {name} 可用于升级
1575
1622
 
@@ -1732,10 +1779,18 @@ cluster:
1732
1779
  cloudProvider:
1733
1780
  label: 云提供商
1734
1781
  header: 云提供商配置
1782
+ defaultValue:
1783
+ label: 默认 - 嵌入 RKE2
1735
1784
  security:
1736
1785
  header: 安全
1737
1786
  defaultPodSecurityPolicyTemplateName:
1738
1787
  label: 默认 Pod 安全策略
1788
+ option: RKE 默认
1789
+ defaultPodSecurityAdmissionConfigurationTemplateName:
1790
+ label: 默认 Pod 安全准入
1791
+ option: (None)
1792
+ cisProfile:
1793
+ option: (None)
1739
1794
  enableNetworkPolicy:
1740
1795
  label: 项目网络隔离
1741
1796
  warning: 默认情况下,Ingress Controller 无法将请求路由到其他节点上的 Pod。
@@ -1793,7 +1848,7 @@ cluster:
1793
1848
  servicelb: 'Klipper 服务 LB'
1794
1849
  traefik: 'Traefik Ingress'
1795
1850
  selectCredential:
1796
- genericDescription: "{vendor} 没有此驱动的内置支持。请查阅驱动的官方文档,以了解身份验证所需的字段。"
1851
+ genericDescription: "{vendor} 没有此驱动的内置支持。请查阅驱动的官方文档,以了解身份认证所需的字段。"
1797
1852
  snapshot:
1798
1853
  successTitle: 快照已开始
1799
1854
  errorTitle: "快照 {name} 出错"
@@ -2012,9 +2067,9 @@ fleet:
2012
2067
  resources: 资源
2013
2068
  unready: 未就绪
2014
2069
  auth:
2015
- label: 身份验证
2016
- git: Git 身份验证
2017
- helm: Helm 身份验证
2070
+ label: 身份认证
2071
+ git: Git 身份认证
2072
+ helm: Helm 身份认证
2018
2073
  caBundle:
2019
2074
  label: 证书
2020
2075
  placeholder: "粘贴一个或多个证书,以-----BEGIN CERTIFICATE----开始。"
@@ -2202,6 +2257,9 @@ growl:
2202
2257
  reconnected:
2203
2258
  message: "在尝试第 #{tries} 次时恢复了与 {url} 的连接。"
2204
2259
  title: Websocket 已重新连接
2260
+ podSecurity:
2261
+ message: "创建此 Pod 将违反命名空间的现有限制策略"
2262
+ title: PodSecurity 违规
2205
2263
 
2206
2264
  hpa:
2207
2265
  detail:
@@ -2277,6 +2335,7 @@ import:
2277
2335
  }
2278
2336
 
2279
2337
  ingress:
2338
+ description: Ingress 根据请求中指定的主机名和路径将互联网的传入流量路由到集群内的 Service。你可以在同一个外部 IP 地址和端口上公开多个 Service。
2280
2339
  certificates:
2281
2340
  addCertificate: 添加证书
2282
2341
  addHost: 添加主机
@@ -2329,6 +2388,7 @@ ingress:
2329
2388
  placeholder: 例如:example.com
2330
2389
  target:
2331
2390
  label: 目标服务
2391
+ tooltip: 如果此下拉列表中的 Service 均未选择你要公开的 Pod,那么你需要先创建一个选择这些 Pod 的 Service。
2332
2392
  doesntExist: 你选择的服务不存在
2333
2393
  title: 规则
2334
2394
  rulesAndCertificates:
@@ -2482,7 +2542,7 @@ istio:
2482
2542
  simple:
2483
2543
  label: 简单 - 发起到上游端点的 TLS 连接
2484
2544
  mutual:
2485
- label: 双向 - 通过客户端证书进行身份验证,使用双向的 TLS 安全连接到上游
2545
+ label: 双向 - 通过客户端证书进行身份认证,使用双向的 TLS 安全连接到上游
2486
2546
  clientCertificate:
2487
2547
  label: 客户端证书
2488
2548
  placeholder: 例如:/etc/certs/myclientcert.pem
@@ -2525,7 +2585,10 @@ labels:
2525
2585
  addAnnotation: 添加注释
2526
2586
  labels:
2527
2587
  title: 标签
2588
+ description: 键值对,是附加到指定标识属性的对象。
2528
2589
  fleetClusterTooltip: 标签更改应用到管理集群并同步到 Fleet 集群。
2590
+ show: 显示系统标签
2591
+ hide: 隐藏系统标签
2529
2592
  annotations:
2530
2593
  title: 注释
2531
2594
 
@@ -3077,6 +3140,7 @@ monitoring:
3077
3140
  editYaml: 编辑 AlertmanagerConfig
3078
3141
  detail: AlertmanagerConfig 中的接收器
3079
3142
  disabledReceiverButton: 创建 AlertmanagerConfig 后就可以使用接收器
3143
+ error: 保存 AlertmanagerConfig 时出错
3080
3144
  email:
3081
3145
  username: 认证用户名
3082
3146
  password: 具有 Auth 密码的密文
@@ -3410,7 +3474,7 @@ node:
3410
3474
  memoryPressure: 内存压力
3411
3475
  pidPressure: PID 压力
3412
3476
  tab:
3413
- conditions: 条件
3477
+ conditions: 状况
3414
3478
  images: 镜像
3415
3479
  metrics: 指标
3416
3480
  info:
@@ -3796,6 +3860,7 @@ podDisruptionBudget:
3796
3860
  maxUnavailable:
3797
3861
  label: 最大不可用 Pod
3798
3862
 
3863
+
3799
3864
  # Rancher Extensions
3800
3865
  plugins:
3801
3866
  labels:
@@ -3889,6 +3954,27 @@ plugins:
3889
3954
  crd:
3890
3955
  title: 删除 Rancher Extensions CRD
3891
3956
  prompt: 目前已安装了一个或多个扩展 - 如果你后续需要重新启用扩展支持,删除 CRD 后你需要手动重新安装这些扩展。
3957
+ podSecurityAdmission:
3958
+ name: Pod 安全准入
3959
+ description: 定义要用于 Pod 安全的准入控制模式
3960
+ banner:
3961
+ modifications: '注意:在集群更新之前,修改 Pod 安全准入配置模板不会影响任何引用它的下游集群'
3962
+ labels:
3963
+ enforce: 执行
3964
+ audit: 审计
3965
+ warn: 警告
3966
+ usernames: 用户名
3967
+ runtimeClasses: RuntimeClass
3968
+ namespaces: 命名空间
3969
+ privileged: privileged
3970
+ baseline: baseline
3971
+ restricted: restricted
3972
+ version:
3973
+ placeholder: '版本(默认:latest)'
3974
+ exemptions:
3975
+ title: 豁免
3976
+ description: 允许为特定的用户名、RuntimeClassName 和命名空间创建 Pod,否则它们会被上方设置的策略禁止。
3977
+ placeholder: 输入以逗号分隔的 {psaExemptionsControl} 列表
3892
3978
  prefs:
3893
3979
  title: 偏好设置
3894
3980
  theme:
@@ -3934,6 +4020,9 @@ prefs:
3934
4020
  'true': 包括预发布版本
3935
4021
  'false': 只显示正式版本
3936
4022
  label: Helm Chart
4023
+ confirmationSetting:
4024
+ title: 确认设置
4025
+ scalingDownPrompt: 缩减节点池时不要求确认。
3937
4026
 
3938
4027
  principal:
3939
4028
  loading: 正在加载&hellip;
@@ -4118,6 +4207,7 @@ promptRemove:
4118
4207
  deleteAssociatedNamespaces: "同时删除此项目中的命名空间:"
4119
4208
  willDeleteAssociatedNamespaces: "项目中的所有命名空间也都会被删除:"
4120
4209
  confirmRelatedResource: "删除 {type} 将删除这个 {type} 上的所有资源,此过程不可逆。你确定要继续删除 {names} 吗?"
4210
+ promptConfirmation: "缩减时不再提示确认。"
4121
4211
 
4122
4212
  promptRemoveApp:
4123
4213
  removeCrd: "删除与此应用关联的 CRD"
@@ -4267,7 +4357,7 @@ rbac:
4267
4357
  label: 创建 RKE 集群模板
4268
4358
  description: 允许用户创建 RKE 集群模板,并成为该模板的所有者(owner)。
4269
4359
  authn-manage:
4270
- label: 配置身份验证
4360
+ label: 配置身份认证
4271
4361
  description: 允许用户启用、编辑或禁用所有验证提供程序配置。
4272
4362
  catalogs-manage:
4273
4363
  label: 旧版配置应用
@@ -4401,7 +4491,7 @@ resourceTable:
4401
4491
 
4402
4492
  resourceTabs:
4403
4493
  conditions:
4404
- tab: 条件
4494
+ tab: 状况
4405
4495
  events:
4406
4496
  tab: 最近事件
4407
4497
  related:
@@ -4422,7 +4512,7 @@ resourceYaml:
4422
4512
  split: 拆分
4423
4513
 
4424
4514
  secret:
4425
- authentication: 身份验证
4515
+ authentication: 身份认证
4426
4516
  certificate:
4427
4517
  certificate: 证书
4428
4518
  certificatePlaceholder: "粘贴证书,一般以----BEGIN CERTIFICATE----开头"
@@ -4501,7 +4591,7 @@ secret:
4501
4591
  docLink: https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets
4502
4592
 
4503
4593
  selectOrCreateAuthSecret:
4504
- label: 身份验证
4594
+ label: 身份认证
4505
4595
  options:
4506
4596
  none: 无
4507
4597
  basic: HTTP 基础认证
@@ -4520,8 +4610,8 @@ selectOrCreateAuthSecret:
4520
4610
  namespaceGroup: "命名空间:{name}"
4521
4611
  chooseExisting: "选择一个现有的密文:"
4522
4612
  createSsh: 创建 SSH 密钥密文
4523
- createBasic: 创建 HTTP 基本身份验证密文
4524
- createS3: 创建与 S3 兼容的身份验证密文
4613
+ createBasic: 创建 HTTP 基本身份认证密文
4614
+ createS3: 创建与 S3 兼容的身份认证密文
4525
4615
 
4526
4616
  serviceAccount:
4527
4617
  automount: 自动挂载 Service Account 令牌
@@ -4557,6 +4647,9 @@ serviceTypes:
4557
4647
  nodeport: Node Port
4558
4648
 
4559
4649
  servicesPage:
4650
+ serviceListDescription: Service 用于定义一组可以使用单个 IP 地址和端口访问的逻辑 Pod。
4651
+ targetPorts: Service 会向这个端口发送请求,被选中的 Pod 会监听这个端口。
4652
+ listeningPorts: 该 Service 在此端口上公开。
4560
4653
  anyNode: 任何节点
4561
4654
  labelsAnnotations:
4562
4655
  label: 标签 & 注释
@@ -4619,6 +4712,7 @@ servicesPage:
4619
4712
  helpText: ""
4620
4713
  label: 选择器
4621
4714
  matchingPods:
4715
+ description: 选择器的键和值用于匹配现有 Pod 上的标签和值。
4622
4716
  matchesSome: |-
4623
4717
  {matched, plural,
4624
4718
  =0 {与 {total, number} 个 Pod 中的 0 个匹配。如果没有创建选择器,则必须进行手动端点。}
@@ -4628,26 +4722,26 @@ servicesPage:
4628
4722
  serviceTypes:
4629
4723
  clusterIp:
4630
4724
  abbrv: IP
4631
- description: 在集群内网 IP 上公开服务。如果选择此值,服务只能从集群内部访问。这是默认类型。
4725
+ description: 将一组 Pod 暴露给集群中的其他 Pod。此类型的 Service 只能从集群内部访问。这是默认类型。
4632
4726
  label: Cluster IP
4633
4727
  externalName:
4634
4728
  abbrv: EN
4635
- description: "将服务与 `externalName` 字段的内容(如 foo.bar.example.com)进行映射,返回一个带有其值的 CNAME 记录。没有设置任何形式的代理。"
4729
+ description: 创建一个使用 DNS 名称而不是选择器的 Service。这是高级用例。
4636
4730
  label: External Name
4637
4731
  headless:
4638
4732
  abbrv: H
4639
- description: 既没有定义 Cluster IP,也没有定义 Load Balancer。它们是用来对接 Kubernetes 实现之外的其他服务发现机制的。这些服务没有分配的 Cluster IP,kube-proxy 也不处理这些服务。
4733
+ description: 创建没有 Cluster IP Load Balancer Service。这是高级用例。
4640
4734
  label: Headless
4641
4735
  loadBalancer:
4642
4736
  abbrv: LB
4643
- description: 使用云提供商的负载均衡器向外部公开服务。
4737
+ description: 在底层基础设施中创建一个 Load Balancer(例如云提供商的 Load Balancer)并为该 Service 分配一个公共 IP 地址。允许外部客户端使用 Service 定义中指定的公共 IP 地址和端口访问 Service。
4644
4738
  label: Load Balancer
4645
4739
  nodePort:
4646
4740
  abbrv: NP
4647
- description: "在每个节点的 IP 上以静态端口(`NodePort`)公开服务。你可以通过请求`&lt;NodeIP&gt;:&lt;NodePort&gt;`从集群外部联系这种类型的服务。"
4741
+ description: "在每个节点的 IP 上以静态端口公开 Service。"
4648
4742
  label: Node Port
4649
4743
  typeOpts:
4650
- label: 服务类型
4744
+ label: Service 类型
4651
4745
 
4652
4746
  setup:
4653
4747
  currentPassword: Bootstrap 密码
@@ -4991,9 +5085,17 @@ storageClass:
4991
5085
  placeholder: 例如:storageos-secret
4992
5086
  no-provisioner:
4993
5087
  title: 本地存储
4994
- deprecated:
5088
+ deprecated:
4995
5089
  title: (已弃用)
4996
5090
  warning: '{provisioner} 树内插件已弃用。你可以在<a target="_blank" rel="noopener noreferrer nofollow" href="https://kubernetes-csi.github.io/docs/drivers.html">这里</a>查找 CSI 驱动。'
5091
+ harvesterhci:
5092
+ title: Harvester (CSI)
5093
+ warning:
5094
+ unSatisfiesVersion: 请升级 Harvester CSI 驱动版本来使用此功能(csi-driver >= v0.1.15)
5095
+ hostStorageClass:
5096
+ label: 主机存储类
5097
+ placeholder: 主机 Harvester 集群上的存储类名称
5098
+ tooltip: 默认使用主机 Harvester 集群上的默认存储类。
4997
5099
 
4998
5100
  tableHeaders:
4999
5101
  assuredConcurrencyShares: 确保并发份额
@@ -5085,6 +5187,7 @@ tableHeaders:
5085
5187
  lastUpdated: 最后更新时间
5086
5188
  lastSchedule: 最后调度时间
5087
5189
  lastSeen: 最后出现
5190
+ lastSeenTooltip: 最近一次记录此事件的时间
5088
5191
  loggingOutputProviders: 提供商
5089
5192
  machines: 主机
5090
5193
  machineNodeName: 节点
@@ -5260,7 +5363,7 @@ user:
5260
5363
  list:
5261
5364
  errorRefreshingGroupMemberships: 刷新组成员名单时出错
5262
5365
  validation:
5263
- noUpperCase: '{key} 中的字母数字字符必须为小写'
5366
+ noUpperCase: '"{key}" 中的字母数字字符必须为小写'
5264
5367
  arrayLength:
5265
5368
  between: '"{key}" 应该包含 {min} 至 {max} {max, plural, =1 {项} other {项}}'
5266
5369
  exactly: '"{key}" 应该包含 {count, plural, =1 {#项} other {#项}}'
@@ -5277,7 +5380,7 @@ validation:
5277
5380
  custom:
5278
5381
  missing: '{ validatorName } 不存在校验。请检查校验是否存在于自定义校验中,以及名称是否拼写正确。'
5279
5382
  dns:
5280
- doubleHyphen: '{key} 不能包含两个或两个以上连续的连字符"-"'
5383
+ doubleHyphen: '"{key}" 不能包含两个或两个以上连续的连字符"-"'
5281
5384
  hostname:
5282
5385
  empty: '"{key}" 至少包含一个字符'
5283
5386
  emptyLabel: '"{key}" 不能包含两个连续的点“.”'
@@ -5291,7 +5394,7 @@ validation:
5291
5394
  label:
5292
5395
  endDot: '"{key}" 不能以点“.”结束'
5293
5396
  startDot: '"{key}" 不能以点“.”开始'
5294
- emptyLabel: '{key} 不能为空'
5397
+ emptyLabel: '"{key}" 不能为空'
5295
5398
  endHyphen: '"{key}" 不能以连字符“-”结束'
5296
5399
  startHyphen: '"{key}" 不能以连字符“-”开始'
5297
5400
  startNumber: '"{key}" 不能以数字开始'
@@ -5306,12 +5409,12 @@ validation:
5306
5409
  k8s:
5307
5410
  name: 必须由小写字母数字或“-”组成,并且开头和结尾必须是字母数字(例如“my-name”或“123-abc”)。
5308
5411
  identifier:
5309
- emptyLabel: '{key} 不能有空键'
5310
- emptyPrefix: '{key} 不能有空前缀'
5311
- endLetter: '{key} 末位必须是字母或数字'
5312
- startLetter: '{key} 首位必须是字母或数字'
5313
- tooLongKey: '{key} 的长度不能超过{max}个字符'
5314
- tooLongPrefix: '"{key}" 前缀的长度不能超过{max}个字符'
5412
+ emptyLabel: '"{key}" 不能有空键'
5413
+ emptyPrefix: '"{key}" 不能有空前缀'
5414
+ endLetter: '"{key}" 末位必须是字母或数字'
5415
+ startLetter: '"{key}" 首位必须是字母或数字'
5416
+ tooLongKey: '"{key}" 的长度不能超过 {max} 个字符'
5417
+ tooLongPrefix: '"{key}" 前缀的长度不能超过 {max} 个字符'
5315
5418
  minLength: '"{key}" 必须多于 {min} 个字符'
5316
5419
  maxLength: '"{key}" 必须少于 {max} 个字符'
5317
5420
  minValue: '"{key}" 必须多于 {min}'
@@ -5322,6 +5425,8 @@ validation:
5322
5425
  noType: 没有可验证的类型
5323
5426
  number:
5324
5427
  requiredInt: '"{key}" 必须是整数'
5428
+ isPositive: '"{key}" 必须是正数'
5429
+ isOctal: '"{key}" 不能有前导零'
5325
5430
  between: '"{key}" 的长度必须在 {min} 和 {max}之间'
5326
5431
  exactly: '"{key}" 需要设为 {val}'
5327
5432
  max: '"{key}" 最多可以是 {val}'
@@ -5549,7 +5654,11 @@ workload:
5549
5654
  noPorts: 没有配置端口。
5550
5655
  noServiceAccess: 没有创建或管理服务的权限
5551
5656
  ports:
5552
- createService: 服务类型
5657
+ expose: 网络
5658
+ description: '定义一个 Service 来公开容器,或者定义一个非功能性命名的端口,以便知道容器中的应用程序应该在哪里运行。'
5659
+ detailedDescription: 如果选择了 ClusterIP、LoadBalancer 或 NodePort,则会自动创建一个 Service,该 Service 将使用标签来选择此工作负载中的 Pod。
5660
+ toolTip: '如需获取在 Kubernetes 上公开工作负载的帮助,请参阅 Service 相关的 Kubernetes 官方文档。你还可以通过选择标签手动创建 Service 来公开 Pod,并且可以使用 Ingress 将 HTTP 路由映射到 Service。'
5661
+ createService: Service 类型
5553
5662
  noCreateService: 不创建服务
5554
5663
  containerPort: 私有容器端口
5555
5664
  hostIP: 主机 IP
@@ -5572,7 +5681,7 @@ workload:
5572
5681
  hostPID: 使用主机 PID 命名空间
5573
5682
  podFsGroup: Pod 文件系统组
5574
5683
  privileged:
5575
- label: 特权模式
5684
+ label: Privileged
5576
5685
  'false': 否
5577
5686
  'true': "是:容器可以完全访问主机"
5578
5687
  readOnlyRootFilesystem:
@@ -5593,7 +5702,7 @@ workload:
5593
5702
  sysctls: Sysctls
5594
5703
  sysctlsKey: 名称
5595
5704
  standard: 标准容器
5596
- terminationState: "最后状态:以 {lsExitCode}: {lsDescription} 终止,以 {lsStartedAt} 开始,以 {lsFinishedAt} 结束"
5705
+ terminationState: "Last state: Terminated with {lsExitCode}: {lsDescription}, started: {lsStartedAt}, finished: {lsFinishedAt}"
5597
5706
  titles:
5598
5707
  pods: Pod
5599
5708
  container: 容器
@@ -6136,6 +6245,11 @@ typeLabel:
6136
6245
  one { 工作空间 }
6137
6246
  other { 工作空间 }
6138
6247
  }
6248
+ management.cattle.io.podsecurityadmissionconfigurationtemplate: |-
6249
+ {count, plural,
6250
+ one { Pod 安全准入 }
6251
+ other { Pod 安全准入 }
6252
+ }
6139
6253
  policy.poddisruptionbudget: |-
6140
6254
  {count, plural,
6141
6255
  one { Pod 中断预算 }
@@ -6610,7 +6724,7 @@ unit:
6610
6724
  other { 天 }
6611
6725
  }
6612
6726
  workloadPorts:
6613
- addPort: 添加端口
6727
+ addPort: 添加端口或 Service
6614
6728
  remove: 移除
6615
6729
  addHost: 添加主机
6616
6730
 
@@ -6627,6 +6741,19 @@ registryMirror:
6627
6741
  toolTip: 'Mirror 可用来重定向来自一个仓库的镜像请求,使其来自你指定的端点列表。例如,你可以把 docker.io 指向到只和你的内部仓库通信,而不是通过互联网访问实际的 DockerHub。'
6628
6742
  addLabel: 添加 Mirror
6629
6743
  description: Mirror 定义了私有镜像仓库的名称和端点。将会逐个尝试端点,并使用第一个可工作的端点。
6744
+ hostnameLabel: 镜像仓库主机名
6745
+ hostnamePlaceholder: 例如:docker.io 或 *
6746
+ endpointsLabel: Mirror 端点
6747
+ endpointsPlaceholder: 例如:a.registry.com:5000, b.registry.com:5000
6748
+
6749
+ registryMirrorRewrite:
6750
+ header: 重写
6751
+ toolTip: '每个镜像都可以有一组重写。重写可以根据正则表达式来改变镜像的标签。'
6752
+ addLabel: 添加重写配置
6753
+ keyLabel: 重写模式
6754
+ keyPlaceholder: 例如:^rancher/(.*)
6755
+ valueLabel: 重写替换
6756
+ valuePlaceholder: 例如:mirrorproject/rancher-images/$1
6630
6757
 
6631
6758
  registryConfig:
6632
6759
  header: 仓库验证
@@ -6673,7 +6800,7 @@ advancedSettings:
6673
6800
  'auth-user-info-resync-cron': '重新同步验证提供程序组成员的默认 cron 调度。'
6674
6801
  'cluster-template-enforcement': '非管理员只能通过预先批准的 RKE 模板启动集群。'
6675
6802
  'auth-user-session-ttl-minutes': '用户认证会话的自定义 TTL(单位:分钟)。'
6676
- 'auth-token-max-ttl-minutes': '所有身份验证 Token 的最大 TTL(单位:分钟)。如果设置为 0,则 Token 永不过期。'
6803
+ 'auth-token-max-ttl-minutes': '所有身份认证 Token 的最大 TTL(单位:分钟)。如果设置为 0,则 Token 永不过期。'
6677
6804
  'kubeconfig-generate-token': '请求 kubeconfig 时自动为用户生成 Token。'
6678
6805
  'kubeconfig-token-ttl-minutes': '在 CLI 中生成的 Token TTL。已弃用:此设置将被删除,kubeconfig-default-token-ttl-minutes 将用于所有 kubeconfig Token。'
6679
6806
  'kubeconfig-default-token-ttl-minutes': '应用于所有 kubeconfig Token 的 TTL(单位:分钟)。如果设置为 0,则 Token 永不过期。'
@@ -6783,6 +6910,10 @@ performance:
6783
6910
  count:
6784
6911
  inputLabel: 资源阈值
6785
6912
  description: 需要按命名空间过滤的阈值
6913
+ advancedWorker:
6914
+ label: Websocket Web Worker
6915
+ description: 推送到 UI 的资源更新来自 WebSocket,并在 UI 线程中处理。启用此选项可在单独的线程中处理 Web Worker 中的集群 WebSocket 更新。这有助于提高 UI 在资源经常变化的系统中的响应能力。
6916
+ checkboxLabel: 启用高级 Websocket Web Worker
6786
6917
 
6787
6918
  banner:
6788
6919
  label: 固定横幅