Skip to content

Commit

Permalink
feat: add loki docs
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Carter <[email protected]>
  • Loading branch information
cloudnull committed Mar 11, 2024
1 parent bfadaac commit ecfc6aa
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 28 deletions.
44 changes: 44 additions & 0 deletions docs/infrastructure-loki.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Setting up Loki

## Add the grafana helm repo

``` shell
helm repo add grafana https://grafana.github.io/helm-charts
helm repo update
```

### Install the helm chart

You will need to make changes depending on how you want to configure loki. Example files are included in this directory choose one relevant to your deploy

``` shell
helm upgrade --install \
--values my-loki-helm-overrides.yaml \
loki grafana/loki \
--create-namespace \
--namespace grafana
```

!!! example

If you plan on using **Swift** as a backend for log storage see the `loki-helm-swift-overrides-example.yaml` file in the `helm-configs/loki` directory.

``` yaml
--8<-- "helm-configs/loki/loki-helm-swift-overrides-example.yaml"
```

!!! example

If you plan on using **S3** as a backend for log storage see the `loki-helm-s3-overrides-example.yaml` file in the `helm-configs/loki` directory.

``` yaml
--8<-- "helm-configs/loki/loki-helm-s3-overrides-example.yaml"
```

!!! example

If you plan on using **Minio** as a backend for log storage see the `loki-helm-s3-overrides-example.yaml` file in the `helm-configs/loki` directory.

``` yaml
--8<-- "helm-configs/loki/loki-helm-minio-overrides-example.yaml"
```
27 changes: 0 additions & 27 deletions docs/loki.md

This file was deleted.

4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ markdown_extensions:
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.snippets:
restrict_base_path: false

repo_name: rackerlabs/genestack
repo_url: https://github.com/rackerlabs/genestack
Expand Down Expand Up @@ -164,6 +165,7 @@ nav:
- infrastructure-ovn.md
- OVN Setup: infrastructure-ovn-setup.md
- MetalLB: infrastructure-metallb.md
- Loki: infrastructure-loki.md
- OpenStack:
- openstack-overview.md
- OpenStack Preparations: openstack-helm-make.md
Expand Down

0 comments on commit ecfc6aa

Please sign in to comment.