-
Notifications
You must be signed in to change notification settings - Fork 3
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 Thanos Query frontend in Query CRD and deployment #82
Add Thanos Query frontend in Query CRD and deployment #82
Conversation
Signed-off-by: Saswata Mukherjee <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>
4a3fc51
to
a9a68f7
Compare
Signed-off-by: Saswata Mukherjee <[email protected]>
414fa0c
to
085c71a
Compare
Replicas int32 `json:"replicas,omitempty"` | ||
// CompressResponses enables response compression | ||
// +kubebuilder:default=true | ||
CompressResponses bool `json:"compressResponses,omitempty"` |
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.
nit: But i probably wouldnt even bother exposing this for now, we could stick with the defaults. If you want to keep it here might want to make it a pointer and optional?
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 keep it, I think I remember some issue where people were debugging with this.
Based on discussion offline with @philipgough I think it makes sense to combine with the Query CRD directly. Will update PR |
Signed-off-by: Saswata Mukherjee <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>
Modified this to be a nested field on Query CRD, but have kept the builder code separate as it is a separate thanos component and not a mode of another. |
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.
/lgtm
This adds Thanos Query frontend within query crd, which generates cache config if you don't specify