-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: support total_egress_bandwidth_tier #2207
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: drfaust92 <[email protected]>
/gcbrun |
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.
Thanks for the contribution @DrFaust92!
@@ -263,6 +263,7 @@ The node_pools variable takes the following parameters: | |||
| queued_provisioning | Makes nodes obtainable through the ProvisioningRequest API exclusively. | | Optional | | |||
| gpu_sharing_strategy | The type of GPU sharing strategy to enable on the GPU node. Accepted values are: "TIME_SHARING" and "MPS". | | Optional | | |||
| max_shared_clients_per_gpu | The maximum number of containers that can share a GPU. | | Optional | | |||
| total_egress_bandwidth_tier | Specifies the total network bandwidth tier. | | Optional | |
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 believe the accepted values are "TIER_1" and "TIER_UNSPECIFIED". Let's include in the description similar to the other parameters.
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.
will check, its not reflected in provider docs
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.
Yeah, I pulled those from here:
dynamic "network_performance_config" { | ||
for_each = lookup(each.value, "total_egress_bandwidth_tier", "") != "" ? [1] : [] | ||
content { | ||
total_egress_bandwidth_tier = lookup(each.value, "total_egress_bandwidth_tier", "") |
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.
Would null
or "TIER_UNSPECIFIED"
be a better default value? (Not that it should be possible to ever use the default value here.)
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.
will check, probably null
No description provided.