Skip to content

Commit d8f4b5c

Browse files
authored
Merge pull request #28289 from PI-Victor/merged-master-dev-1.22
Merge master into dev-1.22
2 parents 7097e3a + 996ebf5 commit d8f4b5c

File tree

350 files changed

+8328
-8050
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

350 files changed

+8328
-8050
lines changed

README-de.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ Um die Kubernetes-Website lokal laufen zu lassen, empfiehlt es sich, ein speziel
3737

3838
> Wenn Sie die Website lieber lokal ohne Docker ausführen möchten, finden Sie weitere Informationen unter [Website lokal mit Hugo ausführen](#Die-Site-lokal-mit-Hugo-ausführen).
3939
40+
Das benötigte [Docsy Hugo theme](https://github.com/google/docsy#readme) muss als git submodule installiert werden:
41+
42+
```
43+
#Füge das Docsy submodule hinzu
44+
git submodule update --init --recursive --depth 1
45+
```
46+
4047
Wenn Sie Docker [installiert](https://www.docker.com/get-started) haben, erstellen Sie das Docker-Image `kubernetes-hugo` lokal:
4148

4249
```bash
@@ -55,9 +62,18 @@ make container-serve
5562

5663
Hugo-Installationsanweisungen finden Sie in der [offiziellen Hugo-Dokumentation](https://gohugo.io/getting-started/installing/). Stellen Sie sicher, dass Sie die Hugo-Version installieren, die in der Umgebungsvariablen `HUGO_VERSION` in der Datei [`netlify.toml`](netlify.toml#L9) angegeben ist.
5764

65+
Das benötigte [Docsy Hugo theme](https://github.com/google/docsy#readme) muss als git submodule installiert werden:
66+
67+
```
68+
#Füge das Docsy submodule hinzu
69+
git submodule update --init --recursive --depth 1
70+
```
71+
5872
So führen Sie die Site lokal aus, wenn Sie Hugo installiert haben:
5973

6074
```bash
75+
# Installieren der JavaScript Abhängigkeiten
76+
npm ci
6177
make serve
6278
```
6379

README-zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Learn more about SIG Docs Kubernetes community and meetings on the [community pa
174174
175175
You can also reach the maintainers of this project at:
176176
177-
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
177+
- [Slack](https://kubernetes.slack.com/messages/sig-docs) [Get an invite for this Slack](https://slack.k8s.io/)
178178
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
179179
-->
180180
# 参与 SIG Docs 工作
@@ -184,7 +184,7 @@ You can also reach the maintainers of this project at:
184184

185185
你也可以通过以下渠道联系本项目的维护人员:
186186

187-
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
187+
- [Slack](https://kubernetes.slack.com/messages/sig-docs) [加入Slack](https://slack.k8s.io/)
188188
- [邮件列表](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
189189

190190
<!--

content/en/blog/_posts/2019-07-23-get-started-with-kubernetes-using-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Run the following command to have Docker run the application in a container and
120120
```
121121
docker run -p 5001:5000 hello-python
122122
```
123-
Now navigate to http://localhost:5001, and you should see the “Hello form Python!” message.
123+
Now navigate to http://localhost:5001, and you should see the “Hello from Python!” message.
124124

125125
### More info
126126
* [Get started with Docker](https://docs.docker.com/get-started/)
@@ -201,7 +201,7 @@ kubectl get pods
201201
```
202202
<img src="/images/blog/get-started-with-kubernetes-using-python/kubectl-get-pods.png" alt="Pod listing" />
203203

204-
Now navigate to http://localhost:6000, and you should see the “Hello form Python!” message.
204+
Now navigate to http://localhost:6000, and you should see the “Hello from Python!” message.
205205

206206
That’s it! The application is now running in Kubernetes!
207207

content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ message AllocatableResourcesResponse {
253253

254254
`ContainerDevices` do expose the topology information declaring to which NUMA cells the device is affine.
255255
The NUMA cells are identified using a opaque integer ID, which value is consistent to what device
256-
plugins report [when they register themselves to the kubelet](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#device-plugin-integration-with-the-topology-manager).
256+
plugins report [when they register themselves to the kubelet](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#device-plugin-integration-with-the-topology-manager).
257257

258258

259259
The gRPC service is served over a unix socket at `/var/lib/kubelet/pod-resources/kubelet.sock`.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,37 @@
11
---
22
title: "Scheduling, Preemption and Eviction"
33
weight: 90
4+
content_type: concept
45
description: >
56
In Kubernetes, scheduling refers to making sure that Pods are matched to Nodes
67
so that the kubelet can run them. Preemption is the process of terminating
78
Pods with lower Priority so that Pods with higher Priority can schedule on
89
Nodes. Eviction is the process of proactively terminating one or more Pods on
910
resource-starved Nodes.
11+
no_list: true
1012
---
1113

14+
In Kubernetes, scheduling refers to making sure that {{<glossary_tooltip text="Pods" term_id="pod">}}
15+
are matched to {{<glossary_tooltip text="Nodes" term_id="node">}} so that the
16+
{{<glossary_tooltip text="kubelet" term_id="kubelet">}} can run them. Preemption
17+
is the process of terminating Pods with lower {{<glossary_tooltip text="Priority" term_id="pod-priority">}}
18+
so that Pods with higher Priority can schedule on Nodes. Eviction is the process
19+
of terminating one or more Pods on Nodes.
20+
21+
## Scheduling
22+
23+
* [Kubernetes Scheduler](/docs/concepts/scheduling-eviction/kube-scheduler/)
24+
* [Assigning Pods to Nodes](/docs/concepts/scheduling-eviction/assign-pod-node/)
25+
* [Pod Overhead](/docs/concepts/scheduling-eviction/pod-overhead/)
26+
* [Taints and Tolerations](/docs/concepts/scheduling-eviction/taint-and-toleration/)
27+
* [Scheduling Framework](/docs/concepts/scheduling-eviction/scheduling-framework)
28+
* [Scheduler Performance Tuning](/docs/concepts/scheduling-eviction/scheduler-perf-tuning/)
29+
* [Resource Bin Packing for Extended Resources](/docs/concepts/scheduling-eviction/resource-bin-packing/)
30+
31+
## Pod Disruption
32+
33+
{{<glossary_definition term_id="pod-disruption" length="all">}}
34+
35+
* [Pod Priority and Preemption](/docs/concepts/scheduling-eviction/pod-priority-preemption/)
36+
* [Node-pressure Eviction](/docs/concepts/scheduling-eviction/node-pressure-eviction/)
37+
* [API-initiated Eviction](/docs/concepts/scheduling-eviction/api-eviction/)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: API-initiated Eviction
3+
content_type: concept
4+
weight: 70
5+
---
6+
7+
{{< glossary_definition term_id="api-eviction" length="short" >}} </br>
8+
9+
You can request eviction by directly calling the Eviction API
10+
using a client of the kube-apiserver, like the `kubectl drain` command.
11+
This creates an `Eviction` object, which causes the API server to terminate the Pod.
12+
13+
API-initiated evictions respect your configured [`PodDisruptionBudgets`](/docs/tasks/run-application/configure-pdb/)
14+
and [`terminationGracePeriodSeconds`](/docs/concepts/workloads/pods/pod-lifecycle#pod-termination).
15+
16+
## {{% heading "whatsnext" %}}
17+
18+
* Learn about [Node-pressure Eviction](/docs/concepts/scheduling-eviction/node-pressure-eviction/)
19+
* Learn about [Pod Priority and Preemption](/docs/concepts/scheduling-eviction/pod-priority-preemption/)

content/en/docs/concepts/scheduling-eviction/eviction-policy.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

content/en/docs/concepts/scheduling-eviction/kube-scheduler.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,9 @@ one of these at random.
7777
There are two supported ways to configure the filtering and scoring behavior
7878
of the scheduler:
7979

80-
8180
1. [Scheduling Policies](/docs/reference/scheduling/policies) allow you to configure _Predicates_ for filtering and _Priorities_ for scoring.
8281
1. [Scheduling Profiles](/docs/reference/scheduling/config/#profiles) allow you to configure Plugins that implement different scheduling stages, including: `QueueSort`, `Filter`, `Score`, `Bind`, `Reserve`, `Permit`, and others. You can also configure the kube-scheduler to run different profiles.
8382

84-
8583
## {{% heading "whatsnext" %}}
8684

8785
* Read about [scheduler performance tuning](/docs/concepts/scheduling-eviction/scheduler-perf-tuning/)

0 commit comments

Comments
 (0)