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

Detect available StorageClasses #20

Open
jorti opened this issue May 16, 2023 · 2 comments
Open

Detect available StorageClasses #20

jorti opened this issue May 16, 2023 · 2 comments

Comments

@jorti
Copy link

jorti commented May 16, 2023

The deploy script deployment/lvctl.sh creates the PVCs in the hard-coded ocs-storagecluster-ceph-rbd StorageClass by default.

If no StorageClass is specified in the command line, the script should ideally create the PVCs in the default storage class (the one with the annotation storageclass.kubernetes.io/is-default-class="true") or in any existing StorageClass if the default is not defined.

@vladikr
Copy link
Owner

vladikr commented May 17, 2023

Thanks.
Yea... We'll need to find a way how to deal with this. Not all storage classes can provide a filesystem volume.

Could you for now run use the --storage_class option? (./deployment/lvctl.sh --create ----storage_class=[storage_class])

@jorti
Copy link
Author

jorti commented May 18, 2023

Could you for now run use the --storage_class option? (./deployment/lvctl.sh --create ----storage_class=[storage_class])

Manually specifying the storageclass works fine. Thanks.

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

No branches or pull requests

2 participants