Skip to content

Commit f3193b5

Browse files
authored
Merge pull request #45377 from drewhagen/merged-main-dev-1.30
Merge main branch into dev-1.30
2 parents 4b78cec + 71b0563 commit f3193b5

File tree

36 files changed

+1702
-345
lines changed

36 files changed

+1702
-345
lines changed

README-vi.md

Lines changed: 173 additions & 31 deletions
Large diffs are not rendered by default.

content/de/docs/concepts/containers/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
title: "Container"
33
weight: 40
44
description: >
5-
Methoden, um Anwendungen und ihre Abhängigkeiten zu zusammenzufassen.
5+
Methoden, um Anwendungen und ihre Abhängigkeiten zusammenzufassen.
66
---
77

content/de/docs/tutorials/kubernetes-basics/_index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,25 +50,25 @@ <h2>Kubernetes Grundlagen Module</h2>
5050
<div class="row">
5151
<div class="col-md-4">
5252
<div class="thumbnail">
53-
<a href="/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_01.svg?v=1469803628347" alt=""></a>
53+
<a href="/de/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_01.svg?v=1469803628347" alt=""></a>
5454
<div class="caption">
55-
<a href="/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/"><h5>1. Erstellen Sie einen Kubernetes-Cluster</h5></a>
55+
<a href="/de/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/"><h5>1. Erstellen Sie einen Kubernetes-Cluster</h5></a>
5656
</div>
5757
</div>
5858
</div>
5959
<div class="col-md-4">
6060
<div class="thumbnail">
61-
<a href="/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_02.svg?v=1469803628347" alt=""></a>
61+
<a href="/de/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_02.svg?v=1469803628347" alt=""></a>
6262
<div class="caption">
63-
<a href="/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/"><h5>2. Stellen Sie eine App bereit</h5></a>
63+
<a href="/de/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/"><h5>2. Stellen Sie eine App bereit</h5></a>
6464
</div>
6565
</div>
6666
</div>
6767
<div class="col-md-4">
6868
<div class="thumbnail">
69-
<a href="/docs/tutorials/kubernetes-basics/explore/explore-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_03.svg?v=1469803628347" alt=""></a>
69+
<a href="/de/docs/tutorials/kubernetes-basics/explore/explore-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_03.svg?v=1469803628347" alt=""></a>
7070
<div class="caption">
71-
<a href="/docs/tutorials/kubernetes-basics/explore/explore-intro/"><h5>3. Erkunden Sie Ihre App</h5></a>
71+
<a href="/de/docs/tutorials/kubernetes-basics/explore/explore-intro/"><h5>3. Erkunden Sie Ihre App</h5></a>
7272
</div>
7373
</div>
7474
</div>
@@ -78,25 +78,25 @@ <h2>Kubernetes Grundlagen Module</h2>
7878
<div class="row">
7979
<div class="col-md-4">
8080
<div class="thumbnail">
81-
<a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_04.svg?v=1469803628347" alt=""></a>
81+
<a href="/de/docs/tutorials/kubernetes-basics/expose/expose-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_04.svg?v=1469803628347" alt=""></a>
8282
<div class="caption">
83-
<a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/"><h5>4. Machen Sie Ihre App öffentlich zugänglich</h5></a>
83+
<a href="/de/docs/tutorials/kubernetes-basics/expose/expose-intro/"><h5>4. Machen Sie Ihre App öffentlich zugänglich</h5></a>
8484
</div>
8585
</div>
8686
</div>
8787
<div class="col-md-4">
8888
<div class="thumbnail">
89-
<a href="/docs/tutorials/kubernetes-basics/scale/scale-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_05.svg?v=1469803628347" alt=""></a>
89+
<a href="/de/docs/tutorials/kubernetes-basics/scale/scale-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_05.svg?v=1469803628347" alt=""></a>
9090
<div class="caption">
91-
<a href="/docs/tutorials/kubernetes-basics/scale/scale-intro/"><h5>5. Skalieren Sie Ihre App</h5></a>
91+
<a href="/de/docs/tutorials/kubernetes-basics/scale/scale-intro/"><h5>5. Skalieren Sie Ihre App</h5></a>
9292
</div>
9393
</div>
9494
</div>
9595
<div class="col-md-4">
9696
<div class="thumbnail">
97-
<a href="/docs/tutorials/kubernetes-basics/update/update-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_06.svg?v=1469803628347" alt=""></a>
97+
<a href="/de/docs/tutorials/kubernetes-basics/update/update-intro/"><img src="/docs/tutorials/kubernetes-basics/public/images/module_06.svg?v=1469803628347" alt=""></a>
9898
<div class="caption">
99-
<a href="/docs/tutorials/kubernetes-basics/update/update-intro/"><h5>6. Aktualisieren Sie Ihre App</h5></a>
99+
<a href="/de/docs/tutorials/kubernetes-basics/update/update-intro/"><h5>6. Aktualisieren Sie Ihre App</h5></a>
100100
</div>
101101
</div>
102102
</div>
@@ -107,7 +107,7 @@ <h2>Kubernetes Grundlagen Module</h2>
107107

