DataStax Academy FAQ

DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.

Check out the Academy FAQ pages for answers to your questions:


question

nagasree963_193876 avatar image
nagasree963_193876 asked ·

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 characters needed characters left characters exceeded

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 ·

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 characters needed characters left characters exceeded

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

This is really good to know. Thanks!

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

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 characters needed characters left characters exceeded

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

okay. Got it. Thank you

0 Likes 0 · ·