-
Notifications
You must be signed in to change notification settings - Fork 200
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
refact(cstor-pool,sparse): Update SPC type to blockdevice #1264
refact(cstor-pool,sparse): Update SPC type to blockdevice #1264
Conversation
With latest changes, to create StoragePoolClaim we have to use spc type blockdevice as common type instead of sparse/disk for creating sparse or disk based cstor pools ``` apiVersion: openebs.io/v1alpha1 kind: StoragePoolClaim metadata: name: sparse-claim-auto spec: name: sparse-claim-auto type: blockdevice maxPools: 1 minPools: 1 poolSpec: poolType: striped cacheFile: /var/openebs/sparse/sparse-claim-auto.cache overProvisioning: false ``` Signed-off-by: prateekpandey14 <[email protected]>
e07be28
to
0050152
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are good
…chive#1264) With latest changes, to create StoragePoolClaim we have to use spc type blockdevice as common type instead of sparse/disk for creating sparse or disk based cstor pools ``` apiVersion: openebs.io/v1alpha1 kind: StoragePoolClaim metadata: name: sparse-claim-auto spec: name: sparse-claim-auto type: blockdevice maxPools: 1 minPools: 1 poolSpec: poolType: striped cacheFile: /var/openebs/sparse/sparse-claim-auto.cache overProvisioning: false ``` Signed-off-by: prateekpandey14 <[email protected]>
…unclaimed BD in manual mode (#1267) * refact(cstor-pool,sparse): Update SPC type to blockdevice (#1264) With latest changes, to create StoragePoolClaim we have to use spc type blockdevice as common type instead of sparse/disk for creating sparse or disk based cstor pools ``` apiVersion: openebs.io/v1alpha1 kind: StoragePoolClaim metadata: name: sparse-claim-auto spec: name: sparse-claim-auto type: blockdevice maxPools: 1 minPools: 1 poolSpec: poolType: striped cacheFile: /var/openebs/sparse/sparse-claim-auto.cache overProvisioning: false ``` Signed-off-by: prateekpandey14 <[email protected]> * feat(cstor-operator): add a support to create pools on unclaimed BD in manual mode (#1255) Signed-off-by: mittachaitu <[email protected]>
…ckdeviceclaim (#1270) * refact(cstor-pool,sparse): Update SPC type to blockdevice (#1264) With latest changes, to create StoragePoolClaim we have to use spc type blockdevice as common type instead of sparse/disk for creating sparse or disk based cstor pools ``` apiVersion: openebs.io/v1alpha1 kind: StoragePoolClaim metadata: name: sparse-claim-auto spec: name: sparse-claim-auto type: blockdevice maxPools: 1 minPools: 1 poolSpec: poolType: striped cacheFile: /var/openebs/sparse/sparse-claim-auto.cache overProvisioning: false ``` Signed-off-by: prateekpandey14 <[email protected]> * feat(cstor-operator): add a support to create pools on unclaimed BD in manual mode (#1255) Signed-off-by: mittachaitu <[email protected]> * fix(blockdeviceclaims): fix openebs version type in blockdeviceclaim (#1269) Signed-off-by: mittachaitu <[email protected]>
What this PR does / why we need it:
With latest cstor pool configuration changes, to create StoragePoolClaim we have to
use spc
type: blockdevice
as common type to create Storagepool based on either disk or sparse.The type specific info i.e.
Sparse
andDisk
has been move to theBlockDeviceClaim
resource.1. New SPC example where
type: blockdevice
has been set for all.2. Old SPC example where we have to set
type: sparse
to create a sparse based pool.Refer PR #1255 for more details
Signed-off-by: prateekpandey14 [email protected]
Checklist:
documentation
tagbreaking-changes
tagrequires-upgrade
tag