Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up after installation walk through #312

Merged
merged 4 commits into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,43 +72,44 @@ metadata:
name: default
spec:
alerting:
enabled: true
alertmanager:
storage:
strategy: persistent
persistent:
pvcStorageRequest: 20G
storageSelector: {}
receivers:
snmpTraps:
enabled: false
target: 192.168.24.254
strategy: persistent
enabled: true
backends:
events:
elasticsearch:
enabled: false
storage:
strategy: persistent
persistent:
pvcStorageRequest: 20Gi
storageSelector: {}
strategy: persistent
metrics:
prometheus:
enabled: true
scrapeInterval: 10s
storage:
strategy: persistent
persistent:
pvcStorageRequest: 20G
storageSelector: {}
retention: 24h
strategy: persistent
graphing:
enabled: false
grafana:
adminPassword: secret
adminUser: root
disableSignoutMenu: false
ingressEnabled: false
baseImage: docker.io/grafana/grafana:8.1.2
highAvailability:
enabled: false
transports:
Expand Down Expand Up @@ -152,7 +153,7 @@ $ oc logs --selector name=service-telemetry-operator
--------------------------- Ansible Task Status Event StdOut -----------------

PLAY RECAP *********************************************************************
localhost : ok=54 changed=0 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0
localhost : ok=57 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0
----

.Verification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,23 @@ spec:
publisher: OperatorHub.io
EOF
----

* Validate your `CatalogSource`:
+
[source,bash]
----
$ oc get catalogsource -nopenshift-marketplace operatorhubio-operators

NAME DISPLAY TYPE PUBLISHER AGE
operatorhubio-operators OperatorHub.io Operators grpc OperatorHub.io 2m21s
----

* Verify the `operatorhubio-operators` pod is running:
+
[source,bash]
----
$ oc get pods -nopenshift-marketplace --selector olm.catalogSource=operatorhubio-operators

NAME READY STATUS RESTARTS AGE
operatorhubio-operators-2cmm4 1/1 Running 0 3m12s
----
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ EOF
+
[source,bash,options="nowrap"]
----
$ oc get csv
$ oc get csv --selector operators.coreos.com/grafana-operator.service-telemetry

NAME DISPLAY VERSION REPLACES PHASE
grafana-operator.v3.10.3 Grafana Operator 3.10.3 grafana-operator.v3.10.2 Succeeded
...
NAME DISPLAY VERSION REPLACES PHASE
grafana-operator.v3.10.3 Grafana Operator 3.10.3 grafana-operator.v3.10.2 Succeeded
----

. To launch a Grafana instance, create or modify the `ServiceTelemetry` object. Set `graphing.enabled` and `graphing.grafana.ingressEnabled` to `true`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ EOF
+
[source,options="nowrap"]
----
$ oc get csv
$ oc get csv --selector operators.coreos.com/elasticsearch-eck-operator-certified.service-telemetry

NAME DISPLAY VERSION REPLACES PHASE
...
elasticsearch-eck-operator-certified.v1.8.0 Elasticsearch (ECK) Operator 1.8.0 elasticsearch-eck-operator-certified.v1.7.1 Succeeded
...
NAME DISPLAY VERSION REPLACES PHASE
elasticsearch-eck-operator-certified.v1.8.0 Elasticsearch (ECK) Operator 1.8.0 elasticsearch-eck-operator-certified.v1.7.1 Succeeded
----
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ endif::[]
----
$ oc get csv --namespace service-telemetry

NAME DISPLAY VERSION REPLACES PHASE
NAME DISPLAY VERSION REPLACES PHASE
amq7-cert-manager.v1.0.1 Red Hat Integration - AMQ Certificate Manager 1.0.1 Succeeded
amq7-interconnect-operator.v1.10.1 Red Hat Integration - AMQ Interconnect 1.10.1 amq7-interconnect-operator.v1.2.4 Succeeded
amq7-interconnect-operator.v1.10.2 Red Hat Integration - AMQ Interconnect 1.10.2 Succeeded
elasticsearch-eck-operator-certified.v1.8.0 Elasticsearch (ECK) Operator 1.8.0 elasticsearch-eck-operator-certified.v1.7.1 Succeeded
prometheusoperator.0.47.0 Prometheus Operator 0.47.0 prometheusoperator.0.37.0 Succeeded
service-telemetry-operator.v1.4.1632856033 Service Telemetry Operator 1.4.1632856033 Succeeded
smart-gateway-operator.v4.0.1632856027 Smart Gateway Operator 4.0.1632856027 Succeeded
service-telemetry-operator.v1.3.1632277596 Service Telemetry Operator 1.3.1632277596 Succeeded
smart-gateway-operator.v3.0.1632277599 Smart Gateway Operator 3.0.1632277599 Succeeded
----