Skip to content

Commit a7da705

Browse files
authored
Merge pull request #69602 from abrennan89/OBSDOCS-664
OBSDOCS-664: Add demo size for loki and update lokistack CR docs
2 parents 9f4c474 + 4e63d7c commit a7da705

File tree

4 files changed

+26
-17
lines changed

4 files changed

+26
-17
lines changed

logging/log_storage/installing-log-storage.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
:_mod-docs-content-type: ASSEMBLY
22
include::_attributes/common-attributes.adoc[]
3-
include::_attributes/attributes-openshift-dedicated.adoc[]
43
[id="installing-log-storage"]
54
= Installing log storage
65
:context: installing-log-storage

modules/create-lokistack-cr-cli.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ spec:
3939
tenants:
4040
mode: openshift-logging
4141
----
42-
<1> Supported size options for production instances of Loki are `1x.small` and `1x.medium`.
43-
<2> Enter the name of your log store secret.
44-
<3> Enter the type of your log store secret.
45-
<4> Enter the name of a storage class for temporary storage. For best performance, specify a storage class that allocates block storage. Available storage classes for your cluster can be listed by using `oc get storageclasses`.
42+
<1> Specify the deployment size. In the {logging} 5.8 and later versions, the supported size options for production instances of Loki are `1x.extra-small`, `1x.small`, or `1x.medium`.
43+
<2> Specify the name of your log store secret.
44+
<3> Specify the type of your log store secret.
45+
<4> Specify the name of a storage class for temporary storage. For best performance, specify a storage class that allocates block storage. Available storage classes for your cluster can be listed by using the `oc get storageclasses` command.
4646

4747
. Apply the `LokiStack` CR:
4848
+

modules/create-lokistack-cr-console.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,23 @@ You can create a `LokiStack` custom resource (CR) by using the {product-title} w
2727
apiVersion: loki.grafana.com/v1
2828
kind: LokiStack
2929
metadata:
30-
name: logging-loki <1>
30+
name: logging-loki # <1>
3131
namespace: openshift-logging
3232
spec:
33-
size: 1x.small <2>
33+
size: 1x.small # <2>
3434
storage:
3535
schemas:
3636
- version: v12
3737
effectiveDate: '2022-06-01'
3838
secret:
39-
name: logging-loki-s3 <3>
40-
type: s3 <4>
41-
storageClassName: <storage_class_name> <5>
39+
name: logging-loki-s3 # <3>
40+
type: s3 # <4>
41+
storageClassName: <storage_class_name> # <5>
4242
tenants:
4343
mode: openshift-logging
4444
----
4545
<1> Use the name `logging-loki`.
46-
<2> Select your Loki deployment size.
46+
<2> Specify the deployment size. In the {logging} 5.8 and later versions, the supported size options for production instances of Loki are `1x.extra-small`, `1x.small`, or `1x.medium`.
4747
<3> Specify the secret used for your log storage.
4848
<4> Specify the corresponding storage type.
4949
<5> Enter the name of a storage class for temporary storage. For best performance, specify a storage class that allocates block storage. Available storage classes for your cluster can be listed by using the `oc get storageclasses` command.

modules/loki-deployment-sizing.adoc

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Module is included in the following assemblies:
2-
// * logging/cluster-logging-loki.adoc
2+
// * logging/log_storage/installing-log-storage.adoc
33
// * network_observability/installing-operators.adoc
44

5-
ifeval::["{context}" == "cluster-logging-loki"]
5+
ifeval::["{context}" == "installing-log-storage"]
66
:restricted:
77
endif::[]
88

@@ -13,65 +13,75 @@ endif::[]
1313
Sizing for Loki follows the format of `<N>x.<size>` where the value `<N>` is number of instances and `<size>` specifies performance capabilities.
1414

1515
.Loki sizing
16-
[cols="1h,3*",options="header"]
16+
[cols="1h,4*",options="header"]
1717
|===
1818
|
19+
|1x.demo
1920
|1x.extra-small
2021
|1x.small
2122
|1x.medium
2223

2324
|Data transfer
25+
|Demo use only
2426
|100GB/day
2527
|500GB/day
2628
|2TB/day
2729

2830
|Queries per second (QPS)
31+
|Demo use only
2932
|1-25 QPS at 200ms
3033
|25-50 QPS at 200ms
3134
|25-75 QPS at 200ms
3235

3336
|Replication factor
37+
|None
3438
|2
3539
|2
3640
|2
3741

3842
|Total CPU requests
43+
|None
3944
|14 vCPUs
4045
|34 vCPUs
4146
|54 vCPUs
4247

4348
ifdef::restricted[]
4449
|Total CPU requests if using the ruler
50+
|None
4551
|16 vCPUs
4652
|42 vCPUs
4753
|70 vCPUs
4854
endif::restricted[]
4955

5056
|Total memory requests
57+
|None
5158
|31Gi
5259
|67Gi
5360
|139Gi
5461

5562
ifdef::restricted[]
5663
|Total memory requests if using the ruler
64+
|None
5765
|35Gi
5866
|83Gi
5967
|171Gi
6068
endif::restricted[]
6169

6270
|Total disk requests
71+
|40Gi
6372
|430Gi
6473
|430Gi
6574
|590Gi
6675

6776
ifdef::restricted[]
6877
|Total disk requests if using the ruler
69-
|650Gi
70-
|650Gi
78+
|80Gi
79+
|750Gi
80+
|750Gi
7181
|910Gi
7282
endif::restricted[]
7383
|===
7484

75-
ifeval::["{context}" == "cluster-logging-loki"]
85+
ifeval::["{context}" == "installing-log-storage"]
7686
:!restricted:
7787
endif::[]

0 commit comments

Comments
 (0)