question

nagasree963_193876 avatar image
nagasree963_193876 asked Erick Ramirez commented

Does the cass-operator support auto scaling of resources?

I know before I asked about vertical scaling. You cleared it @Erick Ramirez. But we are changing it manually, as per our requirements. Is there any option like where it scales automatically, when needs more memory.

cass-operator
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

john.sanda_194109 avatar image
john.sanda_194109 answered Erick Ramirez commented

If you are referring to the Vertical Pod Autoscaler (VPA), then you should be able to use it. cass-operator does not have any built-in support for it, but I do not think any special support is required as the VPA works directly with pods.


The Horizontal Pod Autoscaler (HPA) does support custom resources. A resource can have a scale subresource that is used by HPA. cass-operator does not have any integration with HPA.

Scaling a Cassandra cluster can be a very expensive operation due to the data streaming involved, so I would exercise caution about auto scaling the cluster with HPA.

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Erick Ramirez avatar image Erick Ramirez ♦♦ commented ·

This is really good to know. Thanks!

0 Likes 0 ·
Erick Ramirez avatar image
Erick Ramirez answered nagasree963_193876 commented

If you're referring to the cass-operator and question #6395, the operator does not support it. It will only provision statefulsets based on the configuration you've given it.

Let me know if I misunderstood your question. I'd be happy to edit my answer. Cheers!

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

nagasree963_193876 avatar image nagasree963_193876 commented ·

okay. Got it. Thank you

0 Likes 0 ·