The IBM Spectrum Scale Container Storage Interface (CSI) project enables container orchestrators, such as Kubernetes and OpenShift, to manage the life-cycle of persistent storage.
Apache License 2.0
64
stars
50
forks
source link
SC can set min PV size and condition for MAX PV Size limit #1150
Please check the type of change your PR introduces:
- [ ] Bugfix
- [x] Feature Enhancement
- [ ] Test Automation
- [ ] Code Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Community Operator listing
- [ ] Other (please describe):
## What is the current behavior?
-
What is the new behavior?
PV size higher than the scale-allowed size(999999999999999Ki) is not allowed.
(Optional) Storage class can be configured to set min PV size. If PV requested with lesser value than the SC limit, then minSize of the SC will be used.
apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: ibm-spectrum-scale-csi-fileset namespace: ibm-spectrum-scale-csi-driver provisioner: spectrumscale.csi.ibm.com parameters: volBackendFs: "fs1" pvMinSize: 3Gi reclaimPolicy: Delete
How risky is this change?
[ ] Small, isolated change
[x] Medium, requires regression testing
[ ] Large, requires functional and regression testing
Pull request checklist
Pull request type
Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature Enhancement - [ ] Test Automation - [ ] Code Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Community Operator listing - [ ] Other (please describe): ## What is the current behavior?-
What is the new behavior?
apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: ibm-spectrum-scale-csi-fileset namespace: ibm-spectrum-scale-csi-driver provisioner: spectrumscale.csi.ibm.com parameters: volBackendFs: "fs1" pvMinSize: 3Gi reclaimPolicy: Delete
How risky is this change?