mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-20 19:29:10 +00:00
update Thanos to v0.1.0 https://github.com/improbable-eng/thanos/releases/tag/v0.1.0
This commit is contained in:
parent
3e31cfa0e5
commit
a614e8f9ea
3 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: thanos-query
|
||||
image: improbable/thanos:v0.1.0-rc.2
|
||||
image: improbable/thanos:v0.1.0
|
||||
args:
|
||||
- "query"
|
||||
- "--log.level=debug"
|
||||
|
@ -31,4 +31,4 @@ spec:
|
|||
- name: grpc
|
||||
containerPort: 10901
|
||||
- name: cluster
|
||||
containerPort: 10900
|
||||
containerPort: 10900
|
||||
|
|
|
@ -35,7 +35,7 @@ import (
|
|||
const (
|
||||
governingServiceName = "prometheus-operated"
|
||||
DefaultPrometheusVersion = "v2.4.2"
|
||||
DefaultThanosVersion = "v0.1.0-rc.2"
|
||||
DefaultThanosVersion = "v0.1.0"
|
||||
defaultRetention = "24h"
|
||||
storageDir = "/prometheus"
|
||||
confDir = "/etc/prometheus/config"
|
||||
|
@ -602,7 +602,7 @@ func makeStatefulSetSpec(p monitoringv1.Prometheus, c *Config, ruleConfigMapName
|
|||
thanosArgs := []string{
|
||||
"sidecar",
|
||||
fmt.Sprintf("--prometheus.url=http://%s:9090", c.LocalHost),
|
||||
fmt.Sprintf("--tsdb.path=%s", storageDir),
|
||||
fmt.Sprintf("--data-dir=%s", storageDir),
|
||||
fmt.Sprintf("--cluster.address=[$(POD_IP)]:%d", 10900),
|
||||
fmt.Sprintf("--grpc-address=[$(POD_IP)]:%d", 10901),
|
||||
}
|
||||
|
|
|
@ -402,7 +402,7 @@ func TestTagAndShaAndVersion(t *testing.T) {
|
|||
func TestThanosTagAndShaAndVersion(t *testing.T) {
|
||||
{
|
||||
thanosTag := "my-unrelated-tag"
|
||||
thanosVersion := "v0.1.0-rc.2"
|
||||
thanosVersion := "v0.1.0"
|
||||
sset, err := makeStatefulSet(monitoringv1.Prometheus{
|
||||
Spec: monitoringv1.PrometheusSpec{
|
||||
Thanos: &monitoringv1.ThanosSpec{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue