Skip to content

Commit 01ba60f

Browse files
authored
Merge pull request #22376 from pjhwa/link-22372
Fix issue of document link in some documents
2 parents f394cfa + 64f6210 commit 01ba60f

File tree

19 files changed

+70
-97
lines changed

19 files changed

+70
-97
lines changed

content/en/docs/concepts/cluster-administration/monitoring.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ Note that {{< glossary_tooltip term_id="kubelet" text="kubelet" >}} also exposes
4040
If your cluster uses {{< glossary_tooltip term_id="rbac" text="RBAC" >}}, reading metrics requires authorization via a user, group or ServiceAccount with a ClusterRole that allows accessing `/metrics`.
4141
For example:
4242
```
43-
apiVersion: rbac.authorization.k8s.io/v1
44-
kind: ClusterRole
45-
metadata:
46-
name: prometheus
47-
rules:
48-
- nonResourceURLs:
49-
- "/metrics"
50-
verbs:
43+
apiVersion: rbac.authorization.k8s.io/v1
44+
kind: ClusterRole
45+
metadata:
46+
name: prometheus
47+
rules:
48+
- nonResourceURLs:
49+
- "/metrics"
50+
verbs:
5151
- get
5252
```
5353

@@ -130,5 +130,4 @@ cloudprovider_gce_api_request_duration_seconds { request = "list_disk"}
130130

131131
* Read about the [Prometheus text format](https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md#text-based-format) for metrics
132132
* See the list of [stable Kubernetes metrics](https://github.com/kubernetes/kubernetes/blob/master/test/instrumentation/testdata/stable-metrics-list.yaml)
133-
* Read about the [Kubernetes deprecation policy](https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecating-a-feature-or-behavior )
134-
133+
* Read about the [Kubernetes deprecation policy](/docs/reference/using-api/deprecation-policy/#deprecating-a-feature-or-behavior)

content/en/docs/concepts/configuration/manage-resources-containers.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ locally-attached writeable devices or, sometimes, by RAM.
227227

228228
Pods use ephemeral local storage for scratch space, caching, and for logs.
229229
The kubelet can provide scratch space to Pods using local ephemeral storage to
230-
mount [`emptyDir`](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
230+
mount [`emptyDir`](/docs/concepts/storage/volumes/#emptydir)
231231
{{< glossary_tooltip term_id="volume" text="volumes" >}} into containers.
232232

233233
The kubelet also uses this kind of storage to hold
@@ -758,5 +758,3 @@ You can see that the Container was terminated because of `reason:OOM Killed`, wh
758758
* Read the [ResourceRequirements](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#resourcerequirements-v1-core) API reference
759759

760760
* Read about [project quotas](http://xfs.org/docs/xfsdocs-xml-dev/XFS_User_Guide/tmp/en-US/html/xfs-quotas.html) in XFS
761-
762-

content/en/docs/concepts/configuration/pod-overhead.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ spec:
8787
memory: 100Mi
8888
```
8989

90-
At admission time the RuntimeClass [admission controller](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/)
90+
At admission time the RuntimeClass [admission controller](/docs/reference/access-authn-authz/admission-controllers/)
9191
updates the workload's PodSpec to include the `overhead` as described in the RuntimeClass. If the PodSpec already has this field defined,
9292
the Pod will be rejected. In the given example, since only the RuntimeClass name is specified, the admission controller mutates the Pod
9393
to include an `overhead`.
@@ -195,5 +195,3 @@ from source in the meantime.
195195

196196
* [RuntimeClass](/docs/concepts/containers/runtime-class/)
197197
* [PodOverhead Design](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20190226-pod-overhead.md)
198-
199-

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ page will help you learn about scheduling.
2828

2929
## kube-scheduler
3030

31-
[kube-scheduler](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/)
31+
[kube-scheduler](/docs/reference/command-line-tools-reference/kube-scheduler/)
3232
is the default scheduler for Kubernetes and runs as part of the
3333
{{< glossary_tooltip text="control plane" term_id="control-plane" >}}.
3434
kube-scheduler is designed so that, if you want and need to, you can
@@ -95,4 +95,3 @@ of the scheduler:
9595
* Learn about [configuring multiple schedulers](/docs/tasks/administer-cluster/configure-multiple-schedulers/)
9696
* Learn about [topology management policies](/docs/tasks/administer-cluster/topology-manager/)
9797
* Learn about [Pod Overhead](/docs/concepts/configuration/pod-overhead/)
98-

content/en/docs/contribute/style/content-guide.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ weight: 10
99

1010
This page contains guidelines for Kubernetes documentation.
1111

12-
If you have questions about what's allowed, join the #sig-docs channel in
13-
[Kubernetes Slack](http://slack.k8s.io/) and ask!
12+
If you have questions about what's allowed, join the #sig-docs channel in
13+
[Kubernetes Slack](http://slack.k8s.io/) and ask!
1414

15-
You can register for Kubernetes Slack at http://slack.k8s.io/.
15+
You can register for Kubernetes Slack at http://slack.k8s.io/.
1616

1717
For information on creating new content for the Kubernetes
1818
docs, follow the [style guide](/docs/contribute/style/style-guide).
@@ -28,7 +28,7 @@ Source for the Kubernetes website, including the docs, resides in the
2828

2929
Located in the `kubernetes/website/content/<language_code>/docs` folder, the
3030
majority of Kubernetes documentation is specific to the [Kubernetes
31-
project](https://github.com/kubernetes/kubernetes).
31+
project](https://github.com/kubernetes/kubernetes).
3232

3333
## What's allowed
3434

@@ -41,12 +41,12 @@ Kubernetes docs allow content for third-party projects only when:
4141
### Third party content
4242

4343
Kubernetes documentation includes applied examples of projects in the Kubernetes project&mdash;projects that live in the [kubernetes](https://github.com/kubernetes) and
44-
[kubernetes-sigs](https://github.com/kubernetes-sigs) GitHub organizations.
44+
[kubernetes-sigs](https://github.com/kubernetes-sigs) GitHub organizations.
4545

46-
Links to active content in the Kubernetes project are always allowed.
46+
Links to active content in the Kubernetes project are always allowed.
4747

48-
Kubernetes requires some third party content to function. Examples include container runtimes (containerd, CRI-O, Docker),
49-
[networking policy](/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/) (CNI plugins), [Ingress controllers](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/), and [logging](https://kubernetes.io/docs/concepts/cluster-administration/logging/).
48+
Kubernetes requires some third party content to function. Examples include container runtimes (containerd, CRI-O, Docker),
49+
[networking policy](/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/) (CNI plugins), [Ingress controllers](/docs/concepts/services-networking/ingress-controllers/), and [logging](/docs/concepts/cluster-administration/logging/).
5050

5151
Docs can link to third-party open source software (OSS) outside the Kubernetes project only if it's necessary for Kubernetes to function.
5252

@@ -60,7 +60,7 @@ and grows stale more quickly.
6060

6161
{{< note >}}
6262

63-
If you're a maintainer for a Kubernetes project and need help hosting your own docs,
63+
If you're a maintainer for a Kubernetes project and need help hosting your own docs,
6464
ask for help in [#sig-docs on Kubernetes Slack](https://kubernetes.slack.com/messages/C1J0BPD2M/).
6565

6666
{{< /note >}}
@@ -75,5 +75,3 @@ If you have questions about allowed content, join the [Kubernetes Slack](http://
7575

7676

7777
* Read the [Style guide](/docs/contribute/style/style-guide).
78-
79-

content/en/docs/reference/access-authn-authz/certificate-signing-requests.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,10 +416,8 @@ signed certificate.
416416
## {{% heading "whatsnext" %}}
417417

418418

419-
* Read [Manage TLS Certificates in a Cluster](https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/)
419+
* Read [Manage TLS Certificates in a Cluster](/docs/tasks/tls/managing-tls-in-a-cluster/)
420420
* View the source code for the kube-controller-manager built in [signer](https://github.com/kubernetes/kubernetes/blob/32ec6c212ec9415f604ffc1f4c1f29b782968ff1/pkg/controller/certificates/signer/cfssl_signer.go)
421421
* View the source code for the kube-controller-manager built in [approver](https://github.com/kubernetes/kubernetes/blob/32ec6c212ec9415f604ffc1f4c1f29b782968ff1/pkg/controller/certificates/approver/sarapprove.go)
422422
* For details of X.509 itself, refer to [RFC 5280](https://tools.ietf.org/html/rfc5280#section-3.1) section 3.1
423423
* For information on the syntax of PKCS#10 certificate signing requests, refer to [RFC 2986](https://tools.ietf.org/html/rfc2986)
424-
425-

content/en/docs/reference/command-line-tools-reference/kube-scheduler.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and capacity. The scheduler needs to take into account individual and collective
1414
resource requirements, quality of service requirements, hardware/software/policy
1515
constraints, affinity and anti-affinity specifications, data locality, inter-workload
1616
interference, deadlines, and so on. Workload-specific requirements will be exposed
17-
through the API as necessary. See [scheduling](https://kubernetes.io/docs/concepts/scheduling-eviction/)
17+
through the API as necessary. See [scheduling](/docs/concepts/scheduling-eviction/)
1818
for more information about scheduling and the kube-scheduler component.
1919

2020
```
@@ -511,8 +511,3 @@ kube-scheduler [flags]
511511

512512
</tbody>
513513
</table>
514-
515-
516-
517-
518-

content/en/docs/reference/glossary/volume.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ full_link: /docs/concepts/storage/volumes/
66
short_description: >
77
A directory containing data, accessible to the containers in a pod.
88
9-
aka:
9+
aka:
1010
tags:
1111
- core-object
1212
- fundamental
1313
---
1414
A directory containing data, accessible to the {{< glossary_tooltip text="containers" term_id="container" >}} in a {{< glossary_tooltip term_id="pod" >}}.
1515

16-
<!--more-->
16+
<!--more-->
1717

1818
A Kubernetes volume lives as long as the Pod that encloses it. Consequently, a volume outlives any containers that run within the Pod, and data in the volume is preserved across container restarts.
1919

20-
See [storage](https://kubernetes.io/docs/concepts/storage/) for more information.
20+
See [storage](/docs/concepts/storage/) for more information.

content/en/docs/reference/using-api/api-concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,9 +706,9 @@ Resource versions are strings that identify the server's internal version of an
706706

707707
Clients find resource versions in resources, including the resources in watch events, and list responses returned from the server:
708708

709-
[v1.meta/ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#objectmeta-v1-meta) - The `metadata.resourceVersion` of a resource instance identifies the resource version the instance was last modified at.
709+
[v1.meta/ObjectMeta](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#objectmeta-v1-meta) - The `metadata.resourceVersion` of a resource instance identifies the resource version the instance was last modified at.
710710

711-
[v1.meta/ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#listmeta-v1-meta) - The `metadata.resourceVersion` of a resource collection (i.e. a list response) identifies the resource version at which the list response was constructed.
711+
[v1.meta/ListMeta](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#listmeta-v1-meta) - The `metadata.resourceVersion` of a resource collection (i.e. a list response) identifies the resource version at which the list response was constructed.
712712

713713
### The ResourceVersion Parameter
714714

content/en/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To follow this guide, you need:
4242
You also need to use a version of `kubeadm` that can deploy the version
4343
of Kubernetes that you want to use in your new cluster.
4444

45-
[Kubernetes' version and version skew support policy](https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions) applies to `kubeadm` as well as to Kubernetes overall.
45+
[Kubernetes' version and version skew support policy](/docs/setup/release/version-skew-policy/#supported-versions) applies to `kubeadm` as well as to Kubernetes overall.
4646
Check that policy to learn about what versions of Kubernetes and `kubeadm`
4747
are supported. This page is written for Kubernetes {{< param "version" >}}.
4848

@@ -287,7 +287,7 @@ Several external projects provide Kubernetes Pod networks using CNI, some of whi
287287
support [Network Policy](/docs/concepts/services-networking/networkpolicies/).
288288

289289
See the list of available
290-
[networking and network policy add-ons](https://kubernetes.io/docs/concepts/cluster-administration/addons/#networking-and-network-policy).
290+
[networking and network policy add-ons](/docs/concepts/cluster-administration/addons/#networking-and-network-policy).
291291

292292
You can install a Pod network add-on with the following command on the
293293
control-plane node or a node that has the kubeconfig credentials:
@@ -644,5 +644,3 @@ supports your chosen platform.
644644
## Troubleshooting {#troubleshooting}
645645

646646
If you are running into difficulties with kubeadm, please consult our [troubleshooting docs](/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/).
647-
648-

0 commit comments

Comments
 (0)