-
Notifications
You must be signed in to change notification settings - Fork 806
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
Implement support for storage class parameter - volume type #73
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leakingtapan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Test Coverage Report for Build 71
💛 - Coveralls |
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.
Two smal nits, but feel free to merge as is if you don't feel like you should address them.
pkg/cloud/cloud.go
Outdated
const ( | ||
// DefaultVolumeSize represents the default volume size. | ||
// TODO: what should be the default size? | ||
DefaultVolumeSize int64 = 1 * 1024 * 1024 * 1024 |
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.
Can we take the chance and solve this TODO?
What would be the good volume limit? Does AWS have any recommendation about this?
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.
AWS console uses 100 GiB as the default size for gp2/io1 and 500 GiB for sc1/st1. We can use the same value. How do you think we use this?
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 updated the PR to use 100 GiB.
a39a985
to
c82b969
Compare
c82b969
to
17b9e2f
Compare
/lgtm |
Fixes: #63
I regroup the consts to make them more readable and changed
IOPSPerGB
type fromint64
toint
sinceint
should be sufficient.