1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-20 19:29:10 +00:00
This commit is contained in:
Marcin Jedyk 2018-09-25 15:14:14 +01:00 committed by Matthias Loibl
parent 3e31cfa0e5
commit a614e8f9ea
No known key found for this signature in database
GPG key ID: B1C7DF661ABB2C1A
3 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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