-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OCPBUGS-27496#Update provisioner from in-tree to CSI #71398
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | ||
metadata: | ||
name: <storage-class-name> <1> | ||
provisioner: kubernetes.io/azure-disk | ||
provisioner: disk.csi.azure.com | ||
volumeBindingMode: WaitForFirstConsumer <2> | ||
allowVolumeExpansion: true | ||
parameters: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Azure Disk CSI driver has their parameters documented here: https://github.com/openshift/azure-disk-csi-driver/blob/release-4.14/docs/driver-parameters.md
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ kind: StorageClass | |
apiVersion: storage.k8s.io/v1 | ||
metadata: | ||
name: <azure-file> <1> | ||
provisioner: kubernetes.io/azure-file | ||
provisioner: file.csi.azure.com | ||
parameters: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Upstream docs: https://github.com/openshift/azure-file-csi-driver/blob/release-4.14/docs/driver-parameters.md Our doc looks OK, upstream only documents much more options. |
||
location: eastus <2> | ||
skuName: Standard_LRS <3> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ kind: StorageClass | |
apiVersion: storage.k8s.io/v1 | ||
metadata: | ||
name: <storage-class-name> <1> | ||
provisioner: kubernetes.io/cinder | ||
provisioner: cinder.csi.openstack.org | ||
parameters: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
type: fast <2> | ||
availability: nova <3> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | ||
metadata: | ||
name: <storage-class-name> <1> | ||
provisioner: kubernetes.io/gce-pd | ||
provisioner: pd.csi.storage.gke.io | ||
parameters: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Upstream doc: https://github.com/openshift/gcp-pd-csi-driver/blob/release-4.14/README.md#createvolume-parameters Our doc looks OK, upstream only documents has few more options |
||
type: pd-standard <2> | ||
replication-type: none | ||
|
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.
CSI drivers can have different
parameters
than corresponding in-tree volume plugins.For AWS EBS, 4.14 understands these options: https://github.com/openshift/aws-ebs-csi-driver/blob/release-4.14/docs/parameters.md (replace
4.14
in the URL with a different versions, 4.15 got a few new ones)It seems that our documentation is still valid for AWS EBS. The CSI driver has more options that we don't document yet. And the question is if we should, because it's a huge effort - we would need to test the options first.
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.
@jsafrane
How about just listing the OCP pre-defined storageclass content (like https://github.com/openshift/aws-ebs-csi-driver-operator/blob/master/assets/storageclass_gp3.yaml) in this "dynamic-provisioning" section and documenting more parameters when introducing the CSI Driver section?
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.
That would work for me