-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add query frontend to the quickstart script #3372
Conversation
Closes thanos-io#3304 Signed-off-by: Victor Araujo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice thanks!
It looks amazing, except one thing that might be blocked first by #3373
|
||
sleep 0.5 | ||
|
||
${THANOS_EXECUTABLE} query-frontend \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not how it suppose to work, unfortunately. Those replicas have to be separate for better horizontal scalability. This means there should be a load balancing in between - ideally round robin load balancer for better distribution.
We can add some nginx for it, but ideally, we could work towards this: #3373
Let me know if this makes sense 🤗
scripts/quickstart.sh
Outdated
@@ -11,6 +11,9 @@ MC_EXECUTABLE=${MC_EXECUTABLE:-"mc"} | |||
PROMETHEUS_EXECUTABLE=${PROMETHEUS_EXECUTABLE:-"prometheus"} | |||
THANOS_EXECUTABLE=${THANOS_EXECUTABLE:-"thanos"} | |||
S3_ENDPOINT="" | |||
QUERY_FRONTEND_CACHE_MAX_SIZE=${QUERY_FRONTEND_CACHE_MAX_SIZE:-""} | |||
QUERY_FRONTEND_CACHE_MAX_SIZE_ITEMS=${QUERY_FRONTEND_CACHE_MAX_SIZE_ITEMS:-0} | |||
QUERY_FRONTEND_CACHE_VALIDITY=${QUERY_FRONTEND_CACHE_VALIDITY:-"0s"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use 6h
here
scripts/quickstart.sh
Outdated
@@ -11,6 +11,9 @@ MC_EXECUTABLE=${MC_EXECUTABLE:-"mc"} | |||
PROMETHEUS_EXECUTABLE=${PROMETHEUS_EXECUTABLE:-"prometheus"} | |||
THANOS_EXECUTABLE=${THANOS_EXECUTABLE:-"thanos"} | |||
S3_ENDPOINT="" | |||
QUERY_FRONTEND_CACHE_MAX_SIZE=${QUERY_FRONTEND_CACHE_MAX_SIZE:-""} | |||
QUERY_FRONTEND_CACHE_MAX_SIZE_ITEMS=${QUERY_FRONTEND_CACHE_MAX_SIZE_ITEMS:-0} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's set this to 2048
scripts/quickstart.sh
Outdated
@@ -11,6 +11,9 @@ MC_EXECUTABLE=${MC_EXECUTABLE:-"mc"} | |||
PROMETHEUS_EXECUTABLE=${PROMETHEUS_EXECUTABLE:-"prometheus"} | |||
THANOS_EXECUTABLE=${THANOS_EXECUTABLE:-"thanos"} | |||
S3_ENDPOINT="" | |||
QUERY_FRONTEND_CACHE_MAX_SIZE=${QUERY_FRONTEND_CACHE_MAX_SIZE:-""} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's set this to "0"
Signed-off-by: Victor Araujo <[email protected]>
bf6058a
to
3dc50f8
Compare
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@vears91 Do you want to continue working on it? I can open it and give it another round of review. Sorry if we dropped the ball on this one. |
Closes #3304
Signed-off-by: Victor Araujo [email protected]
Changes
Verification