mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
update thanos to v0.11.0
This commit is contained in:
parent
59bdf55453
commit
a9ab71c6ec
10 changed files with 17 additions and 10 deletions
|
@ -15,4 +15,4 @@ spec:
|
|||
role: prometheus-rulefiles
|
||||
prometheus: k8s
|
||||
thanos:
|
||||
version: v0.10.1
|
||||
version: v0.11.0
|
||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: thanos-query
|
||||
image: quay.io/thanos/thanos:v0.10.1
|
||||
image: quay.io/thanos/thanos:v0.11.0
|
||||
args:
|
||||
- query
|
||||
- --log.level=debug
|
||||
|
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
labels:
|
||||
app: thanos-ruler
|
||||
spec:
|
||||
image: quay.io/thanos/thanos:v0.10.1
|
||||
image: quay.io/thanos/thanos:v0.11.0
|
||||
ruleSelector:
|
||||
matchLabels:
|
||||
role: thanos-example
|
||||
|
|
2
go.mod
2
go.mod
|
@ -22,7 +22,7 @@ require (
|
|||
github.com/prometheus/client_golang v1.2.1
|
||||
github.com/prometheus/prometheus v2.3.2+incompatible
|
||||
github.com/stretchr/testify v1.4.0
|
||||
github.com/thanos-io/thanos v0.10.1
|
||||
github.com/thanos-io/thanos v0.11.0
|
||||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
|
||||
gopkg.in/alecthomas/kingpin.v2 v2.2.6
|
||||
gopkg.in/yaml.v2 v2.2.8
|
||||
|
|
7
go.sum
7
go.sum
|
@ -435,7 +435,7 @@ github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5
|
|||
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
|
||||
github.com/miekg/dns v1.1.15/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
|
||||
github.com/miekg/dns v1.1.22/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
|
||||
github.com/minio/minio-go/v6 v6.0.44/go.mod h1:qD0lajrGW49lKZLtXKtCB4X/qkMf0a5tBvN2PaZg7Gg=
|
||||
github.com/minio/minio-go/v6 v6.0.49/go.mod h1:qD0lajrGW49lKZLtXKtCB4X/qkMf0a5tBvN2PaZg7Gg=
|
||||
github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM=
|
||||
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
|
||||
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
|
||||
|
@ -509,6 +509,7 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
|
|||
github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
|
||||
github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA=
|
||||
github.com/prometheus/alertmanager v0.18.0/go.mod h1:WcxHBl40VSPuOaqWae6l6HpnEOVRIycEJ7i9iYkadEE=
|
||||
github.com/prometheus/alertmanager v0.20.0/go.mod h1:9g2i48FAyZW6BtbsnvHtMHQXl2aVtrORKwKVCQ+nbrg=
|
||||
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
|
||||
github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM=
|
||||
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs=
|
||||
|
@ -597,8 +598,8 @@ github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0
|
|||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
|
||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||
github.com/thanos-io/thanos v0.10.1 h1:rVYzLyJcjV2cmvBzIw1kx96msKQ4uwyi+6edTHVUPwA=
|
||||
github.com/thanos-io/thanos v0.10.1/go.mod h1:usT/TxtJQ7DzinTt+G9kinDQmRS5sxwu0unVKZ9vdcw=
|
||||
github.com/thanos-io/thanos v0.11.0 h1:UkWLa93sihcxCofelRH/NBGQxFyFU73eXIr2a+dwOFM=
|
||||
github.com/thanos-io/thanos v0.11.0/go.mod h1:N/Yes7J68KqvmY+xM6J5CJqEvWIvKSR5sqGtmuD6wDc=
|
||||
github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=
|
||||
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
|
||||
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
|
||||
|
|
|
@ -34,7 +34,7 @@ import (
|
|||
|
||||
const (
|
||||
governingServiceName = "prometheus-operated"
|
||||
DefaultThanosVersion = "v0.10.1"
|
||||
DefaultThanosVersion = "v0.11.0"
|
||||
defaultRetention = "24h"
|
||||
defaultReplicaExternalLabelName = "prometheus_replica"
|
||||
storageDir = "/prometheus"
|
||||
|
|
|
@ -31,7 +31,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
DefaultThanosVersion = "v0.10.1"
|
||||
DefaultThanosVersion = "v0.11.0"
|
||||
rulesDir = "/etc/thanos/rules"
|
||||
storageDir = "/thanos/data"
|
||||
governingServiceName = "thanos-ruler-operated"
|
||||
|
|
3
vendor/github.com/thanos-io/thanos/pkg/reloader/reloader.go
generated
vendored
3
vendor/github.com/thanos-io/thanos/pkg/reloader/reloader.go
generated
vendored
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) The Thanos Authors.
|
||||
// Licensed under the Apache License 2.0.
|
||||
|
||||
// Package reloader contains helpers to trigger reloads of Prometheus instances
|
||||
// on configuration changes and to substitute environment variables in config files.
|
||||
//
|
||||
|
|
3
vendor/github.com/thanos-io/thanos/pkg/runutil/runutil.go
generated
vendored
3
vendor/github.com/thanos-io/thanos/pkg/runutil/runutil.go
generated
vendored
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) The Thanos Authors.
|
||||
// Licensed under the Apache License 2.0.
|
||||
|
||||
// Package runutil provides helpers to advanced function scheduling control like repeat or retry.
|
||||
//
|
||||
// It's very often the case when you need to excutes some code every fixed intervals or have it retried automatically.
|
||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -159,7 +159,7 @@ github.com/spf13/pflag
|
|||
# github.com/stretchr/testify v1.4.0
|
||||
github.com/stretchr/testify/assert
|
||||
github.com/stretchr/testify/require
|
||||
# github.com/thanos-io/thanos v0.10.1
|
||||
# github.com/thanos-io/thanos v0.11.0
|
||||
github.com/thanos-io/thanos/pkg/reloader
|
||||
github.com/thanos-io/thanos/pkg/runutil
|
||||
# golang.org/x/crypto v0.0.0-20191112222119-e1110fd1c708
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue