-
Notifications
You must be signed in to change notification settings - Fork 122
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
Support for storing event resources and other resources in separate tables #601
Labels
kind/feature
New feature
Comments
Hi @calvin0327, DetailsInstructions for interacting with me using comments are available here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What would you like to be added?
Currently, we store all data in a single database table 'resource', which satisfies most scenarios. Event is a special resource in k8s, and its quantity is very large in general. If we put it in another table, we can handle it more conveniently and flexibly.
Why is this needed?
We have two main requirements to query the event resource:
We will use the field
LastTimestamp
of evnet to sort, but the data for this field is in the json data, so we cannot use the general clusterpedia query method.As the number of clusters grows, the amount of event data is very large. Putting all the data in one table will cause query pressure on the database.
The text was updated successfully, but these errors were encountered: