Skip to content
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

Allow volume addition #602

Open
adejanovski opened this issue Dec 19, 2023 · 1 comment
Open

Allow volume addition #602

adejanovski opened this issue Dec 19, 2023 · 1 comment
Labels
assess Issues in the state 'assess' enhancement New feature or request

Comments

@adejanovski
Copy link
Contributor

adejanovski commented Dec 19, 2023

What is missing?

We currently don't have an automated way of expanding the storage capacity of Cassandra pods.
This can lead to tricky situations in production where storage is close to being full and cluster expansion would take too long to mitigate the issue.

In some cases, volume expansion will be possible if the storage class allows it, but there are cases where it will be faster to attach an additional volume to the pods and configure Cassandra to use it as additional data directory.

Scenario should be automated in cass-operator and handle manipulating the statefulsets to achieve this, removing the odds of misconfiguration and data loss.

Why is this needed?

It is common to run out of disk space with Cassandra under circumstances where either capacity planning hasn't been thought in advance or compaction and tombstone reclaiming isn't performing as expected.
We need to ensure that there's an easy path out of such critical situations in production.

### Requirements
- [ ] #609 Is implemented to allow metadata which volumes are used for data volume expansion
- [ ] Volumes are allowed to be modified in the StatefulSet

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: CASS-14

@burmanm
Copy link
Contributor

burmanm commented Jul 4, 2024

This should be split to two different tickets, as adding volumes is a very separate implementation detail. It's also related to #609 since currently additional volumes do not have indication what they're used for.

@burmanm burmanm moved this from Assess/Investigate to In Progress in K8ssandra Jul 9, 2024
@adejanovski adejanovski added in-progress Issues in the state 'in-progress' and removed assess Issues in the state 'assess' labels Jul 9, 2024
@burmanm burmanm changed the title Allow volume expansion and volume addition Allow volume addition Jul 9, 2024
@burmanm burmanm moved this from In Progress to Assess/Investigate in K8ssandra Jul 9, 2024
@adejanovski adejanovski added assess Issues in the state 'assess' and removed in-progress Issues in the state 'in-progress' labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assess Issues in the state 'assess' enhancement New feature or request
Projects
No open projects
Status: Assess/Investigate
Development

No branches or pull requests

2 participants