[PUT IN RELEASE NOTES] Set a default value of RESTATE_ROCKSDB_TOTAL_MEMORY_SIZE in helm chart #3927
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently the default resources in the helm chart are really small, and more importantly, they are out of line with the default memory size.
My suggestion is that we increase the resources to match the default memory size of 6G - ie, 8G memory req/limit, 1:4 cpu to memory request ratio so 2 cpu - and also start specifying the memory size more explicitly so users can see that they need to override it.
This will be a breaking change for users that are not specifying their resources, and needs to be noted in the release notes for that reason. It is breaking in the sense that if you don't have enough capacity for the node any more, the replaced pod will not schedule. However this would be noticed immediately. In other cases it will still schedule, and performance will be improved, so there is only a cost impact, which I think is ok (the user can always specify the resources they want if needed).
However, it is NOT a breaking change for those who are specifying their resources but aren't specifying the rocks limit, which i think is probably very common. in those cases, the rocksdb memory size will stay 6G, but we will have the release notes and a logline encouraging them to consider changing it if it doesn't match their overrided resources.
Alternatives considered;