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 overriding snapshotclass per PVC #21

Open
JohnStrunk opened this issue Nov 3, 2019 · 1 comment
Open

Allow overriding snapshotclass per PVC #21

JohnStrunk opened this issue Nov 3, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@JohnStrunk
Copy link
Member

It should be possible to override the snapshotclass on a per-PVC basis by setting an annotation on the PVC.

In decreasing priority:

  1. PVC annotation
  2. class from the schedule
  3. cluster default
@JohnStrunk JohnStrunk added the enhancement New feature or request label Nov 3, 2019
@wjentner
Copy link
Contributor

I'm currently running into this.
I have multiple storage classes, and I'd like to set up the scheduler for each of them.
Another solution for me would be to extend the claimSelector to also match for pvc.spec.volumeClassName

My current workaround is to use PVC labels, but this is error-prone as not all PVCs can be fully customized in all helm charts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants