Update docs to 2.8.3 (#10016)

**What this PR does / why we need it**:
Mention the new 2.8.3 release instead of 2.8.2

**Which issue(s) this PR fixes**:
Fixes #<issue number>

**Special notes for your reviewer**:

**Checklist**
- [ ] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [X] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`
- [ ] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](d10549e3ec)

Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
pull/9979/head
Michel Hollands 3 years ago committed by GitHub
parent 44ae10eaeb
commit b5308bbb14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      docs/sources/setup/install/docker.md
  2. 6
      examples/getting-started/docker-compose.yaml
  3. 4
      production/docker-compose.yaml
  4. 4
      production/docker/docker-compose.yaml

@ -25,10 +25,10 @@ The configuration acquired with these installation instructions run Loki as a si
Copy and paste the commands below into your command line.
```bash
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/cmd/loki/loki-local-config.yaml -O loki-config.yaml
docker run --name loki -d -v $(pwd):/mnt/config -p 3100:3100 grafana/loki:2.8.2 -config.file=/mnt/config/loki-config.yaml
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/clients/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml
docker run --name promtail -d -v $(pwd):/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.8.2 -config.file=/mnt/config/promtail-config.yaml
wget https://raw.githubusercontent.com/grafana/loki/v2.8.3/cmd/loki/loki-local-config.yaml -O loki-config.yaml
docker run --name loki -d -v $(pwd):/mnt/config -p 3100:3100 grafana/loki:2.8.3 -config.file=/mnt/config/loki-config.yaml
wget https://raw.githubusercontent.com/grafana/loki/v2.8.3/clients/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml
docker run --name promtail -d -v $(pwd):/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.8.3 -config.file=/mnt/config/promtail-config.yaml
```
When finished, `loki-config.yaml` and `promtail-config.yaml` are downloaded in the directory you chose. Docker containers are running Loki and Promtail using those config files.
@ -43,10 +43,10 @@ Copy and paste the commands below into your terminal. Note that you will need to
```bash
cd "<local-path>"
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/cmd/loki/loki-local-config.yaml -O loki-config.yaml
docker run --name loki -v <local-path>:/mnt/config -p 3100:3100 grafana/loki:2.8.2 --config.file=/mnt/config/loki-config.yaml
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/clients/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml
docker run -v <local-path>:/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.8.2 --config.file=/mnt/config/promtail-config.yaml
wget https://raw.githubusercontent.com/grafana/loki/v2.8.3/cmd/loki/loki-local-config.yaml -O loki-config.yaml
docker run --name loki -v <local-path>:/mnt/config -p 3100:3100 grafana/loki:2.8.3 --config.file=/mnt/config/loki-config.yaml
wget https://raw.githubusercontent.com/grafana/loki/v2.8.3/clients/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml
docker run -v <local-path>:/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.8.3 --config.file=/mnt/config/promtail-config.yaml
```
When finished, `loki-config.yaml` and `promtail-config.yaml` are downloaded in the directory you chose. Docker containers are running Loki and Promtail using those config files.
@ -58,6 +58,6 @@ Navigate to http://localhost:3100/metrics to view the output.
Run the following commands in your command line. They work for Windows or Linux systems.
```bash
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/production/docker-compose.yaml -O docker-compose.yaml
wget https://raw.githubusercontent.com/grafana/loki/v2.8.3/production/docker-compose.yaml -O docker-compose.yaml
docker-compose -f docker-compose.yaml up
```

@ -6,7 +6,7 @@ networks:
services:
read:
image: grafana/loki:2.8.2
image: grafana/loki:2.8.3
command: "-config.file=/etc/loki/config.yaml -target=read"
ports:
- 3101:3100
@ -27,7 +27,7 @@ services:
- loki
write:
image: grafana/loki:2.8.2
image: grafana/loki:2.8.3
command: "-config.file=/etc/loki/config.yaml -target=write"
ports:
- 3102:3100
@ -46,7 +46,7 @@ services:
<<: *loki-dns
promtail:
image: grafana/promtail:2.8.2
image: grafana/promtail:2.8.3
volumes:
- ./promtail-local-config.yaml:/etc/promtail/config.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock

@ -5,7 +5,7 @@ networks:
services:
loki:
image: grafana/loki:2.8.2
image: grafana/loki:2.8.3
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
@ -13,7 +13,7 @@ services:
- loki
promtail:
image: grafana/promtail:2.8.2
image: grafana/promtail:2.8.3
volumes:
- /var/log:/var/log
command: -config.file=/etc/promtail/config.yml

@ -14,7 +14,7 @@ services:
# Loki would not have permissions to create the directories.
# Therefore the init container changes permissions of the mounted directory.
init:
image: &lokiImage grafana/loki:2.8.2
image: &lokiImage grafana/loki:2.8.3
user: root
entrypoint:
- "chown"
@ -71,7 +71,7 @@ services:
- ./loki/:/var/log/
promtail:
image: grafana/promtail:2.8.2
image: grafana/promtail:2.8.3
volumes:
- ./loki/:/var/log/
- ./config:/etc/promtail/

Loading…
Cancel
Save