108108
<div class="row">
109109
<div class="col-md-12">
110-
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/" role="button">Starten Sie das Tutorial<span class="btn__next"></span></a>
110+
<a class="btn btn-lg btn-success" href="/de/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/" role="button">Starten Sie das Tutorial<span class="btn__next"></span></a>
111111
</div>
112112
</div>
113113

content/en/docs/concepts/storage/ephemeral-volumes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ particular PersistentVolumeClaim and PersistentVolume.
1818

1919
<!-- body -->
2020

21-
Some application need additional storage but don't care whether that
21+
Some applications need additional storage but don't care whether that
2222
data is stored persistently across restarts. For example, caching
2323
services are often limited by memory size and can move infrequently
2424
used data into storage that is slower than memory with little impact

content/en/docs/concepts/storage/volumes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ To turn off the `vsphereVolume` plugin from being loaded by the controller manag
864864
## Using subPath {#using-subpath}
865865

866866
Sometimes, it is useful to share one volume for multiple uses in a single pod.
867-
The `volumeMounts.subPath` property specifies a sub-path inside the referenced volume
867+
The `volumeMounts[*].subPath` property specifies a sub-path inside the referenced volume
868868
instead of its root.
869869

870870
The following example shows how to configure a Pod with a LAMP stack (Linux Apache MySQL PHP)
@@ -1167,7 +1167,7 @@ Mount propagation allows for sharing volumes mounted by a container to
11671167
other containers in the same pod, or even to other pods on the same node.
11681168

11691169
Mount propagation of a volume is controlled by the `mountPropagation` field
1170-
in `Container.volumeMounts`. Its values are:
1170+
in `containers[*].volumeMounts`. Its values are:
11711171

11721172
* `None` - This volume mount will not receive any subsequent mounts
11731173
that are mounted to this volume or any of its subdirectories by the host.

content/en/docs/setup/best-practices/multiple-zones.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,16 @@ such as Deployment, StatefulSet, or Job.
9595

9696
## Storage access for zones
9797

98-
When persistent volumes are created, the `PersistentVolumeLabel`
99-
[admission controller](/docs/reference/access-authn-authz/admission-controllers/)
100-
automatically adds zone labels to any PersistentVolumes that are linked to a specific
101-
zone. The {{< glossary_tooltip text="scheduler" term_id="kube-scheduler" >}} then ensures,
98+
When persistent volumes are created, Kubernetes automatically adds zone labels
99+
to any PersistentVolumes that are linked to a specific zone.
100+
The {{< glossary_tooltip text="scheduler" term_id="kube-scheduler" >}} then ensures,
102101
through its `NoVolumeZoneConflict` predicate, that pods which claim a given PersistentVolume
103102
are only placed into the same zone as that volume.
104103

104+
Please note that the method of adding zone labels can depend on your
105+
cloud provider and the storage provisioner you’re using. Always refer to the specific
106+
documentation for your environment to ensure correct configuration.
107+
105108
You can specify a {{< glossary_tooltip text="StorageClass" term_id="storage-class" >}}
106109
for PersistentVolumeClaims that specifies the failure domains (zones) that the
107110
storage in that class may use.

content/en/docs/tasks/access-application-cluster/port-forward-access-application-cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ for database debugging.
110110
27017
111111
```
112112

113-
27017 is the TCP port allocated to MongoDB on the internet.
113+
27017 is the official TCP port for MongoDB.
114114

115115
## Forward a local port to a port on the Pod
116116

content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ weight: 270
1515
## {{% heading "prerequisites" %}}
1616

1717
You need to have a Kubernetes cluster, and the kubectl command-line tool must
18-
be configured to communicate with your cluster. It is recommended to run this
19-
task on a cluster with at least two nodes that are not acting as control plane
20-
nodes . If you do not already have a cluster, you can create one by using
18+
be configured to communicate with your cluster. It is recommended to follow this
19+
guide on a cluster with at least two nodes that are not acting as control plane
20+
nodes. If you do not already have a cluster, you can create one by using
2121
[minikube](https://minikube.sigs.k8s.io/docs/tutorials/multi_node/).
2222

2323
<!-- steps -->
@@ -57,7 +57,7 @@ This section covers starting a single-node and multi-node etcd cluster.
5757

5858
### Single-node etcd cluster
5959

60-
Use a single-node etcd cluster only for testing purpose.
60+
Use a single-node etcd cluster only for testing purposes.
6161

6262
1. Run the following:
6363

@@ -144,8 +144,8 @@ ETCDCTL_API=3 etcdctl --endpoints 10.2.0.9:2379 \
144144

145145
### Limiting access of etcd clusters
146146

147-
After configuring secure communication, restrict the access of etcd cluster to
148-
only the Kubernetes API servers. Use TLS authentication to do so.
147+
After configuring secure communication, restrict the access of the etcd cluster to
148+
only the Kubernetes API servers using TLS authentication.
149149

150150
For example, consider key pairs `k8sclient.key` and `k8sclient.cert` that are
151151
trusted by the CA `etcd.ca`. When etcd is configured with `--client-cert-auth`
@@ -160,9 +160,7 @@ flags `--etcd-certfile=k8sclient.cert`, `--etcd-keyfile=k8sclient.key` and
160160
`--etcd-cafile=ca.cert`.
161161

162162
{{< note >}}
163-
etcd authentication is not currently supported by Kubernetes. For more
164-
information, see the related issue
165-
[Support Basic Auth for Etcd v2](https://github.com/kubernetes/kubernetes/issues/23398).
163+
etcd authentication is not planned for Kubernetes.
166164
{{< /note >}}
167165

168166
## Replacing a failed etcd member
@@ -203,9 +201,9 @@ replace it with `member4=http://10.0.0.4`.
203201
etcd.
204202

205203
1. Stop the etcd server on the broken node. It is possible that other
206-
clients besides the Kubernetes API server is causing traffic to etcd
204+
clients besides the Kubernetes API server are causing traffic to etcd
207205
and it is desirable to stop all traffic to prevent writes to the data
208-
dir.
206+
directory.
209207

210208
1. Remove the failed member:
211209

@@ -256,25 +254,25 @@ For more information on cluster reconfiguration, see
256254

257255
## Backing up an etcd cluster
258256

259-
All Kubernetes objects are stored on etcd. Periodically backing up the etcd
257+
All Kubernetes objects are stored in etcd. Periodically backing up the etcd
260258
cluster data is important to recover Kubernetes clusters under disaster
261259
scenarios, such as losing all control plane nodes. The snapshot file contains
262-
all the Kubernetes states and critical information. In order to keep the
260+
all the Kubernetes state and critical information. In order to keep the
263261
sensitive Kubernetes data safe, encrypt the snapshot files.
264262

265263
Backing up an etcd cluster can be accomplished in two ways: etcd built-in
266264
snapshot and volume snapshot.
267265

268266
### Built-in snapshot
269267

270-
etcd supports built-in snapshot. A snapshot may either be taken from a live
268+
etcd supports built-in snapshot. A snapshot may either be created from a live
271269
member with the `etcdctl snapshot save` command or by copying the
272270
`member/snap/db` file from an etcd
273271
[data directory](https://etcd.io/docs/current/op-guide/configuration/#--data-dir)
274-
that is not currently used by an etcd process. Taking the snapshot will
272+
that is not currently used by an etcd process. Creating the snapshot will
275273
not affect the performance of the member.
276274

277-
Below is an example for taking a snapshot of the keyspace served by
275+
Below is an example for creating a snapshot of the keyspace served by
278276
`$ENDPOINT` to the file `snapshot.db`:
279277

280278
```shell
@@ -298,19 +296,19 @@ ETCDCTL_API=3 etcdctl --write-out=table snapshot status snapshot.db
298296
### Volume snapshot
299297

300298
If etcd is running on a storage volume that supports backup, such as Amazon
301-
Elastic Block Store, back up etcd data by taking a snapshot of the storage
299+
Elastic Block Store, back up etcd data by creating a snapshot of the storage
302300
volume.
303301

304302
### Snapshot using etcdctl options
305303

306-
We can also take the snapshot using various options given by etcdctl. For example
304+
We can also create the snapshot using various options given by etcdctl. For example:
307305

308306
```shell
309307
ETCDCTL_API=3 etcdctl -h
310308
```
311309

312-
will list various options available from etcdctl. For example, you can take a snapshot by specifying
313-
the endpoint, certificates etc as shown below:
310+
will list various options available from etcdctl. For example, you can create a snapshot by specifying
311+
the endpoint, certificates and key as shown below:
314312

315313
```shell
316314
ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 \
@@ -324,7 +322,7 @@ where `trusted-ca-file`, `cert-file` and `key-file` can be obtained from the des
324322
Scaling out etcd clusters increases availability by trading off performance.
325323
Scaling does not increase cluster performance nor capability. A general rule
326324
is not to scale out or in etcd clusters. Do not configure any auto scaling
327-
groups for etcd clusters. It is highly recommended to always run a static
325+
groups for etcd clusters. It is strongly recommended to always run a static
328326
five-member etcd cluster for production Kubernetes clusters at any officially
329327
supported scale.
330328

@@ -337,7 +335,7 @@ for information on how to add members into an existing cluster.
337335

338336
etcd supports restoring from snapshots that are taken from an etcd process of
339337
the [major.minor](http://semver.org/) version. Restoring a version from a
340-
different patch version of etcd also is supported. A restore operation is
338+
different patch version of etcd is also supported. A restore operation is
341339
employed to recover the data of a failed cluster.
342340

343341
Before starting the restore operation, a snapshot file must be present. It can
@@ -358,12 +356,12 @@ export ETCDCTL_API=3
358356
etcdctl --data-dir <data-dir-location> snapshot restore snapshot.db
359357
```
360358

361-
If `<data-dir-location>` is the same folder as before, delete it and stop etcd process before restoring the cluster. Else change etcd configuration and restart the etcd process after restoration to make it use the new data directory.
359+
If `<data-dir-location>` is the same folder as before, delete it and stop the etcd process before restoring the cluster. Otherwise, change etcd configuration and restart the etcd process after restoration to have it use the new data directory.
362360

363361
For more information and examples on restoring a cluster from a snapshot file, see
364362
[etcd disaster recovery documentation](https://etcd.io/docs/current/op-guide/recovery/#restoring-a-cluster).
365363

366-
If the access URLs of the restored cluster is changed from the previous
364+
If the access URLs of the restored cluster are changed from the previous
367365
cluster, the Kubernetes API server must be reconfigured accordingly. In this
368366
case, restart Kubernetes API servers with the flag
369367
`--etcd-servers=$NEW_ETCD_CLUSTER` instead of the flag
@@ -408,9 +406,9 @@ For more details on etcd maintenance, please refer to the [etcd maintenance](htt
408406
{{% thirdparty-content single="true" %}}
409407

410408
{{< note >}}
411-
Defragmentation is an expensive operation, so it should be executed as infrequent
409+
Defragmentation is an expensive operation, so it should be executed as infrequently
412410
as possible. On the other hand, it's also necessary to make sure any etcd member
413-
will not run out of the storage quota. The Kubernetes project recommends that when
411+
will not exceed the storage quota. The Kubernetes project recommends that when
414412
you perform defragmentation, you use a tool such as [etcd-defrag](https://github.com/ahrtr/etcd-defrag).
415413

416414
You can also run the defragmentation tool as a Kubernetes CronJob, to make sure that

content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,28 @@ The upgrade workflow at high level is the following:
5454
with the purpose of reconfiguring the cluster is not recommended and can have unexpected results. Follow the steps in
5555
[Reconfiguring a kubeadm cluster](/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure) instead.
5656

57+
### Considerations when upgrading etcd
58+
59+
Because the `kube-apiserver` static pod is running at all times (even if you
60+
have drained the node), when you perform a kubeadm upgrade which includes an
61+
etcd upgrade, in-flight requests to the server will stall while the new etcd
62+
static pod is restarting. As a workaround, it is possible to actively stop the
63+
`kube-apiserver` process a few seconds before starting the `kubeadm upgrade
64+
apply` command. This permits to complete in-flight requests and close existing
65+
connections, and minimizes the consequence of the etcd downtime. This can be
66+
done as follows on control plane nodes:
67+
68+
```shell
69+
killall -s SIGTERM kube-apiserver # trigger a graceful kube-apiserver shutdown
70+
sleep 20 # wait a little bit to permit completing in-flight requests
71+
kubeadm upgrade ... # execute a kubeadm upgrade command
72+
```
73+
5774
<!-- steps -->
5875

5976
## Changing the package repository
6077

61-
If you're using the community-owned package repositories (`pkgs.k8s.io`), you need to
78+
If you're using the community-owned package repositories (`pkgs.k8s.io`), you need to
6279
enable the package repository for the desired Kubernetes minor release. This is explained in
6380
[Changing the Kubernetes package repository](/docs/tasks/administer-cluster/kubeadm/change-package-repository/)
6481
document.
@@ -320,4 +337,4 @@ and post-upgrade manifest file for a certain component, a backup file for it wil
320337
`kubeadm upgrade node` does the following on worker nodes:
321338

322339
- Fetches the kubeadm `ClusterConfiguration` from the cluster.
323-
- Upgrades the kubelet configuration for this node.
340+
- Upgrades the kubelet configuration for this node.

content/es/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
<body>
1111

12-
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
13-
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet">
12+
1413
<script src="https://katacoda.com/embed.js"></script>
1514

1615
<div class="layout" id="top">

0 commit comments

Comments
 (0)