Skip to content
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

Merged
merged 5 commits into from
Sep 4, 2024

Conversation

saswatamcode
Copy link
Member

@saswatamcode saswatamcode commented Sep 2, 2024

This adds Thanos Query frontend within query crd, which generates cache config if you don't specify

Signed-off-by: Saswata Mukherjee <[email protected]>
@saswatamcode saswatamcode marked this pull request as ready for review September 3, 2024 12:41
Replicas int32 `json:"replicas,omitempty"`
// CompressResponses enables response compression
// +kubebuilder:default=true
CompressResponses bool `json:"compressResponses,omitempty"`
Copy link
Collaborator

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?

Copy link
Member Author

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.

@saswatamcode
Copy link
Member Author

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]>
@saswatamcode saswatamcode changed the title Add Thanos Query frontend CRD and deployment Add Thanos Query frontend in Query CRD and deployment Sep 3, 2024
Signed-off-by: Saswata Mukherjee <[email protected]>
@saswatamcode
Copy link
Member Author

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.

Copy link
Collaborator

@philipgough philipgough left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@saswatamcode saswatamcode merged commit d5ae508 into thanos-community:main Sep 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants