Skip to content

Commit 07f2247

Browse files
committed
Fix links
This PR fixes some link errors as discovered by the `linkchecker.py` tool.
1 parent 37fe704 commit 07f2247

File tree

12 files changed

+92
-71
lines changed

12 files changed

+92
-71
lines changed

‎content/en/docs/concepts/architecture/mixed-version-proxy.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ To set the network location of a kube-apiserver that peers will use to proxy req
6464
`--peer-advertise-ip` and `--peer-advertise-port` command line arguments to kube-apiserver or specify
6565
these fields in the API server configuration file.
6666
If these flags are unspecified, peers will use the value from either `--advertise-address` or
67-
`--bind-address` command line argument to the kube-apiserver. If those too, are unset, the host's default interface is used.
67+
`--bind-address` command line argument to the kube-apiserver.
68+
If those too, are unset, the host's default interface is used.
6869

6970
## Mixed version proxying
7071

@@ -81,7 +82,8 @@ loads a special filter that does the following:
8182
### How it works under the hood
8283

8384
When an API Server receives a resource request, it first checks which API servers can
84-
serve the requested resource. This check happens using the internal `StorageVersion` API.
85+
serve the requested resource. This check happens using the internal
86+
[`StorageVersion` API](/docs/reference/generated/kubernetes-api/v{{< skew currentVersion >}}/#storageversioncondition-v1alpha1-internal-apiserver-k8s-io).
8587

8688
* If the resource is known to the API server that received the request
8789
(for example, `GET /api/v1/pods/some-pod`), the request is handled locally.
@@ -98,9 +100,11 @@ serve the requested resource. This check happens using the internal `StorageVers
98100
(`api/v1/batch` in this case) using the information in the fetched `StorageVersion` object.
99101
The _handling API server_ then proxies the request to one of the matching peer kube-apiservers
100102
that are aware of the requested resource.
103+
101104
* If there is no peer known for that API group / version / resource, the handling API server
102105
passes the request to its own handler chain which should eventually return a 404 ("Not Found") response.
106+
103107
* If the handling API server has identified and selected a peer API server, but that peer fails
104108
to respond (for reasons such as network connectivity issues, or a data race between the request
105109
being received and a controller registering the peer's info into the control plane), then the handling
106-
API server responds with a 503 (Service Unavailable) error.
110+
API server responds with a 503 ("Service Unavailable") error.

‎content/en/docs/concepts/services-networking/cluster-ip-allocation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ pie showData
144144
## {{% heading "whatsnext" %}}
145145

146146
* Read about [Service External Traffic Policy](/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip)
147-
* Read about [Connecting Applications with Services](/docs/concepts/services-networking/connect-applications-service/)
147+
* Read about [Connecting Applications with Services](/docs/tutorials/services/connect-applications-service/)
148148
* Read about [Services](/docs/concepts/services-networking/service/)
149149

‎content/en/docs/concepts/services-networking/service-traffic-policy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ Kubernetes considers all endpoints.
6363

6464
## {{% heading "whatsnext" %}}
6565

66-
* Read about [Topology Aware Hints](/docs/concepts/services-networking/topology-aware-hints)
66+
* Read about [Topology Aware Routing](/docs/concepts/services-networking/topology-aware-routing)
6767
* Read about [Service External Traffic Policy](/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip)
6868
* Follow the [Connecting Applications with Services](/docs/tutorials/services/connect-applications-service/) tutorial

‎content/en/docs/contribute/localization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ have the exact font used in the original SVG.
401401
5. **Reviewing and testing**: After making the necessary translations and
402402
converting text to curves, save and review the updated SVG image to ensure
403403
the text is properly displayed and aligned. Check
404-
[Preview your changes locally](https://kubernetes.io/docs/contribute/new-content/open-a-pr/#preview-locally).
404+
[Preview your changes locally](/docs/contribute/new-content/open-a-pr/#preview-locally).
405405

406406
### Source files
407407

‎content/en/docs/reference/labels-annotations-taints/_index.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,9 @@ When a StatefulSet controller creates a Pod for the StatefulSet, it sets this la
260260
The value of the label is the ordinal index of the pod being created.
261261

262262
See [Pod Index Label](/docs/concepts/workloads/controllers/statefulset/#pod-index-label)
263-
in the StatefulSet topic for more details. Note the [PodIndexLabel](content/en/docs/reference/command-line-tools-reference/feature-gates.md) feature gate must be enabled
264-
for this label to be added to pods.
263+
in the StatefulSet topic for more details.
264+
Note the [PodIndexLabel](/docs/reference/command-line-tools-reference/feature-gates/)
265+
feature gate must be enabled for this label to be added to pods.
265266

266267
### cluster-autoscaler.kubernetes.io/safe-to-evict
267268

@@ -1100,8 +1101,9 @@ Used on: Pod
11001101
The Job controller in the kube-controller-manager sets this as a label and annotation for Pods
11011102
created with Indexed [completion mode](/docs/concepts/workloads/controllers/job/#completion-mode).
11021103

1103-
Note the [PodIndexLabel](content/en/docs/reference/command-line-tools-reference/feature-gates.md) feature gate must be enabled
1104-
for this to be added as a pod **label**, otherwise it will just be an annotation.
1104+
Note the [PodIndexLabel](/docs/reference/command-line-tools-reference/feature-gates/)
1105+
feature gate must be enabled for this to be added as a pod **label**,
1106+
otherwise it will just be an annotation.
11051107

11061108
### batch.kubernetes.io/cronjob-scheduled-timestamp
11071109

‎content/en/docs/reference/scheduling/config.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ clientConnection:
3232
kubeconfig: /etc/srv/kubernetes/kube-scheduler/kubeconfig
3333
```
3434
35-
{{< note >}}
36-
KubeSchedulerConfiguration [v1beta2](/docs/reference/config-api/kube-scheduler-config.v1beta2/)
37-
is deprecated in v1.25 and will be removed in v1.28.
38-
KubeSchedulerConfiguration [v1beta3](/docs/reference/config-api/kube-scheduler-config.v1beta3/)
39-
is deprecated in v1.26 and will be removed in v1.29.
40-
Please migrate KubeSchedulerConfiguration to [v1](/docs/reference/config-api/kube-scheduler-config.v1/).
41-
{{< /note >}}
35+
{{< note >}}
36+
KubeSchedulerConfiguration [v1beta3](/docs/reference/config-api/kube-scheduler-config.v1beta3/)
37+
is deprecated in v1.26 and will be removed in v1.29.
38+
Please migrate KubeSchedulerConfiguration to [v1](/docs/reference/config-api/kube-scheduler-config.v1/).
39+
{{< /note >}}
40+
4241
## Profiles
4342
4443
A scheduling Profile allows you to configure the different stages of scheduling

‎content/en/docs/reference/setup-tools/kubeadm/kubeadm-init.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ If your configuration is not using the latest version it is **recommended** that
135135
the [kubeadm config migrate](/docs/reference/setup-tools/kubeadm/kubeadm-config/) command.
136136

137137
For more information on the fields and usage of the configuration you can navigate to our
138-
[API reference page](/docs/reference/config-api/kubeadm-config.v1beta3/).
138+
[API reference page](/docs/reference/config-api/kubeadm-config.v1beta4/).
139139

140140
### Using kubeadm init with feature gates {#feature-gates}
141141

@@ -145,7 +145,7 @@ of the cluster. Feature gates are removed after a feature graduates to GA.
145145

146146
To pass a feature gate you can either use the `--feature-gates` flag for
147147
`kubeadm init`, or you can add items into the `featureGates` field when you pass
148-
a [configuration file](/docs/reference/config-api/kubeadm-config.v1beta3/#kubeadm-k8s-io-v1beta3-ClusterConfiguration)
148+
a [configuration file](/docs/reference/config-api/kubeadm-config.v1beta4/#kubeadm-k8s-io-v1beta4-ClusterConfiguration)
149149
using `--config`.
150150

151151
Passing [feature gates for core Kubernetes components](/docs/reference/command-line-tools-reference/feature-gates)
@@ -294,7 +294,8 @@ The following phase command can be used to re-upload the certificates after expi
294294
kubeadm init phase upload-certs --upload-certs --config=SOME_YAML_FILE
295295
```
296296
{{< note >}}
297-
A predefined `certificateKey` can be provided in `InitConfiguration` when passing the [configuration file](https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta3/) with `--config`.
297+
A predefined `certificateKey` can be provided in `InitConfiguration` when passing the
298+
[configuration file](/docs/reference/config-api/kubeadm-config.v1beta4/) with `--config`.
298299
{{< /note >}}
299300

300301
If a predefined certificate key is not passed to `kubeadm init` and

‎content/en/docs/reference/using-api/cel.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ Some Kubernetes resources define an additional runtime cost budget that bounds
323323
the execution of multiple expressions. If the sum total of the cost of
324324
expressions exceed the budget, execution of the expressions will be halted, and
325325
an error will result. For example the validation of a custom resource has a
326-
_per-validation_ runtime cost budget for all [Validation
327-
Rules](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules)
326+
_per-validation_ runtime cost budget for all
327+
[Validation Rules](/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules)
328328
evaluated to validate the custom resource.
329329

330330
### Estimated cost limits

‎content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-certs.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,10 @@ kubeadm certs renew all
167167
```
168168

169169
{{< note >}}
170-
Clusters built with kubeadm often copy the `admin.conf` certificate into `$HOME/.kube/config`, as instructed in [Creating a cluster with kubeadm](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/). On such a system, to update the contents of `$HOME/.kube/config` after renewing the `admin.conf` you must run the following commands:
170+
Clusters built with kubeadm often copy the `admin.conf` certificate into
171+
`$HOME/.kube/config`, as instructed in [Creating a cluster with kubeadm](/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/).
172+
On such a system, to update the contents of `$HOME/.kube/config`
173+
after renewing the `admin.conf`, you must run the following commands:
171174

172175
```shell
173176
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config

‎content/en/docs/tasks/configure-pod-container/static-pod.md

+54-39
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ The Pod names will be suffixed with the node hostname with a leading hyphen.
2727
{{< note >}}
2828
If you are running clustered Kubernetes and are using static
2929
Pods to run a Pod on every node, you should probably be using a
30-
{{< glossary_tooltip text="DaemonSet" term_id="daemonset" >}}
31-
instead.
30+
{{< glossary_tooltip text="DaemonSet" term_id="daemonset" >}} instead.
3231
{{< /note >}}
3332

3433
{{< note >}}
@@ -54,11 +53,14 @@ Instructions for other distributions or Kubernetes installations may vary.
5453

5554
## Create a static pod {#static-pod-creation}
5655

57-
You can configure a static Pod with either a [file system hosted configuration file](/docs/tasks/configure-pod-container/static-pod/#configuration-files) or a [web hosted configuration file](/docs/tasks/configure-pod-container/static-pod/#pods-created-via-http).
56+
You can configure a static Pod with either a
57+
[file system hosted configuration file](/docs/tasks/configure-pod-container/static-pod/#configuration-files)
58+
or a [web hosted configuration file](/docs/tasks/configure-pod-container/static-pod/#pods-created-via-http).
5859

5960
### Filesystem-hosted static Pod manifest {#configuration-files}
6061

61-
Manifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the `staticPodPath: <the directory>` field in the
62+
Manifests are standard Pod definitions in JSON or YAML format in a specific directory.
63+
Use the `staticPodPath: <the directory>` field in the
6264
[kubelet configuration file](/docs/reference/config-api/kubelet-config.v1beta1/),
6365
which periodically scans the directory and creates/deletes static Pods as YAML/JSON files appear/disappear there.
6466
Note that the kubelet will ignore files starting with dots when scanning the specified directory.
@@ -71,38 +73,42 @@ For example, this is how to start a simple web server as a static Pod:
7173
ssh my-node1
7274
```
7375

74-
2. Choose a directory, say `/etc/kubernetes/manifests` and place a web server Pod definition there, for example `/etc/kubernetes/manifests/static-web.yaml`:
76+
1. Choose a directory, say `/etc/kubernetes/manifests` and place a web server
77+
Pod definition there, for example `/etc/kubernetes/manifests/static-web.yaml`:
7578

76-
```shell
77-
# Run this command on the node where kubelet is running
78-
mkdir -p /etc/kubernetes/manifests/
79-
cat <<EOF >/etc/kubernetes/manifests/static-web.yaml
80-
apiVersion: v1
81-
kind: Pod
82-
metadata:
83-
name: static-web
84-
labels:
85-
role: myrole
86-
spec:
87-
containers:
88-
- name: web
89-
image: nginx
90-
ports:
91-
- name: web
92-
containerPort: 80
93-
protocol: TCP
94-
EOF
95-
```
79+
```shell
80+
# Run this command on the node where kubelet is running
81+
mkdir -p /etc/kubernetes/manifests/
82+
cat <<EOF >/etc/kubernetes/manifests/static-web.yaml
83+
apiVersion: v1
84+
kind: Pod
85+
metadata:
86+
name: static-web
87+
labels:
88+
role: myrole
89+
spec:
90+
containers:
91+
- name: web
92+
image: nginx
93+
ports:
94+
- name: web
95+
containerPort: 80
96+
protocol: TCP
97+
EOF
98+
```
9699
97-
3. Configure your kubelet on the node to use this directory by running it with `--pod-manifest-path=/etc/kubernetes/manifests/` argument. On Fedora edit `/etc/kubernetes/kubelet` to include this line:
100+
1. Configure your kubelet on the node to use this directory by running it with
101+
`--pod-manifest-path=/etc/kubernetes/manifests/` argument.
102+
On Fedora, edit `/etc/kubernetes/kubelet` to include this line:
98103
99104
```
100105
KUBELET_ARGS="--cluster-dns=10.254.0.10 --cluster-domain=kube.local --pod-manifest-path=/etc/kubernetes/manifests/"
101106
```
107+
102108
or add the `staticPodPath: <the directory>` field in the
103109
[kubelet configuration file](/docs/reference/config-api/kubelet-config.v1beta1/).
104110
105-
4. Restart the kubelet. On Fedora, you would run:
111+
1. Restart the kubelet. On Fedora, you would run:
106112
107113
```shell
108114
# Run this command on the node where the kubelet is running
@@ -138,18 +144,20 @@ To use this approach:
138144
protocol: TCP
139145
```
140146
141-
2. Configure the kubelet on your selected node to use this web manifest by running it with `--manifest-url=<manifest-url>`. On Fedora, edit `/etc/kubernetes/kubelet` to include this line:
147+
1. Configure the kubelet on your selected node to use this web manifest by
148+
running it with `--manifest-url=<manifest-url>`.
149+
On Fedora, edit `/etc/kubernetes/kubelet` to include this line:
142150
143-
```
144-
KUBELET_ARGS="--cluster-dns=10.254.0.10 --cluster-domain=kube.local --manifest-url=<manifest-url>"
145-
```
151+
```shell
152+
KUBELET_ARGS="--cluster-dns=10.254.0.10 --cluster-domain=kube.local --manifest-url=<manifest-url>"
153+
```
146154
147-
3. Restart the kubelet. On Fedora, you would run:
155+
1. Restart the kubelet. On Fedora, you would run:
148156
149-
```shell
150-
# Run this command on the node where the kubelet is running
151-
systemctl restart kubelet
152-
```
157+
```shell
158+
# Run this command on the node where the kubelet is running
159+
systemctl restart kubelet
160+
```
153161
154162
## Observe static pod behavior {#behavior-of-static-pods}
155163
@@ -186,7 +194,8 @@ static-web 1/1 Running 0 2m
186194
```
187195
188196
{{< note >}}
189-
Make sure the kubelet has permission to create the mirror Pod in the API server. If not, the creation request is rejected by the API server.
197+
Make sure the kubelet has permission to create the mirror Pod in the API server.
198+
If not, the creation request is rejected by the API server.
190199
{{< /note >}}
191200
192201
{{< glossary_tooltip term_id="label" text="Labels" >}} from the static Pod are
@@ -221,6 +230,7 @@ crictl stop 129fd7d382018 # replace with the ID of your container
221230
sleep 20
222231
crictl ps
223232
```
233+
224234
```console
225235
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID
226236
89db4553e1eeb docker.io/library/nginx@sha256:... 19 seconds ago Running web 1 34533c6729106
@@ -231,16 +241,21 @@ Once you identify the right container, you can get the logs for that container w
231241
# Run these commands on the node where the container is running
232242
crictl logs <container_id>
233243
```
244+
234245
```console
235246
10.240.0.48 - - [16/Nov/2022:12:45:49 +0000] "GET / HTTP/1.1" 200 612 "-" "curl/7.47.0" "-"
236247
10.240.0.48 - - [16/Nov/2022:12:45:50 +0000] "GET / HTTP/1.1" 200 612 "-" "curl/7.47.0" "-"
237248
10.240.0.48 - - [16/Nove/2022:12:45:51 +0000] "GET / HTTP/1.1" 200 612 "-" "curl/7.47.0" "-"
238249
```
239-
To find more about how to debug using `crictl`, please visit [_Debugging Kubernetes nodes with crictl_](https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/)
250+
251+
To find more about how to debug using `crictl`, please visit
252+
[_Debugging Kubernetes nodes with crictl_](/docs/tasks/debug/debug-cluster/crictl/).
240253
241254
## Dynamic addition and removal of static pods
242255
243-
The running kubelet periodically scans the configured directory (`/etc/kubernetes/manifests` in our example) for changes and adds/removes Pods as files appear/disappear in this directory.
256+
The running kubelet periodically scans the configured directory
257+
(`/etc/kubernetes/manifests` in our example) for changes and
258+
adds/removes Pods as files appear/disappear in this directory.
244259
245260
```shell
246261
# This assumes you are using filesystem-hosted static Pod configuration

‎content/en/docs/tutorials/security/cluster-level-pss.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ weight: 10
88
This tutorial applies only for new clusters.
99
{{% /alert %}}
1010

11-
Pod Security admission (PSA) is enabled by default in v1.23 and later, as it has
12-
[graduated to beta](/blog/2021/12/09/pod-security-admission-beta/).
13-
Pod Security
14-
is an admission controller that carries out checks against the Kubernetes
11+
Pod Security is an admission controller that carries out checks against the Kubernetes
1512
[Pod Security Standards](/docs/concepts/security/pod-security-standards/) when new pods are
16-
created. This tutorial shows you how to enforce the `baseline` Pod Security
13+
created. It is a feature GA'ed in v1.25.
14+
This tutorial shows you how to enforce the `baseline` Pod Security
1715
Standard at the cluster level which applies a standard configuration
1816
to all namespaces in a cluster.
1917

‎content/en/docs/tutorials/security/ns-level-pss.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ weight: 20
88
This tutorial applies only for new clusters.
99
{{% /alert %}}
1010

11-
Pod Security admission (PSA) is enabled by default in v1.23 and later, as it
12-
[graduated to beta](/blog/2021/12/09/pod-security-admission-beta/). Pod Security Admission
13-
is an admission controller that applies
11+
Pod Security Admission is an admission controller that applies
1412
[Pod Security Standards](/docs/concepts/security/pod-security-standards/)
15-
when pods are created. In this tutorial, you will enforce the `baseline` Pod Security Standard,
13+
when pods are created. It is a feature GA'ed in v1.25.
14+
In this tutorial, you will enforce the `baseline` Pod Security Standard,
1615
one namespace at a time.
1716

1817
You can also apply Pod Security Standards to multiple namespaces at once at the cluster

0 commit comments

Comments
 (0)