RevisionSpec holds the desired state of the Revision (from the client).
JSON representation |
---|
{ "containerConcurrency": integer, "timeoutSeconds": integer, "serviceAccountName": string, "containers": [ { object ( |
Fields | |
---|---|
containerConcurrency |
ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1. |
timeoutSeconds |
TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). |
serviceAccountName |
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. |
containers[] |
Required. Containers holds the list which define the units of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. |
volumes[] |
|
runtimeClassName |
Runtime. Leave unset for default. |
enableServiceLinks |
Not supported by Cloud Run. |
imagePullSecrets[] |
Not supported by Cloud Run. |
nodeSelector |
Optional. The Node Selector configuration. Map of selector key to a value which matches a node. An object containing a list of |