You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google/resource_cloud_run_v2_service.go
+22
Original file line number
Diff line number
Diff line change
@@ -303,6 +303,11 @@ If omitted, a port number will be chosen and passed to the container through the
303
303
Description: `Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go`,
304
304
Elem: &schema.Schema{Type: schema.TypeString},
305
305
},
306
+
"startup_cpu_boost": {
307
+
Type: schema.TypeBool,
308
+
Optional: true,
309
+
Description: `Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.`,
310
+
},
306
311
},
307
312
},
308
313
},
@@ -1618,6 +1623,8 @@ func flattenCloudRunV2ServiceTemplateContainersResources(v interface{}, d *schem
Copy file name to clipboardExpand all lines: website/docs/r/cloud_run_v2_service.html.markdown
+4
Original file line number
Diff line number
Diff line change
@@ -473,6 +473,10 @@ The following arguments are supported:
473
473
(Optional)
474
474
Determines whether CPU should be throttled or not outside of requests.
475
475
476
+
*`startup_cpu_boost` -
477
+
(Optional)
478
+
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
0 commit comments