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

K8SSAND-594 ⁃ Use cluster's default storage class if not specified explicitly #123

Closed
bsideup opened this issue Jun 15, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request zh:Product-Backlog Issues in the ZenHub pipeline 'Product-Backlog'

Comments

@bsideup
Copy link

bsideup commented Jun 15, 2021

What is missing?

storageClassName is mandatory, while it could fallback to the current default class (annotated with storageclass.beta.kubernetes.io/is-default-class: "true") for systems that are not performance critical

Why do we need it?

Many cloud providers create clusters with predefined StorageClasses that are fine for non-critical systems. Getting started with cass-operator would be much easier if they are used and remove one extra manual step from the "getting started" scenario.

Environment

Any k8s cluster.

  • Cass Operator version:

Any (current is 1.7.1)

┆Issue is synchronized with this Jira Bug by Unito
┆friendlyId: K8SSAND-594
┆priority: Medium

@bsideup bsideup added the enhancement New feature or request label Jun 15, 2021
@bsideup bsideup changed the title Use Cluster's default storage class if not specified explicitly Use cluster's default storage class if not specified explicitly Jun 15, 2021
@sync-by-unito sync-by-unito bot changed the title Use cluster's default storage class if not specified explicitly K8SSAND-594 ⁃ Use cluster's default storage class if not specified explicitly Apr 4, 2022
@bradfordcp
Copy link
Member

I'm open to this solution, but in my experience many of the cloud providers use volumeBindingMode: Immediate which will cause the cluster's pods to get stuck in a pending state should the volume end up provisioned in an AZ other than where the pod is located.

There isn't an easy way for us to check the mode is appropriate at this time. It may be possible with k8ssandra-operator. We need to check the default storage classes for our documented cloud providers to determine if this behavior should change.

@jsanda
Copy link
Contributor

jsanda commented Apr 8, 2022

I think we can close this. I don't think it is something we want to do and definitely in k8ssandra. If there still is interest a new issue should be opened in k8ssandra-operator.

@bradfordcp bradfordcp self-assigned this Apr 20, 2022
@adejanovski adejanovski added zh:Product-Backlog Issues in the ZenHub pipeline 'Product-Backlog' and removed zh:Assess/Investigate labels Apr 20, 2022
@adejanovski adejanovski added zh:Product-Backlog Issues in the ZenHub pipeline 'Product-Backlog' and removed zh:Product-Backlog Issues in the ZenHub pipeline 'Product-Backlog' labels Aug 30, 2022
@burmanm
Copy link
Contributor

burmanm commented Sep 20, 2022

Closing this, if still necessary - reopen discussion in k8ssandra-operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request zh:Product-Backlog Issues in the ZenHub pipeline 'Product-Backlog'
Projects
No open projects
Archived in project
Development

No branches or pull requests

5 participants