File tree 4 files changed +12
-4
lines changed
tutorials/kubernetes-demo/manifests
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ We use *breaking* word for marking changes that are not backward compatible (rel
19
19
20
20
- [ #1248 ] ( https://github.com/improbable-eng/thanos/pull/1248 ) Add a web UI to show the state of remote storage.
21
21
22
- - [ #1297 ] ( https://github.com/improbable-eng/thanos/pull/1297 ) Added ` /-/ready ` and ` /-healthy ` endpoints to Thanos compact.
22
+ - [ #1297 ] ( https://github.com/improbable-eng/thanos/pull/1297 ) Added ` /-/ready ` and ` /-/ healthy ` endpoints to Thanos compact.
23
23
24
24
### Changed
25
25
Original file line number Diff line number Diff line change @@ -69,7 +69,8 @@ func (cs compactionSet) maxLevel() int {
69
69
return len (cs ) - 1
70
70
}
71
71
72
- func registerCompact (m map [string ]setupFunc , app * kingpin.Application , component component.Component ) {
72
+ func registerCompact (m map [string ]setupFunc , app * kingpin.Application ) {
73
+ component := component .Compact
73
74
cmd := app .Command (component .String (), "continuously compacts blocks in an object store bucket" )
74
75
75
76
haltOnError := cmd .Flag ("debug.halt-on-error" , "Halt the process if a critical compaction error is detected." ).
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import (
25
25
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
26
26
grpc_recovery "github.com/grpc-ecosystem/go-grpc-middleware/recovery"
27
27
grpc_prometheus "github.com/grpc-ecosystem/go-grpc-prometheus"
28
- "github.com/improbable-eng/thanos/pkg/component"
29
28
"github.com/improbable-eng/thanos/pkg/prober"
30
29
"github.com/improbable-eng/thanos/pkg/runutil"
31
30
"github.com/improbable-eng/thanos/pkg/tracing"
@@ -75,7 +74,7 @@ func main() {
75
74
registerStore (cmds , app , "store" )
76
75
registerQuery (cmds , app , "query" )
77
76
registerRule (cmds , app , "rule" )
78
- registerCompact (cmds , app , component . Compact )
77
+ registerCompact (cmds , app )
79
78
registerBucket (cmds , app , "bucket" )
80
79
registerDownsample (cmds , app , "downsample" )
81
80
registerReceive (cmds , app , "receive" )
Original file line number Diff line number Diff line change 35
35
ports :
36
36
- name : http
37
37
containerPort : 10902
38
+ livenessProbe :
39
+ httpGet :
40
+ port : 10902
41
+ path : /-/healthy
42
+ readinessProbe :
43
+ httpGet :
44
+ port : 10902
45
+ path : /-/ready
38
46
resources :
39
47
limits :
40
48
cpu : " 1"
You can’t perform that action at this time.
0 commit comments