Skip to content

Commit dfc030c

Browse files
Merge pull request #142 from infrawatch/jof-1898197-minor-edits
Jof 1898197 minor edits
2 parents e8d5328 + 9996277 commit dfc030c

15 files changed

Lines changed: 62 additions & 57 deletions

doc-Service-Telemetry-Framework/modules/con_architecture.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
[[osp-stf-overview]]
6464
.Service Telemetry Framework architecture overview
65-
image::OpenStack_STF_Overview_37_1019_arch.png[]
65+
image::OpenStack_STF_Overview_37_1019_arch.png[Service Telemetry Framework architecture overview]
6666

6767
ifeval::["{build}" == "downstream"]
6868

@@ -83,7 +83,7 @@ Server-side {ProjectShort} monitoring infrastructure consists of the following l
8383

8484
[[osp-stf-server-side-monitoring]]
8585
.Server-side STF monitoring infrastructure
86-
image::STF_Overview_37_0819_deployment_prereq.png[]
86+
image::STF_Overview_37_0819_deployment_prereq.png[Server-side STF monitoring infrastructure]
8787

8888
For more information about how to deploy {OpenShift}, see the https://access.redhat.com/documentation/en-us/openshift_container_platform/{SupportedOpenShiftVersion}/[{OpenShiftShort} product documentation]. You can install {OpenShiftShort} on cloud platforms or on bare metal.
8989
For more information about {ProjectShort} performance and scaling, see https://access.redhat.com/articles/4907241.

doc-Service-Telemetry-Framework/modules/con_configuring-multiple-clouds.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ You can configure multiple {OpenStack} clouds to target a single instance of {Pr
3131

3232
[[osp-stf-multiple-clouds]]
3333
.Two {OpenStack} clouds connect to {ProjectShort}
34-
image::OpenStack_STF_Overview_37_0919_topology.png[]
34+
image::OpenStack_STF_Overview_37_0919_topology.png[An exmaple of two {OpenStack} clouds connecting to {ProjectShort}]

doc-Service-Telemetry-Framework/modules/proc_configuring-custom-alerts.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You can add custom alerts to the `PrometheusRule` object that you created in xre
3131
+
3232
[source,bash]
3333
----
34-
oc edit prometheusrules prometheus-alarm-rules
34+
$ oc edit prometheusrules prometheus-alarm-rules
3535
----
3636

3737
. Edit the PrometheusRules manifest.
@@ -40,6 +40,6 @@ oc edit prometheusrules prometheus-alarm-rules
4040

4141
.Additional resources
4242

43-
For more information about configuring alerting rules, see https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/.
43+
* For more information about configuring alerting rules, see https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/.
4444

45-
For more information about PrometheusRules objects, see https://github.com/coreos/prometheus-operator/blob/master/Documentation/user-guides/alerting.md
45+
* For more information about PrometheusRules objects, see https://github.com/coreos/prometheus-operator/blob/master/Documentation/user-guides/alerting.md

doc-Service-Telemetry-Framework/modules/proc_configuring-ephemeral-storage.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To configure {ProjectShort} components for ephemeral storage, add `...storage.st
3232
+
3333
[source,bash]
3434
----
35-
oc project service-telemetry
35+
$ oc project service-telemetry
3636
----
3737

3838
. Edit the ServiceTelemetry object:

doc-Service-Telemetry-Framework/modules/proc_configuring-high-availability.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To configure {ProjectShort} for high availability, add `highAvailability.enabled
3232
+
3333
[source,bash]
3434
----
35-
oc project service-telemetry
35+
$ oc project service-telemetry
3636
----
3737

3838
. Use the oc command to edit the ServiceTelemetry object:

doc-Service-Telemetry-Framework/modules/proc_configuring-manifest-overrides.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ The `oc edit` command loads the default system editor. To override the default e
3535
+
3636
[source,bash]
3737
----
38-
oc project service-telemetry
38+
$ oc project service-telemetry
3939
----
4040

4141
. Load the `ServiceTelemetry` object into an editor:
4242
+
4343
[source,bash]
4444
----
45-
oc edit servicetelemetry default
45+
$ oc edit servicetelemetry default
4646
----
4747

4848
. To modify the `ServiceTelemetry` object, provide a manifest override parameter and the contents of the manifest to write to {OpenShiftShort} instead of the defaults provided by {ProjectShort}.

doc-Service-Telemetry-Framework/modules/proc_creating-a-servicetelemetry-object-in-openshift.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Create a `ServiceTelemetry` object in {OpenShiftShort} to result in the creation
3333
+
3434
[source,bash]
3535
----
36-
oc apply -f - <<EOF
36+
$ oc apply -f - <<EOF
3737
apiVersion: infra.watch/v1beta1
3838
kind: ServiceTelemetry
3939
metadata:
@@ -111,7 +111,7 @@ spec:
111111
+
112112
[source,yaml]
113113
----
114-
oc apply -f - <<EOF
114+
$ oc apply -f - <<EOF
115115
apiVersion: infra.watch/v1beta1
116116
kind: ServiceTelemetry
117117
metadata:
@@ -129,7 +129,7 @@ EOF
129129
+
130130
[source,bash]
131131
----
132-
oc logs --selector name=service-telemetry-operator -c ansible
132+
$ oc logs --selector name=service-telemetry-operator -c ansible
133133
----
134134
+
135135
[options="nowrap", subs="+quotes"]
@@ -140,7 +140,8 @@ localhost : ok=55 changed=0 unreachable=0 failed=0 s
140140

141141
. View the pods and the status of each pod to determine that all workloads are operating nominally:
142142
+
143-
NOTE: If you set `backends.events.elasticsearch.enabled: true`, the notification Smart Gateways will `Error` and `CrashLoopBackOff` for a period of time before ElasticSearch starts.
143+
NOTE: If you set `backends.events.elasticsearch.enabled: true`, the notification Smart Gateways reports `Error` and `CrashLoopBackOff` error messages for a period of time before ElasticSearch starts.
144+
144145
+
145146
[source,bash,options="nowrap",subs="+quotes"]
146147
----

doc-Service-Telemetry-Framework/modules/proc_creating-an-alert-route-in-alertmanager.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,21 @@ To deploy a custom Alertmanager route with {ProjectShort}, an `alertmanagerConfi
4949
+
5050
[source,bash]
5151
----
52-
oc project service-telemetry
52+
$ oc project service-telemetry
5353
----
5454

5555
. Edit the `ServiceTelemetry` object for your {ProjectShort} deployment
5656
+
5757
[source,bash]
5858
----
59-
oc edit stf default
59+
$ oc edit stf default
6060
----
6161

62-
. Add a new parameter, `alertmanagerConfigManifest` and the `Secret` object contents to define the `alertmanager.yaml` configuration for Alertmanager:
62+
. Add a new parameter, `alertmanagerConfigManifest`, and the `Secret` object contents to define the `alertmanager.yaml` configuration for Alertmanager:
6363
+
6464
[NOTE]
65-
This loads the default template that is already managed by Service Telemetry Operator. To validate the changes are populating correctly, change a value, return the `alertmanager-default` secret, and verify that the new value is loaded into memory, for example, changing the value `global.resolve_timeout` from `5m` to `10m`.
65+
This step loads the default template that is already managed by Service Telemetry Operator. To verify that the changes are populating correctly, change a value, return the `alertmanager-default` secret, and verify that the new value is loaded into memory. For example, change the value `global.resolve_timeout` from `5m` to `10m`.
66+
6667
+
6768
[source,yaml,options="nowrap"]
6869
----
@@ -119,7 +120,7 @@ receivers:
119120
+
120121
[source,bash]
121122
----
122-
oc run curl --generator=run-pod/v1 --image=radial/busyboxplus:curl -i --tty
123+
$ oc run curl --generator=run-pod/v1 --image=radial/busyboxplus:curl -i --tty
123124
----
124125

125126
. Run `curl` against the `alertmanager-operated` service to retrieve the status and `configYAML` contents and review the supplied configuration matches the configuration loaded into Alertmanager:

doc-Service-Telemetry-Framework/modules/proc_creating-an-alert-rule-in-prometheus.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ Prometheus evaluates alert rules to trigger notifications. If the rule condition
3232
+
3333
[source,bash]
3434
----
35-
oc project service-telemetry
35+
$ oc project service-telemetry
3636
----
3737

3838
. Create a `PrometheusRule` object that contains the alert rule. The Prometheus Operator loads the rule into Prometheus:
3939
+
4040
[source,bash,options="nowrap"]
4141
----
42-
oc apply -f - <<EOF
42+
$ oc apply -f - <<EOF
4343
apiVersion: monitoring.coreos.com/v1
4444
kind: PrometheusRule
4545
metadata:
@@ -62,7 +62,7 @@ EOF
6262
+
6363
[source,bash]
6464
----
65-
oc run curl --generator=run-pod/v1 --image=radial/busyboxplus:curl -i --tty
65+
$ oc run curl --generator=run-pod/v1 --image=radial/busyboxplus:curl -i --tty
6666
----
6767

6868
. Run `curl` to access the `prometheus-operated` service to return the rules loaded into memory:

doc-Service-Telemetry-Framework/modules/proc_deleting-the-default-smart-gateways.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ After you configure {ProjectShort} for multiple clouds, you can delete the defau
2727

2828
TIP: If you do not want any Smart Gateways deployed, define an empty clouds object using the `clouds: {}` parameter.
2929

30-
WARNING: The `cloudsRemoveOnMissing` parameter is disabled by default. If you enable the `cloudsRemoveOnMissing` parameter, you remove any manually created `SmartGateway` objects in the current namespace without any possibility to restore.
30+
WARNING: The `cloudsRemoveOnMissing` parameter is disabled by default. If you enable the `cloudsRemoveOnMissing` parameter, you remove any manually created `SmartGateway` objects in the current namespace without any possibility to restore.
3131

3232
.Procedure
3333

@@ -50,9 +50,9 @@ spec:
5050

5151
. Save the modifications.
5252

53-
. Verify that the Smart Gateways have been removed. This can take several minutes while the Operators reconcile the changes:
53+
. Verify that the Operator deleted the Smart Gateways. This can take several minutes while the Operators reconcile the changes:
5454
+
5555
[source,bash]
5656
----
57-
oc get smartgateways
57+
$ oc get smartgateways
5858
----

0 commit comments

Comments
 (0)