Skip to content

Commit 6d9b36b

Browse files
One step needs to be added to the Quick Start point of About Logging 6.0 documentation
- One step needs to be added to the Quick Start point of About Logging 6.0 documentation. - Here is the documentation link: https://docs.openshift.com/container-platform/4.17/observability/logging/logging-6.0/log6x-about.html#quick-start - Here Step 2 is mentioned as "Create a LokiStack custom resource (CR) in the openshift-logging namespace:" - But before creating `LokiStack` custom resource (CR), it is necessary to create an `object storage secret`. - Without creating a secret we can not create `Lokistack` customer resource. - We need to mention that `object storage secret` name in the `LokiStack custom resource (CR)` under `spec.storage.secret.name` section. - So it is required to add this step in our documentation. - Hence adding Step 2 in the documentation: ----------------- 2. Create a secret to access an existing object storage bucket: Example command for AWS ~~~ $ oc create secret generic logging-loki-s3 \ --from-literal=bucketnames="<bucket_name>" \ --from-literal=endpoint="<aws_bucket_endpoint>" \ --from-literal=access_key_id="<aws_access_key_id>" \ --from-literal=access_key_secret="<aws_access_key_secret>" \ --from-literal=region="<aws_region_of_your_bucket>" \ -n openshift-logging ~~~ ------------------
1 parent fd1f597 commit 6d9b36b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

observability/logging/logging-6.0/log6x-about.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,20 @@ Logging includes extensive validation rules and default values to ensure a smoot
4343

4444
. Install the `OpenShift Logging` and `Loki` Operators from OperatorHub.
4545

46+
. Create a secret to access an existing object storage bucket:
47+
+
48+
.Example command for AWS
49+
[source,terminal,subs="+quotes"]
50+
----
51+
$ oc create secret generic logging-loki-s3 \
52+
--from-literal=bucketnames="<bucket_name>" \
53+
--from-literal=endpoint="<aws_bucket_endpoint>" \
54+
--from-literal=access_key_id="<aws_access_key_id>" \
55+
--from-literal=access_key_secret="<aws_access_key_secret>" \
56+
--from-literal=region="<aws_region_of_your_bucket>" \
57+
-n openshift-logging
58+
----
59+
4660
. Create a `LokiStack` custom resource (CR) in the `openshift-logging` namespace:
4761
+
4862
[source,yaml]

0 commit comments

Comments
 (0)