Skip to content

Commit 307e090

Browse files
authored
Merge pull request #34069 from jboxman/fixup-listing-blocks
Cleanup listing blocks
2 parents 5a809f5 + a7a2a39 commit 307e090

File tree

53 files changed

+78
-45
lines changed

Some content is hidden

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

53 files changed

+78
-45
lines changed

modules/adding-custom-notification-banners.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ spec:
3030
text: Optional link text
3131
color: '#fff'
3232
backgroundColor: '#0088ce'
33-
3433
----
3534
<1> Valid location settings are `BannerTop`, `BannerBottom`, and `BannerTopBottom`.
3635

modules/builds-strategy-custom-environment-variables.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ customStrategy:
2121
env:
2222
- name: "HTTP_PROXY"
2323
value: "http://myproxy.net:5187/"
24-
2524
----
2625
+
2726
. To manage environment variables defined in the build configuration, enter the following command:

modules/builds-strategy-pipeline-environment-variables.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jenkinsPipelineStrategy:
2626
env:
2727
- name: "FOO"
2828
value: "BAR"
29-
3029
----
3130

3231
You can also manage environment variables defined in the build configuration with the `oc set env` command.

modules/cluster-logging-deploying-about.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Memory and CPU::
2626
You can adjust both the CPU and memory limits for each component by modifying the `resources`
2727
block with valid memory and CPU values:
2828

29+
[source,yaml]
2930
----
3031
spec:
3132
logStore:
@@ -73,6 +74,7 @@ spec:
7374
Elasticsearch storage::
7475
You can configure a persistent storage class and size for the Elasticsearch cluster using the `storageClass` `name` and `size` parameters. The Red Hat OpenShift Logging Operator creates a persistent volume claim (PVC) for each data node in the Elasticsearch cluster based on these parameters.
7576

77+
[source,yaml]
7678
----
7779
spec:
7880
logStore:
@@ -91,6 +93,7 @@ requests "200G" of "gp2" storage. Each primary shard will be backed by a single
9193
====
9294
Omitting the `storage` block results in a deployment that includes ephemeral storage only.
9395
96+
[source,yaml]
9497
----
9598
spec:
9699
logStore:
@@ -135,6 +138,7 @@ You can select which log collector is deployed as a daemon set to each node in t
135138
Curator schedule::
136139
You specify the schedule for Curator in the link:https://en.wikipedia.org/wiki/Cron[cron format].
137140

141+
[source,yaml]
138142
----
139143
spec:
140144
curation:
@@ -150,6 +154,7 @@ You specify the schedule for Curator in the link:https://en.wikipedia.org/wiki/C
150154
The following is an example of a `ClusterLogging` custom resource modified using the options previously described.
151155

152156
.Sample modified `ClusterLogging` custom resource
157+
[source,yaml]
153158
----
154159
apiVersion: "logging.openshift.io/v1"
155160
kind: "ClusterLogging"

modules/cluster-logging-kibana-limits.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ spec:
4343
requests:
4444
cpu: 100m
4545
memory: 100Mi
46-
4746
----
4847
<1> Specify the CPU and memory limits to allocate for each node.
4948
<2> Specify the CPU and memory limits to allocate to the Kibana proxy.

modules/cluster-logging-updating-logging.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ $ oc exec -n openshift-logging -c elasticsearch elasticsearch-cdm-1pbrl44l-1-55b
102102
"status" : "green",
103103
}
104104
...
105-
106105
----
107106

108107
.. Ensure that the Elasticsearch cron jobs are created:

modules/cnf-gathering-data-about-cluster-using-must-gather.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ The Performance Profile Creator (PPC) tool requires `must-gather` data. As a clu
2020
. Run `must-gather` on your cluster:
2121
+
2222
[source,terminal]
23-
2423
----
2524
$ oc adm must-gather --image=<PAO_image> --dest-dir=<dir>
2625
----

modules/cnf-performing-end-to-end-tests-for-platform-verification.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Currently, not all tests run selectively on the nodes belonging to the pool.
8080
== Running the tests
8181
Assuming the `kubeconfig` file is in the current folder, the command for running the test suite is:
8282

83+
[source,terminal]
8384
----
8485
$ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig registry.redhat.io/openshift4/cnf-tests-rhel8:v4.6 /usr/bin/test-run.sh
8586
----
@@ -101,6 +102,7 @@ Additionally, you can set the following environment variables for latency tests:
101102

102103
To perform the latency tests, run the following command:
103104

105+
[source,termina]
104106
----
105107
$ docker run -v $(pwd)/:/kubeconfig -e KUBECONFIG=/kubeconfig/kubeconfig -e LATENCY_TEST_RUN=true -e LATENCY_TEST_RUNTIME=600 -e OSLAT_MAXIMUM_LATENCY=20 registry.redhat.io/openshift4/cnf-tests-rhel8:v4.7 /usr/bin/test-run.sh
106108
----
@@ -117,7 +119,7 @@ You must run the latency test in discovery mode. For more information, see the D
117119
running /0_config.test -ginkgo.focus=Latency
118120
----
119121
.Example output
120-
[source, terminal]
122+
[source,terminal]
121123
----
122124
I1106 15:09:08.087085 7 request.go:621] Throttling request took 1.037172581s, request: GET:https://api.cnf12.kni.lab.eng.bos.redhat.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s
123125
Running Suite: Performance Addon Operator configuration
@@ -191,7 +193,7 @@ You can run only the latency test using the `-ginkgo.focus` parameter.
191193

192194
To run only the latency test, you must provide the `-ginkgo.focus` parameter and the `PERF_TEST_PROFILE` environment variable that contains the name of the performance profile that needs to be tested. For example:
193195

194-
[source, terminal]
196+
[source,terminal]
195197
----
196198
$ docker run --rm -v $KUBECONFIG:/kubeconfig -e KUBECONFIG=/kubeconfig -e LATENCY_TEST_RUN=true -e LATENCY_TEST_RUNTIME=600 -e OSLAT_MAXIMUM_LATENCY=20 -e PERF_TEST_PROFILE=<performance_profile_name> registry.redhat.io/openshift4/cnf-tests-rhel8:v4.7 /usr/bin/test-run.sh -ginkgo.focus="\[performance\]\[config\]|\[performance\]\ Latency\ Test"
197199
----

modules/compliance-anatomy.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ $ oc describe cm/rhcos4-e8-worker-ip-10-0-169-90.eu-north-1.compute.internal-pod
186186
----
187187
<?xml version="1.0" encoding="UTF-8"?>
188188
...
189-
190189
----
191190

192191
Scanner pods for `Platform` scans are similar, except:

modules/dedicated-admin-granting-permissions.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
To grant permissions to other users or groups, you can add, or _bind_, a role to
99
them using the following commands:
1010

11+
[source,terminal]
1112
----
1213
$ oc adm policy add-role-to-user <role> <user_name>
1314
$ oc adm policy add-role-to-group <role> <group_name>

0 commit comments

Comments
 (0)