-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Chris Blumentritt <[email protected]>
- Loading branch information
Showing
4 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Setting up Loki | ||
|
||
## Add the grafana helm repo | ||
```bash | ||
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 | ||
|
||
```bash | ||
helm upgrade --install --values my-loki-helm-overrides.yaml loki grafana/loki --create-namespace --namespace grafana | ||
``` | ||
|
||
### Swift notes | ||
|
||
If you plan on using swift as a backend for log storage see the [loki-helm-swift-overrides-example.yaml](loki-helm-swift-overrides-example.yaml) | ||
|
||
### S3 notes | ||
|
||
If you plan on using s3 as a backend for log storage see the [loki-helm-s3-overrides-example.yaml](loki-helm-s3-overrides-example.yaml) | ||
|
||
### minio notes | ||
|
||
If you plan on using minio as a backend for log storage see the [loki-helm-minio-overrides-example.yaml](loki-helm-minio-overrides-example.yaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
global: | ||
dnsService: "coredns" | ||
minio: | ||
enabled: true | ||
loki: | ||
auth_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
global: | ||
dnsService: "coredns" | ||
minio: | ||
enabled: false | ||
loki: | ||
auth_enabled: false | ||
storage: | ||
bucketNames: | ||
chunks: < CHUNKS BUCKET NAME > # TODO: Update with relevant bucket name for chunks | ||
ruler: < RULER BUCKET NAME > # TODO: Update with relevant bucket name for ruler | ||
admin: < ADMIN BUCKET NAME > # TODO: Update with relevant bucket name for admin | ||
type: s3 | ||
s3: | ||
endpoint: < ENDPOINT URL > # TODO: Update with valid enpoint URL | ||
region: < REGION > # TODO: Update with valid region | ||
secretAccessKey: < SECRET ACCESS KEY > # TODO: Update with valid secret access key | ||
accessKeyId: < ACCESS KEY ID > # TODO: Update with access key id | ||
s3ForcePathStyle: false | ||
insecure: [ true | false ] # TODO: True if valid cert or false if not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
global: | ||
dnsService: "coredns" | ||
minio: | ||
enabled: false | ||
loki: | ||
auth_enabled: false | ||
storage: | ||
bucketNames: | ||
chunks: chunks | ||
ruler: ruler | ||
admin: admin | ||
type: swift | ||
swift: | ||
auth_url: https://identity.api.rackspacecloud.com/v1.0 | ||
username: < USERNAME > # TODO: Update with valid username | ||
password: < PASSWORD > # TODO: Update with valid password | ||
container_name: < CONTAINER > # TODO: Update with valid container | ||
region_name: < REGION > # TODO: Update with valid region |