-
Notifications
You must be signed in to change notification settings - Fork 123
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
Document basic resource requirements #173
Comments
There are a few items to document here. This ticket describes resources for a development / production scenario, which reads as k8s cluster requirements (and potentially specs for VMs in environments where resources may be limited, eg Docker for Mac).
|
I know we expose resources for some components but not sure if we do for all. We should create additional tickets for any components for which resources are not configurable. |
Yesterday when we talked about this we discussed trying to establish a resource estimate based on a few different profiles of users, @bradfordcp @jsanda do you all have any suggestions on what those profiles should be, beyond a "developer"? We also need to figure out are we talking bare minimum resources to deploy? resources with some simulated load applied? Load applied directly? Via Stargate? There's a lot to consider here 😄 |
@adejanovski is going to run some performance tests with NoSQLBench to evaluate some developer focused settings. For 1.0 our goal will be to create a measured set of resource defaults (memory, cpu, disk) that we can provide for a local developer environment and be able to document what types of tests were executed against that environment. |
Based on the benchmarks and the blog post I'm writing, we have the following min requirements for Docker resources to run the whole stack (including 3 Cassandra nodes and 1 Stargate node):
Reducing the number of Cassandra nodes to a single one allows to go as low as 4GB RAM instead of 8GB. The above specs allow for a 100 ops/s workload with decent latencies. |
@johnwfrancis, is that enough information for you to document this? |
@adejanovski actually it's not. I've not been able to get 3 nodes running reliable with 6 cores and 8 gigs of RAM. I need the helm chart settings and any K8s config info--for instance, do you need 3 k8s workers? What should the heap/ram info be for the k8ssandra helm chart? Pretend like I'm an idiot, which, in this case, I sort of am. Once I get that, I'll run through the configuration on my machine to make sure everything is working, repeatable and reliable. Thanks! |
Good point @johnwfrancis!
With 4GB RAM, that would be:
The number of workers doesn't matter performance wise, but if you have a single worker node (like with
|
Thanks!! So with only 4 gigs (allocated to Docker in the case of the standalone solutions like Kind/K3d/MInikube) you're limited to a single C* node, right? |
Correct 👍 |
@johnwfrancis completed this doc request, https://k8ssandra.io/docs/getting-started/#resource-recommendations-for-local-kubernetes-installations. Closing. |
Is your feature request related to a problem? Please describe.
It's not clear what system resource requirements there are to run k8ssandra.
Describe the solution you'd like
Document the resource requirements for some basic development and production scenarios.
The text was updated successfully, but these errors were encountered: