Skip to content

Commit ba7e558

Browse files
committed
Incorporated engineering feedback.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
1 parent 9e2fedd commit ba7e558

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

modules/creating-the-lokistack.adoc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
+
5252
[IMPORTANT]
5353
====
54-
If there is no retention period defined on the object storage bucket or in the `LokiStack` CR, then the logs are not pruned and they stay in the object storage forever, which might fill up the storage.
54+
If there is no retention period defined on the object storage bucket or in the `LokiStack` CR, then the logs are not pruned and they stay in the object storage forever, which might fill up the storage. For cloud-hosted object storage, configuring a bucket lifecycle policy is recommended over relying solely on LokiStack retention, as lifecycle policies reduce API costs associated with object deletion.
5555
====
5656

5757
. Apply the `LokiStack` CR by running the following command:
@@ -63,7 +63,16 @@ $ oc apply -f <filename>.yaml
6363

6464
.Verification
6565

66-
* Verify that the LokiStack pods are running:
66+
* Verify that the LokiStack is ready by running the following command:
67+
+
68+
[source,terminal]
69+
----
70+
$ oc get lokistack logging-loki -n openshift-logging -o jsonpath='{.status.conditions[?(@.type=="Ready")].message}'
71+
----
72+
+
73+
The output should show `All components ready`.
74+
75+
* To verify individual components, check that the LokiStack pods are running by running the following command:
6776
+
6877
[source,terminal]
6978
----

0 commit comments

Comments
 (0)