-
Notifications
You must be signed in to change notification settings - Fork 122
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
GH#1906: Update storage provisioners #1908
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 |
---|---|---|
|
@@ -98,7 +98,7 @@ apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | ||
metadata: | ||
name: tigera-elasticsearch | ||
provisioner: kubernetes.io/aws-ebs | ||
provisioner: ebs.csi.aws.com | ||
parameters: | ||
type: gp2 | ||
fsType: ext4 | ||
|
@@ -124,7 +124,7 @@ apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | ||
metadata: | ||
name: tigera-elasticsearch | ||
provisioner: kubernetes.io/azure-disk | ||
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. @ctauchen I think other 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. see e.g. this document from AWS 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. Thanks, I've updated 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. @ctauchen I am not sure about AWS and GCP but on AKS the providers do have to be activated while provisioning a cluster, see e.g. here: https://learn.microsoft.com/en-us/azure/aks/csi-storage-drivers#enable-csi-storage-drivers-on-an-existing-cluster |
||
provisioner: disk.cni.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. We performed this migration last week and it turns out that the new provisioners also have a different parameter syntax. The available parameters for disk.cni.azure.com are listed here The Azure parameters block should look as follows, I believe: parameters:
cachingMode: ReadOnly
skuName: StandardSSD_LRS I am not sure about GCP and AWS, though 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. see my other comments regarding GKE and EBS |
||
cachingmode: ReadOnly | ||
kind: Managed | ||
|
@@ -149,7 +149,7 @@ apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | ||
metadata: | ||
name: tigera-elasticsearch | ||
provisioner: kubernetes.io/gce-pd | ||
provisioner: pd.csi.storage.gke.io | ||
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. the GKE parameters look correct, see here |
||
parameters: | ||
type: pd-ssd | ||
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.
the EBS parameters are listed here
They would have to be changed as follows, I believe: