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
* docs: fix broken kubernetes links
Refs: #8530
* docs: adjust href link texts for persistent volume and service account files as deployment file
* docs: fix grammar issues and highlight links for visibility
Co-authored-by: Kevin Martens <[email protected]>
---------
Co-authored-by: Kevin Martens <[email protected]>
Copy file name to clipboardExpand all lines: content/doc/book/installing/_kubernetes.adoc
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ We choose to use the `/data` directory. This directory will contain our Jenkins
43
43
44
44
*We will create a volume which is called jenkins-pv:*
45
45
46
-
. Paste the content from link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkins-01-volume.yaml[https://raw.githubusercontent.com/installing-jenkins-on-kubernetes/jenkins-01-volume.yaml] into a YAML formatted file called `jenkins-01-volume.yaml`.
46
+
. Paste the content from the link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkins-01-volume.yaml[persistent volume file] into a YAML formatted file called `jenkins-01-volume.yaml`.
47
47
. Run the following command to apply the spec:
48
48
+
49
49
[source,bash]
@@ -96,7 +96,7 @@ A RoleBinding may reference any Role in the same namespace.
96
96
Alternatively, a RoleBinding can reference a ClusterRole and bind that ClusterRole to the namespace of the RoleBinding.
97
97
To bind a ClusterRole to all the namespaces in our cluster, we use a ClusterRoleBinding.
98
98
99
-
. Paste the content from link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkins-02-sa.yaml[https://raw.githubusercontent.com/installing-jenkins-on-kubernetes/jenkins-02-sa.yaml] into a YAML formatted file called
99
+
. Paste the content from the link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkins-02-sa.yaml[service account file] into a YAML formatted file called
100
100
`jenkins-02-sa.yaml`.
101
101
+
102
102
. Run the following command to apply the spec:
@@ -282,9 +282,9 @@ The YAML files are easily tracked, edited, and can be reused indefinitely.
282
282
283
283
=== Create Jenkins deployment file
284
284
285
-
Copy the contents link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkinsHelm-03-deployment.yaml[here] into your preferred text editor and create a jenkinsHelm-03-deployment.yaml file in the “jenkins” namespace we created in this link:/doc/book/installing/kubernetes/#create-a-namespace[section] above.
285
+
Copy the contents from link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkins-03-deployment.yaml[this file] into your preferred text editor and create a jenkins-03-deployment.yaml file in the “jenkins” namespace we created in the link:/doc/book/installing/kubernetes/#create-a-namespace[above section].
286
286
287
-
* This link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkinsHelm-03-deployment.yaml[deployment file] is defining a Deployment as indicated by the `kind` field.
287
+
* This link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkins-03-deployment.yaml[deployment file] is defining a Deployment as indicated by the `kind` field.
288
288
* The Deployment specifies a single replica. This ensures one and only one instance
289
289
will be maintained by the Replication Controller in the event of failure.
290
290
* The container image name is `jenkins` and version is a floating tag `lts-jdk21`
@@ -310,7 +310,7 @@ To create the deployment execute:
The command also instructs the system to install Jenkins within the jenkins namespace.
@@ -334,9 +334,9 @@ It allows us to maintain a persistent connection to the pod regardless of the ch
334
334
With a local deployment, this means creating a NodePort service type.
335
335
A NodePort service type exposes a service on a port on each node in the cluster.
336
336
The service is accessed through the Node IP address and the service nodePort.
337
-
A simple service is defined link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkinsHelm-04-service.yaml[here]:
337
+
A simple service is defined link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkins-04-service.yaml[in this file]:
338
338
339
-
* This link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkinsHelm-04-service.yaml[service file] is defining a Service as
339
+
* This link:https://raw.githubusercontent.com/jenkins-infra/jenkins.io/master/content/doc/tutorials/kubernetes/installing-jenkins-on-kubernetes/jenkins-04-service.yaml[service file] is defining a Service as
340
340
indicated by the `kind` field.
341
341
* The Service is of type NodePort. Other options are ClusterIP (only accessible within the cluster) and LoadBalancer (IP address assigned by a cloud provider e.g. AWS Elastic IP).
342
342
* The list of ports specified within the spec is a list of ports exposed by this service.
@@ -348,7 +348,7 @@ To create the service execute:
0 commit comments