bumped images/binaries version to 2.6.0

pull/6525/head
Vladyslav Diachenko 3 years ago
parent 91cc36d3a8
commit 9c1a781b9b
  1. 18
      docs/sources/installation/docker.md
  2. 2
      docs/sources/maintaining/release.md
  3. 6
      examples/getting-started/docker-compose.yaml
  4. 4
      production/docker-compose.yaml
  5. 12
      production/docker/docker-compose-ha-memberlist.yaml
  6. 2
      production/ksonnet/loki-canary/config.libsonnet
  7. 2
      production/ksonnet/loki-simple-scalable/example/main.jsonnet
  8. 2
      production/ksonnet/loki-simple-scalable/images.libsonnet
  9. 2
      production/ksonnet/loki/images.libsonnet
  10. 2
      production/ksonnet/promtail/config.libsonnet
  11. 2
      production/nomad/loki-distributed/README.md
  12. 2
      production/nomad/loki-distributed/job.nomad.hcl
  13. 2
      production/nomad/loki-simple/README.md
  14. 2
      production/nomad/loki-simple/job.nomad.hcl
  15. 2
      production/nomad/loki/README.md
  16. 2
      production/nomad/loki/job.nomad.hcl
  17. 2
      tools/promtail.sh

@ -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://raw.githubusercontent.com/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://raw.githubusercontent.com/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://raw.githubusercontent.com/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://raw.githubusercontent.com/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.
@ -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://raw.githubusercontent.com/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://raw.githubusercontent.com/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://raw.githubusercontent.com/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://raw.githubusercontent.com/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.
@ -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://raw.githubusercontent.com/grafana/loki/v2.5.0/production/docker-compose.yaml -O docker-compose.yaml
wget https://raw.githubusercontent.com/grafana/loki/v2.6.0/production/docker-compose.yaml -O docker-compose.yaml
docker-compose -f docker-compose.yaml 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`

@ -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
@ -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
@ -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

@ -5,7 +5,7 @@ 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
@ -13,7 +13,7 @@ services:
- 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

@ -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"
@ -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/
@ -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:
@ -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
@ -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
@ -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

@ -1,5 +1,5 @@
{
_images+:: {
loki_canary: 'grafana/loki-canary:2.5.0',
loki_canary: 'grafana/loki-canary:2.6.0',
},
}

@ -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+:: {

@ -1,6 +1,6 @@
{
_images+:: {
loki: 'grafana/loki:2.5.0',
loki: 'grafana/loki:2.6.0',
read: self.loki,
write: self.loki,

@ -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,

@ -1,6 +1,6 @@
{
_images+:: {
promtail: 'grafana/promtail:2.5.0',
promtail: 'grafana/promtail:2.6.0',
},
_config+:: {

@ -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

@ -1,7 +1,7 @@
variable "version" {
type = string
description = "Loki version"
default = "2.5.0"
default = "2.6.0"
}
job "loki" {

@ -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

@ -1,7 +1,7 @@
variable "version" {
type = string
description = "Loki version"
default = "2.5.0"
default = "2.6.0"
}
job "loki" {

@ -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

@ -1,7 +1,7 @@
variable "version" {
type = string
description = "Loki version"
default = "2.5.0"
default = "2.6.0"
}
job "loki" {

@ -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>]]]"

Loading…
Cancel
Save