-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Support EBS gp2 to gp3 migration on sync for below 1tb volumes #1242
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
Conversation
b1a8843 to
6bb78c8
Compare
|
👍 |
| } | ||
| } | ||
|
|
||
| if c.OpConfig.StorageResizeMode == "mixed" { |
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.
I fail to see the difference to c.OpConfig.StorageResizeMode == "pvc". If there is another case for StorageResizeMode, it should be documented.
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.
Future work, we need "mixed" to do call to EBS for volume changes and rely on PVC to do file system extension without privileged pods.
| } | ||
| } | ||
|
|
||
| func CreatePVCs(namespace string, clusterName string, labels labels.Set, n int, size string) v1.PersistentVolumeClaimList { |
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.
we could reuse this for the already existing TestResizeVolumeClaim test
|
I will add the new config fields to CRD validation and helm chart and update |
|
👍 |
1 similar comment
|
👍 |
Support migration of existing gp2 volumes below a certain threshold to be migrated to gp3.