config-gc created 2021-08-30 18:59:53, version 6575

apiVersion: v1
data:
  _example: '################################

    #                              #

    #    EXAMPLE CONFIGURATION     #

    #                              #

    ################################


    # This block is not actually functional configuration,

    # but serves to illustrate the available configuration

    # options and document them in a way that is accessible

    # to users that `kubectl edit` this config map.

    #

    # These sample configuration options may be copied out of

    # this example block and unindented to be in the data block

    # to actually change the configuration.



    # ---------------------------------------

    # Garbage Collector Settings

    # ---------------------------------------

    #

    # Active

    #   * Revisions which are referenced by a Route are considered active.

    #   * Individual revisions may be marked with the annotation

    #      "knative.dev/no-gc":"true" to be permanently considered active.

    #   * Active revisions are not considered for GC.

    # Retention

    #   * Revisions are retained if they are any of the following:

    #       1. Active

    #       2. Were created within "retain-since-create-time"

    #       3. Were last referenced by a route within

    #           "retain-since-last-active-time"

    #       4. There are fewer than "min-non-active-revisions"

    #     If none of these conditions are met, or if the count of revisions exceed

    #      "max-non-active-revisions", they will be deleted by GC.

    #     The special value "disabled" may be used to turn off these limits.

    #

    # Example config to immediately collect any inactive revision:

    #    min-non-active-revisions: "0"

    #    retain-since-create-time: "disabled"

    #    retain-since-last-active-time: "disabled"

    #

    # Example config to always keep around the last ten non-active revisions:

    #     retain-since-create-time: "disabled"

    #     retain-since-last-active-time: "disabled"

    #     max-non-active-revisions: "10"

    #

    # Example config to disable all GC:

    #     retain-since-create-time: "disabled"

    #     retain-since-last-active-time: "disabled"

    #     max-non-active-revisions: "disabled"

    #

    # Example config to keep recently deployed or active revisions,

    # always maintain the last two in case of rollback, and prevent

    # burst activity from exploding the count of old revisions:

    #      retain-since-create-time: "48h"

    #      retain-since-last-active-time: "15h"

    #      min-non-active-revisions: "2"

    #      max-non-active-revisions: "1000"


    # Duration since creation before considering a revision for GC or "disabled".

    retain-since-create-time: "48h"


    # Duration since active before considering a revision for GC or "disabled".

    retain-since-last-active-time: "15h"


    # Minimum number of non-active revisions to retain.

    min-non-active-revisions: "20"


    # Maximum number of non-active revisions to retain

    # or "disabled" to disable any maximum limit.

    max-non-active-revisions: "1000"

    '
kind: ConfigMap
metadata:
  annotations:
    knative.dev/example-checksum: e6149382
    kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","data":{"_example":"################################\n#                              #\n#    EXAMPLE
      CONFIGURATION     #\n#                              #\n################################\n\n#
      This block is not actually functional configuration,\n# but serves to illustrate
      the available configuration\n# options and document them in a way that is accessible\n#
      to users that `kubectl edit` this config map.\n#\n# These sample configuration
      options may be copied out of\n# this example block and unindented to be in the
      data block\n# to actually change the configuration.\n\n\n# ---------------------------------------\n#
      Garbage Collector Settings\n# ---------------------------------------\n#\n#
      Active\n#   * Revisions which are referenced by a Route are considered active.\n#   *
      Individual revisions may be marked with the annotation\n#      \"knative.dev/no-gc\":\"true\"
      to be permanently considered active.\n#   * Active revisions are not considered
      for GC.\n# Retention\n#   * Revisions are retained if they are any of the following:\n#       1.
      Active\n#       2. Were created within \"retain-since-create-time\"\n#       3.
      Were last referenced by a route within\n#           \"retain-since-last-active-time\"\n#       4.
      There are fewer than \"min-non-active-revisions\"\n#     If none of these conditions
      are met, or if the count of revisions exceed\n#      \"max-non-active-revisions\",
      they will be deleted by GC.\n#     The special value \"disabled\" may be used
      to turn off these limits.\n#\n# Example config to immediately collect any inactive
      revision:\n#    min-non-active-revisions: \"0\"\n#    retain-since-create-time:
      \"disabled\"\n#    retain-since-last-active-time: \"disabled\"\n#\n# Example
      config to always keep around the last ten non-active revisions:\n#     retain-since-create-time:
      \"disabled\"\n#     retain-since-last-active-time: \"disabled\"\n#     max-non-active-revisions:
      \"10\"\n#\n# Example config to disable all GC:\n#     retain-since-create-time:
      \"disabled\"\n#     retain-since-last-active-time: \"disabled\"\n#     max-non-active-revisions:
      \"disabled\"\n#\n# Example config to keep recently deployed or active revisions,\n#
      always maintain the last two in case of rollback, and prevent\n# burst activity
      from exploding the count of old revisions:\n#      retain-since-create-time:
      \"48h\"\n#      retain-since-last-active-time: \"15h\"\n#      min-non-active-revisions:
      \"2\"\n#      max-non-active-revisions: \"1000\"\n\n# Duration since creation
      before considering a revision for GC or \"disabled\".\nretain-since-create-time:
      \"48h\"\n\n# Duration since active before considering a revision for GC or \"disabled\".\nretain-since-last-active-time:
      \"15h\"\n\n# Minimum number of non-active revisions to retain.\nmin-non-active-revisions:
      \"20\"\n\n# Maximum number of non-active revisions to retain\n# or \"disabled\"
      to disable any maximum limit.\nmax-non-active-revisions: \"1000\"\n"},"kind":"ConfigMap","metadata":{"annotations":{"knative.dev/example-checksum":"e6149382"},"labels":{"serving.knative.dev/release":"v0.24.0"},"name":"config-gc","namespace":"knative-serving","ownerReferences":[{"apiVersion":"operator.knative.dev/v1alpha1","blockOwnerDeletion":true,"controller":true,"kind":"KnativeServing","name":"knative-serving","uid":"5162f181-a47b-4465-a388-ee8a99ad290e"}]}}

      '
  creationTimestamp: '2021-08-30T18:59:53Z'
  labels:
    serving.knative.dev/release: v0.24.0
  managedFields:
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:data:
        .: {}
        f:_example: {}
      f:metadata:
        f:annotations:
          .: {}
          f:knative.dev/example-checksum: {}
          f:kubectl.kubernetes.io/last-applied-configuration: {}
        f:labels:
          .: {}
          f:serving.knative.dev/release: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"5162f181-a47b-4465-a388-ee8a99ad290e"}:
            .: {}
            f:apiVersion: {}
            f:blockOwnerDeletion: {}
            f:controller: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
    manager: manifestival
    operation: Update
    time: '2021-08-30T19:00:07Z'
  name: config-gc
  namespace: knative-serving
  ownerReferences:
  - apiVersion: operator.knative.dev/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: KnativeServing
    name: knative-serving
    uid: 5162f181-a47b-4465-a388-ee8a99ad290e
  resourceVersion: '6575'
  uid: b3d04309-bb32-4846-a2e0-3f2ca56dad69