Skip to content

Commit ab807a4

Browse files
committed
[zh-cn] Sync web-ui-dashboard.md
1 parent b448a42 commit ab807a4

File tree

1 file changed

+28
-16
lines changed

1 file changed

+28
-16
lines changed

content/zh-cn/docs/tasks/access-application-cluster/web-ui-dashboard.md

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ card:
66
name: tasks
77
weight: 30
88
title: 使用 Web 界面 Dashboard
9+
description: 部署并访问 Web 界面(Kubernetes 仪表板)。
910
---
1011
<!--
1112
reviewers:
@@ -14,6 +15,8 @@ reviewers:
1415
- shu-mutou
1516
- mikedanese
1617
title: Deploy and Access the Kubernetes Dashboard
18+
description: >-
19+
Deploy the web UI (Kubernetes Dashboard) and access it.
1720
content_type: concept
1821
weight: 10
1922
card:
@@ -57,7 +60,7 @@ The Dashboard UI is not deployed by default. To deploy it, run the following com
5760
默认情况下不会部署 Dashboard。可以通过以下命令部署:
5861

5962
```
60-
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.1/aio/deploy/recommended.yaml
63+
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml
6164
```
6265

6366
<!--
@@ -66,14 +69,14 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.1/a
6669
To protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default.
6770
Currently, Dashboard only supports logging in with a Bearer Token.
6871
To create a token for this demo, you can follow our guide on
69-
[creating a sample user](https://github.com/kubernetes/dashboard/wiki/Creating-sample-user).
72+
[creating a sample user](https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md).
7073
-->
7174
## 访问 Dashboard 用户界面
7275

7376
为了保护你的集群数据,默认情况下,Dashboard 会使用最少的 RBAC 配置进行部署。
7477
当前,Dashboard 仅支持使用 Bearer 令牌登录。
7578
要为此样本演示创建令牌,你可以按照
76-
[创建示例用户](https://github.com/kubernetes/dashboard/wiki/Creating-sample-user)
79+
[创建示例用户](https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md)
7780
上的指南进行操作。
7881

7982
<!--
@@ -291,7 +294,7 @@ If needed, you can expand the **Advanced options** section where you can specify
291294

292295
<!--
293296
Dashboard offers all available secrets in a dropdown list, and allows you to create a new secret.
294-
The secret name must follow the DNS domain name syntax, e.g. `new.image-pull.secret`.
297+
The secret name must follow the DNS domain name syntax, for example `new.image-pull.secret`.
295298
The content of a secret must be base64-encoded and specified in a
296299
[`.dockercfg`](/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) file.
297300
The secret name may consist of a maximum of 253 characters.
@@ -310,21 +313,29 @@ If needed, you can expand the **Advanced options** section where you can specify
310313
如果创建失败,则不会使用任何 Secret。
311314

312315
<!--
313-
- **CPU requirement (cores)** and **Memory requirement (MiB)**: You can specify the minimum [resource limits](/docs/tasks/configure-pod-container/limit-range/) for the container. By default, Pods run with unbounded CPU and memory limits.
316+
- **CPU requirement (cores)** and **Memory requirement (MiB)**:
317+
You can specify the minimum [resource limits](/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/)
318+
for the container. By default, Pods run with unbounded CPU and memory limits.
314319
-->
315320
- **CPU 需求(核数)****内存需求(MiB)**:你可以为容器定义最小的
316321
[资源限制](/zh-cn/docs/tasks/administer-cluster/manage-resources/memory-default-namespace/)
317322
默认情况下,Pod 没有 CPU 和内存限制。
318323

319324
<!--
320-
- **Run command** and **Run command arguments**: By default, your containers run the specified Docker image's default [entrypoint command](/docs/user-guide/containers/#containers-and-commands). You can use the command options and arguments to override the default.
325+
- **Run command** and **Run command arguments**:
326+
By default, your containers run the specified Docker image's default
327+
[entrypoint command](/docs/tasks/inject-data-application/define-command-argument-container/).
328+
You can use the command options and arguments to override the default.
321329
-->
322330
- **运行命令****运行命令参数**:默认情况下,你的容器会运行 Docker 镜像的默认
323331
[入口命令](/zh-cn/docs/tasks/inject-data-application/define-command-argument-container/)
324332
你可以使用 command 选项覆盖默认值。
325333

326334
<!--
327-
- **Run as privileged**: This setting determines whether processes in [privileged containers](/docs/user-guide/pods/#privileged-mode-for-pod-containers) are equivalent to processes running as root on the host. Privileged containers can make use of capabilities like manipulating the network stack and accessing devices.
335+
- **Run as privileged**: This setting determines whether processes in
336+
[privileged containers](/docs/concepts/workloads/pods/#privileged-mode-for-containers)
337+
are equivalent to processes running as root on the host.
338+
Privileged containers can make use of capabilities like manipulating the network stack and accessing devices.
328339
-->
329340
- **以特权模式运行**:这个设置决定了在
330341
[特权容器](/zh-cn/docs/concepts/workloads/pods/#privileged-mode-for-containers)
@@ -344,7 +355,7 @@ If needed, you can expand the **Advanced options** section where you can specify
344355
345356
Kubernetes supports declarative configuration.
346357
In this style, all configuration is stored in manifests (YAML or JSON configuration files).
347-
The manifests use the Kubernetes [API](/docs/concepts/overview/kubernetes-api/) resource schemas.
358+
The manifests use Kubernetes [API](/docs/concepts/overview/kubernetes-api/) resource schemas.
348359
-->
349360
### 上传 YAML 或者 JSON 文件
350361

@@ -354,7 +365,7 @@ Kubernetes 支持声明式配置。所有的配置都存储在清单文件
354365

355366
<!--
356367
As an alternative to specifying application details in the deploy wizard,
357-
you can define your application one or more manifests, and upload the files using Dashboard.
368+
you can define your application in one or more manifests, and upload the files using Dashboard.
358369
-->
359370
作为一种替代在部署向导中指定应用详情的方式,你可以在一个或多个清单文件中定义应用,并且使用
360371
Dashboard 上传文件。
@@ -384,7 +395,7 @@ Dashboard shows most Kubernetes object kinds and groups them in a few menu categ
384395
Dashboard 展示大部分 Kubernetes 对象,并将它们分组放在几个菜单类别中。
385396

386397
<!--
387-
#### Admin Overview
398+
#### Admin overview
388399
389400
For cluster and namespace administrators, Dashboard lists Nodes, Namespaces and PersistentVolumes and has detail views for them.
390401
Node list view contains CPU and memory usage metrics aggregated across all Nodes.
@@ -401,21 +412,21 @@ allocated resources, events and pods running on the node.
401412
#### Workloads
402413
403414
Shows all applications running in the selected namespace.
404-
The view lists applications by workload kind (e.g., Deployments, ReplicaSets, Stateful Sets, etc.).
415+
The view lists applications by workload kind (for example: Deployments, ReplicaSets, StatefulSets).
405416
Each workload kind can be viewed separately.
406417
The lists summarize actionable information about the workloads,
407418
such as the number of ready pods for a ReplicaSet or current memory usage for a Pod.
408419
-->
409420
#### 负载
410421

411422
显示选中的名字空间中所有运行的应用。
412-
视图按照负载类型(Deployment、ReplicaSet、StatefulSet)罗列应用,并且每种负载都可以单独查看。
423+
视图按照负载类型(例如:Deployment、ReplicaSet、StatefulSet)罗列应用,并且每种负载都可以单独查看。
413424
列表总结了关于负载的可执行信息,比如一个 ReplicaSet 的就绪状态的 Pod 数量,或者目前一个 Pod 的内存用量。
414425

415426
<!--
416427
Detail views for workloads show status and specification information and
417428
surface relationships between objects.
418-
For example, Pods that Replica Set is controlling or New ReplicaSets and HorizontalPodAutoscalers for Deployments.
429+
For example, Pods that ReplicaSet is controlling or new ReplicaSets and HorizontalPodAutoscalers for Deployments.
419430
-->
420431
工作负载的详情视图展示了对象的状态、详细信息和相互关系。
421432
例如,ReplicaSet 所控制的 Pod,或者 Deployment 所关联的新 ReplicaSet 和
@@ -441,19 +452,20 @@ Storage view shows PersistentVolumeClaim resources which are used by application
441452
存储视图展示持久卷申领(PVC)资源,这些资源被应用程序用来存储数据。
442453

443454
<!--
444-
#### Config Maps and Secrets
455+
#### ConfigMaps and Secrets {#config-maps-and-secrets}
445456
446457
Shows all Kubernetes resources that are used for live configuration of applications running in clusters. The view allows for editing and managing config objects and displays secrets hidden by default.
447458
-->
448-
#### ConfigMap 和 Secret
459+
#### ConfigMap 和 Secret {#config-maps-and-secrets}
449460

450461
展示的所有 Kubernetes 资源是在集群中运行的应用程序的实时配置。
451462
通过这个视图可以编辑和管理配置对象,并显示那些默认隐藏的 Secret。
452463

453464
<!--
454465
#### Logs viewer
455466
456-
Pod lists and detail pages link to logs viewer that is built into Dashboard. The viewer allows for drilling down logs from containers belonging to a single Pod.
467+
Pod lists and detail pages link to a logs viewer that is built into Dashboard.
468+
The viewer allows for drilling down logs from containers belonging to a single Pod.
457469
-->
458470
#### 日志查看器
459471

0 commit comments

Comments
 (0)