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

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

string

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

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" }.