Skip to content

Commit 6b91b18

Browse files
cloudrunv2: Update V1 and V2 CPU limit Description (#15326)
1 parent a7b6108 commit 6b91b18

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

mmv1/products/cloudrun/Service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,10 @@ properties:
534534
type: KeyValuePairs
535535
description: |-
536536
Limits describes the maximum amount of compute resources allowed.
537+
CPU Limit details:
538+
- For fractional CPU values (e.g. `0.5`, `0.75`, min `0.08`) are also supported.
539+
- CPU allocation must comply with memory limits and concurrency rules described in:
540+
https://cloud.google.com/run/docs/configuring/services/cpu
537541
The values of the map is string form of the 'quantity' k8s type:
538542
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
539543
default_from_api: true

mmv1/products/cloudrunv2/Service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ properties:
541541
- name: 'limits'
542542
type: KeyValuePairs
543543
description: |-
544-
Only memory, CPU, and nvidia.com/gpu are supported. Use key `cpu` for CPU limit, `memory` for memory limit, `nvidia.com/gpu` for gpu limit. 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
544+
Only memory, CPU, and nvidia.com/gpu are supported. Use key `cpu` for CPU limit, `memory` for memory limit, `nvidia.com/gpu` for gpu limit. Note: The only supported values for CPU are '1', '2', '4', '6' 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
545545
default_from_api: true
546546
- name: 'cpuIdle'
547547
type: Boolean

0 commit comments

Comments
 (0)