-
Notifications
You must be signed in to change notification settings - Fork 35
Enable StoragePool #151
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
Enable StoragePool #151
Changes from 1 commit
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 |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ providerSpec: | |
| # kmsKeyServiceAccount: "[email protected]" # email of service account (optional) | ||
| # provisionedIops: 3000 # IOPS that the disk can handle (optional) | ||
| # provisionedThroughput: 140 # throughput unit in MB per sec (optional) | ||
| # storagePool: zones/zone/storagePools/storagePool # StoragePool where the new disk is created (optional) | ||
| labels: | ||
| name: test-mc # Label assigned to the disk | ||
| labels: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -236,6 +236,11 @@ type GCPDisk struct { | |
| // the value zero will be omitted from the request because GCP client | ||
| // will not write any "empty" values to the request | ||
| ProvisionedThroughput int64 `json:"provisionedThroughput,omitempty"` | ||
|
|
||
| // StoragePool in which the new disk is created. | ||
| // You can provide this as a partial or full URL to the resource. For example | ||
| // https://www.googleapis.com/compute/v1/projects/project/zones/zone | ||
| StoragePool string `json:"storagePool,omitempty"` | ||
|
||
| } | ||
|
|
||
| // GCPDiskEncryption holds references to encryption data | ||
|
|
||
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.
Are these values fair and sensible defaults?
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.
Not sure if I interpreted your comment exactly right, but I tweaked the storagePool field in the example to make it a bit clearer.
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.
Yes, this is clear enough now
Thank you!