RevisionSpec

RevisionSpec holds the desired state of the Revision (from the client).

JSON representation
 { 
 "containerConcurrency" 
 : 
 integer 
 , 
 "timeoutSeconds" 
 : 
 integer 
 , 
 "serviceAccountName" 
 : 
 string 
 , 
 "containers" 
 : 
 [ 
 { 
 object (  Container 
 
) 
 } 
 ] 
 , 
 "volumes" 
 : 
 [ 
 { 
 object (  Volume 
 
) 
 } 
 ] 
 , 
 "runtimeClassName" 
 : 
 string 
 , 
 "enableServiceLinks" 
 : 
 boolean 
 , 
 "imagePullSecrets" 
 : 
 [ 
 { 
 object (  LocalObjectReference 
 
) 
 } 
 ] 
 , 
 "nodeSelector" 
 : 
 { 
 string 
 : 
 string 
 , 
 ... 
 } 
 } 
Fields
containerConcurrency

integer

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

integer

Optional. 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).

containers[]

object ( Container )

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[]

object ( Volume )

runtimeClassName

string

Runtime. Leave unset for default.

imagePullSecrets[]

object ( LocalObjectReference )

Not supported by Cloud Run.

nodeSelector

map (key: string, value: string)

Optional. The Node Selector configuration. Map of selector key to a value which matches a node.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" } .

Design a Mobile Site
View Site in Mobile | Classic
Share by: