You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{< figure src="/images/docs/kubernetes-cluster-architecture.svg" alt="The control plane (kube-apiserver, etcd, kube-controller-manager, kube-scheduler) and several nodes. Each node is running a kubelet and kube-proxy."
35
-
title="Kubernetes cluster components"
36
-
caption="**Note:** This diagram presents an example reference architecture for a Kubernetes cluster. The actual distribution of components can vary based on specific cluster setups and requirements." class="diagram-large" >}}
alt="The control plane (kube-apiserver, etcd, kube-controller-manager, kube-scheduler) and several nodes. Each node is running a kubelet and kube-proxy."
Copy file name to clipboardExpand all lines: content/zh-cn/docs/concepts/cluster-administration/cluster-autoscaling.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ node capacity (CPU, memory, and other node resources) available in your cluster.
65
65
66
66
You can use the [Cluster Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler) to manage the scale of your nodes automatically.
67
67
The cluster autoscaler can integrate with a cloud provider, or with Kubernetes'
Copy file name to clipboardExpand all lines: content/zh-cn/docs/reference/glossary/duration.md
+28-8Lines changed: 28 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,7 @@ id: duration
4
4
date: 2024-10-05
5
5
full_link:
6
6
short_description: >
7
-
以字符串形式指定的时间间隔,格式符合 Go 语言的
8
-
[time.Duration](https://pkg.go.dev/time),
9
-
允许使用秒、分钟和小时等不同单位灵活地指定时间。
7
+
表示时间量的字符串值。
10
8
aka:
11
9
tags:
12
10
- fundamental
@@ -17,15 +15,37 @@ id: duration
17
15
date: 2024-10-05
18
16
full_link:
19
17
short_description: >
20
-
A time interval specified as a string in the format accepted by Go's [time.Duration](https://pkg.go.dev/time), allowing for flexible time specifications using various units like seconds, minutes, and hours.
18
+
A string value representing an amount of time.
21
19
aka:
22
20
tags:
23
21
- fundamental
24
22
-->
25
23
26
24
<!--
27
-
In Kubernetes APIs, a duration must be non-negative and is typically expressed with a suffix.
28
-
For example, `5s` for five seconds or `1m30s` for one minute and thirty seconds.
25
+
A string value representing an amount of time.
29
26
-->
30
-
在 Kubernetes API 中,duration 必须是非负的,通常带有后缀单位。
31
-
例如,`5s` 表示五秒,`1m30s` 表示一分三十秒。
27
+
表示时间量的字符串值。
28
+
29
+
<!--more-->
30
+
31
+
<!--
32
+
The format of a (Kubernetes) duration is based on the
33
+
[`time.Duration`](https://pkg.go.dev/time#Duration) type from the Go programming language.
34
+
-->
35
+
(Kubernetes 中)持续时间的格式基于 Go 编程语言中的 [`time.Duration`](https://pkg.go.dev/time#Duration) 类型。
36
+
37
+
<!--
38
+
In Kubernetes APIs that use durations, the value is expressed as series of a non-negative
39
+
integers combined with a time unit suffix. You can have more than one time quantity and
40
+
the duration is the sum of those time quantities.
41
+
The valid time units are "ns", "µs" (or "us"), "ms", "s", "m", and "h".
42
+
-->
43
+
在使用持续时间的 Kubernetes API 中,该值表示为一系列非负整数与时间单位后缀的组合。
44
+
你可以设置多个时间量,并且持续时间是这些时间量的总和。
45
+
有效的时间单位为 "ns"、"µs"(或 "us")、"ms"、"s"、"m" 和 "h"。
46
+
47
+
<!--
48
+
For example: `5s` represents a duration of five seconds, and `1m30s` represents a duration
0 commit comments