Skip to content

Commit

Permalink
[chore] expose GC configuration settings for Knative Serving
Browse files Browse the repository at this point in the history
  • Loading branch information
akirillov committed Aug 24, 2021
1 parent 349a985 commit cebdcf5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions staging/knative/charts/serving/templates/serving.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,10 @@ metadata:
annotations:
knative.dev/example-checksum: "4b89cfa0"
data:
stale-revision-create-delay: "{{ .Values.gc.staleRevisionCreateDelay }}"
stale-revision-timeout: "{{ .Values.gc.staleRevisionTimeout }}"
stale-revision-minimum-generations: "{{ .Values.gc.staleRevisionMinimumGenerations }}"
stale-revision-lastpinned-debounce: "{{ .Values.gc.staleRevisionLastpinnedDebounce }}"
_example: |
################################
# #
Expand Down
6 changes: 6 additions & 0 deletions staging/knative/charts/serving/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ namespaceKnativeServing:

configDeployment:
registriesSkippingTagResolving: ""

gc:
staleRevisionCreateDelay: "48h"
staleRevisionTimeout: "15h"
staleRevisionMinimumGenerations: "20"
staleRevisionLastpinnedDebounce: "5h"
5 changes: 5 additions & 0 deletions staging/knative/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ serving:
additionalLabels: {}
configDeployment:
registriesSkippingTagResolving: ""
gc:
staleRevisionCreateDelay: "48h"
staleRevisionTimeout: "15h"
staleRevisionMinimumGenerations: "20"
staleRevisionLastpinnedDebounce: "5h"

0 comments on commit cebdcf5

Please sign in to comment.