Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai3
docker
thanos
Commits
629c0b0b
Commit
629c0b0b
authored
Jan 04, 2020
by
godog
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add command line flags from environment
parent
ed812c39
Pipeline
#5555
passed with stages
in 1 minute and 59 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
README.md
README.md
+4
-2
conf/chaperone.d/thanos-query.conf
conf/chaperone.d/thanos-query.conf
+1
-1
conf/chaperone.d/thanos-sidecar.conf
conf/chaperone.d/thanos-sidecar.conf
+1
-1
No files found.
README.md
View file @
629c0b0b
...
...
@@ -9,7 +9,9 @@ The following environment variables are understood:
QUERY_OFF
QUERY_HTTP_ADDRESS
QUERY_GRPC_ADDRESS
QUERY_FLAGS
SIDECAR_OFF
QUERY_HTTP_ADDRESS
QUERY_GRPC_ADDRESS
SIDECAR_HTTP_ADDRESS
SIDECAR_GRPC_ADDRESS
SIDECAR_FLAGS
conf/chaperone.d/thanos-query.conf
View file @
629c0b0b
thanos
-
query
.
service
: {
command
:
"/usr/sbin/thanos query --http-address=$(QUERY_HTTP_ADDRESS:-0.0.0.0:10902) --grpc-address=$(QUERY_GRPC_ADDRESS:-0.0.0.0:10901) --store.sd-files=/etc/thanos/store-sd/*.yml"
,
command
:
"/usr/sbin/thanos query --http-address=$(QUERY_HTTP_ADDRESS:-0.0.0.0:10902) --grpc-address=$(QUERY_GRPC_ADDRESS:-0.0.0.0:10901) --store.sd-files=/etc/thanos/store-sd/*.yml
$(QUERY_FLAGS)
"
,
enabled
:
"$(QUERY_OFF:|false|true)"
,
kill_signal
:
SIGTERM
,
exit_kills
:
true
,
...
...
conf/chaperone.d/thanos-sidecar.conf
View file @
629c0b0b
thanos
-
sidecar
.
service
: {
command
:
"/usr/sbin/thanos sidecar --http-address=$(SIDECAR_HTTP_ADDRESS:-0.0.0.0:10912) --grpc-address=$(SIDECAR_GRPC_ADDRESS:-0.0.0.0:10911)"
,
command
:
"/usr/sbin/thanos sidecar --http-address=$(SIDECAR_HTTP_ADDRESS:-0.0.0.0:10912) --grpc-address=$(SIDECAR_GRPC_ADDRESS:-0.0.0.0:10911)
$(SIDECAR_FLAGS)
"
,
enabled
:
"$(SIDECAR_OFF:|false|true)"
,
kill_signal
:
SIGTERM
,
exit_kills
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment