|
5 | 5 | :_content-type: PROCEDURE |
6 | 6 | [id="network-observability-loki-installation_{context}"] |
7 | 7 | = Installing the Loki Operator |
8 | | -It is recommended to install link:https://catalog.redhat.com/software/containers/openshift-logging/loki-rhel8-operator/622b46bcae289285d6fcda39[Loki Operator version 5.7], This version provides the ability to create a LokiStack instance using the `openshift-network` tenant configuration mode. It also provides fully automatic, in-cluster authentication and authorization support for Network Observability. |
| 8 | +The link:https://catalog.redhat.com/software/containers/openshift-logging/loki-rhel8-operator/622b46bcae289285d6fcda39[Loki Operator versions 5.7+] are the supported Loki Operator versions for Network Observabilty; these versions provide the ability to create a `LokiStack` instance using the `openshift-network` tenant configuration mode and provide fully-automatic, in-cluster authentication and authorization support for Network Observability. There are several ways you can install Loki. One way is by using the {product-title} web console Operator Hub. |
9 | 9 |
|
10 | 10 | .Prerequisites |
11 | 11 |
|
12 | 12 | * Supported Log Store (AWS S3, Google Cloud Storage, Azure, Swift, Minio, OpenShift Data Foundation) |
13 | | -* {product-title} 4.10+. |
14 | | -* Linux Kernel 4.18+. |
15 | | -
|
16 | | -//* <Any Loki install prerequisites for using with Network Observability operator?> |
17 | | - |
18 | | -There are several ways you can install Loki. One way you can install the Loki Operator is by using the {product-title} web console Operator Hub. |
19 | | - |
| 13 | +* {product-title} 4.10+ |
| 14 | +* Linux Kernel 4.18+ |
20 | 15 |
|
21 | 16 | .Procedure |
| 17 | +. In the {product-title} web console, click *Operators* -> *OperatorHub*. |
| 18 | +. Choose *Loki Operator* from the list of available Operators, and click *Install*. |
| 19 | +. Under *Installation Mode*, select *All namespaces on the cluster*. |
22 | 20 |
|
23 | | -. Install the `Loki Operator` Operator: |
24 | | - |
25 | | -.. In the {product-title} web console, click *Operators* -> *OperatorHub*. |
26 | | - |
27 | | -.. Choose *Loki Operator* from the list of available Operators, and click *Install*. |
28 | | - |
29 | | -.. Under *Installation Mode*, select *All namespaces on the cluster*. |
30 | | - |
31 | | -.. Verify that you installed the Loki Operator. Visit the *Operators* → *Installed Operators* page and look for *Loki Operator*. |
32 | | - |
33 | | -.. Verify that *Loki Operator* is listed with *Status* as *Succeeded* in all the projects. |
34 | | -+ |
35 | | -. Create a `Secret` YAML file. You can create this secret in the web console or CLI. |
36 | | -.. Using the web console, navigate to the *Project* -> *All Projects* dropdown and select *Create Project*. Name the project `netobserv` and click *Create*. |
37 | | -.. Navigate to the Import icon, *+*, in the top right corner. Drop your YAML file into the editor. It is important to create this YAML file in the `netobserv` namespace that uses the `access_key_id` and `access_key_secret` to specify your credentials. |
38 | | - |
39 | | -.. Once you create the secret, you should see it listed under *Workloads* -> *Secrets* in the web console. |
40 | | -+ |
41 | | -The following shows an example secret YAML file: |
42 | | -[source,yaml] |
43 | | ----- |
44 | | -apiVersion: v1 |
45 | | -kind: Secret |
46 | | -metadata: |
47 | | - name: loki-s3 |
48 | | - namespace: netobserv |
49 | | -stringData: |
50 | | - access_key_id: QUtJQUlPU0ZPRE5ON0VYQU1QTEUK |
51 | | - access_key_secret: d0phbHJYVXRuRkVNSS9LN01ERU5HL2JQeFJmaUNZRVhBTVBMRUtFWQo= |
52 | | - bucketnames: s3-bucket-name |
53 | | - endpoint: https://s3.eu-central-1.amazonaws.com |
54 | | - region: eu-central-1 |
55 | | ----- |
| 21 | +.Verification |
| 22 | +. Verify that you installed the Loki Operator. Visit the *Operators* → *Installed Operators* page and look for *Loki Operator*. |
| 23 | +. Verify that *Loki Operator* is listed with *Status* as *Succeeded* in all the projects. |
56 | 24 |
|
57 | 25 | [IMPORTANT] |
58 | 26 | ==== |
|
0 commit comments