mirror of
https://github.com/goharbor/harbor
synced 2025-04-20 20:28:55 +00:00
docs: add helpful description for cache layer configurations (#17317)
docs: add helpful description for cache layer configurations in harbor.yml.tmpl Signed-off-by: chlins <chenyuzh@vmware.com>
This commit is contained in:
parent
49999ab1c0
commit
41105b5191
|
@ -246,7 +246,17 @@ upload_purging:
|
||||||
interval: 24h
|
interval: 24h
|
||||||
dryrun: false
|
dryrun: false
|
||||||
|
|
||||||
# Cache related config
|
# cache layer configurations
|
||||||
|
# If this feature enabled, harbor will cache the resource
|
||||||
|
# `project/project_metadata/repository/artifact/manifest` in the redis
|
||||||
|
# which can especially help to improve the performance of high concurrent
|
||||||
|
# manifest pulling.
|
||||||
|
# NOTICE
|
||||||
|
# If you are deploying Harbor in HA mode, make sure that all the harbor
|
||||||
|
# instances have the same behaviour, all with caching enabled or disabled,
|
||||||
|
# otherwise it can lead to potential data inconsistency.
|
||||||
cache:
|
cache:
|
||||||
|
# not enabled by default
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# keep cache for one day by default
|
||||||
expire_hours: 24
|
expire_hours: 24
|
||||||
|
|
Loading…
Reference in New Issue
Block a user