Revision garbage collection

Knative automatically cleans up inactive revisions as configured by the Operator. For more information, see the Operator settings.

You can configure a revision so that it is never garbage collected by adding the serving.knative.dev/no-gc: "true" annotation:

  1. apiVersion: serving.knative.dev/v1
  2. kind: Revision
  3. metadata:
  4. annotations:
  5. serving.knative.dev/no-gc: "true"
  6. spec:
  7. ...