mirror of
https://github.com/goharbor/harbor.git
synced 2024-08-23 04:23:00 +02:00
[cherry-pick] docs: add helpful description for cache layer configurations (#17319)
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
44da12db6c
commit
408788ce5d
|
@ -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