RevisionTemplate

RevisionTemplateSpec describes the data a revision should have when created from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190

JSON representation
{
  "metadata": {
    object (ObjectMeta)
  },
  "spec": {
    object (RevisionSpec)
  }
}
Fields
metadata

object (ObjectMeta)

Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. To set minimum instances for this revision, use the "autoscaling.knative.dev/minScale" annotation key. To set maximum instances for this revision, use the "autoscaling.knative.dev/maxScale" annotation key. To set Cloud SQL connections for the revision, use the "run.googleapis.com/cloudsql-instances" annotation key.

spec

object (RevisionSpec)

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

Was this page helpful? Let us know how we did:

Send feedback about...