You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: operator/docs/lokistack/object_storage.md
+23-3Lines changed: 23 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ weight: 100
13
13
toc: true
14
14
---
15
15
16
-
Loki Operator supports [AWS S3](https://aws.amazon.com/), [Azure](https://azure.microsoft.com), [GCS](https://cloud.google.com/), [Minio](https://min.io/), [OpenShift Data Foundation](https://www.redhat.com/en/technologies/cloud-computing/openshift-data-foundation) and [Swift](https://docs.openstack.org/swift/latest/) for LokiStack object storage.
16
+
Loki Operator supports [AWS S3](https://aws.amazon.com/), [Azure](https://azure.microsoft.com), [GCS](https://cloud.google.com/), [Minio](https://min.io/), [OpenShift Data Foundation](https://www.redhat.com/en/technologies/cloud-computing/openshift-data-foundation) and [Swift](https://docs.openstack.org/swift/latest/) for LokiStack object storage.
17
17
18
18
_Note_: Upon setting up LokiStack for any object storage provider, you should configure a logging collector that references the LokiStack in order to view the logs.
19
19
@@ -46,11 +46,12 @@ _Note_: Upon setting up LokiStack for any object storage provider, you should co
See also official docs on [AWS KMS Key ID](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id) and [AWS KMS Encryption Context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) (**Note:** Only content without newlines allowed, because it is exposed via environment variable to the containers).
55
56
56
57
or with `SSE-S3` encryption
@@ -61,9 +62,28 @@ _Note_: Upon setting up LokiStack for any object storage provider, you should co
* AWS endpoints (ending with `.amazonaws.com`) use virtual hosted style (`force_path_style=false`)
83
+
* Non-AWS endpoints use path style (`force_path_style=true`)
84
+
85
+
Set `force_path_style` to `false` if you need to use virtual-hosted style with non-AWS S3 compatible services.
86
+
67
87
where `lokistack-dev-s3` is the secret name.
68
88
69
89
* Create an instance of [LokiStack](../hack/lokistack_dev.yaml) by referencing the secret name and type as `s3`:
@@ -130,7 +150,7 @@ _Note_: Upon setting up LokiStack for any object storage provider, you should co
130
150
--from-literal=bucketname="<BUCKET_NAME>" \
131
151
--from-file=key.json="<PATH/TO/KEY.JSON>"
132
152
```
133
-
153
+
134
154
where `lokistack-dev-gcs` is the secret name, `<BUCKET_NAME>` is the name of bucket created in requirements step and `<PATH/TO/KEY.JSON>` is the file path where the `key.json` was copied to.
135
155
136
156
* Create an instance of [LokiStack](../hack/lokistack_dev.yaml) by referencing the secret name and type as `gcs`:
0 commit comments