nydus/storage
Baptiste Girard-Carrabin 340b2cb170 [registry] Disable token refresh thread when prefetch is enabled
Add a new RegistryConfig field called `disable_token_refresh` that will decide whether the registry refresh token thread is started or not.
It will be set to false by default but will be enabled when prefetch is enabled. The refresh thread is disabled in this case because it becomes useless once everything has been prefetched and it's unlikely that tokens would expire during the time it takes for the prefetch to run (as it would mean that regular image pulls  would be likely to fail as well because they download the layers in a similar time to the prefetch)

Signed-off-by: Baptiste Girard-Carrabin <baptiste.girardcarrabin@datadoghq.com>
2025-10-14 15:55:06 +08:00
..
src [registry] Disable token refresh thread when prefetch is enabled 2025-10-14 15:55:06 +08:00
Cargo.toml build: Move fuse-backend-rs into workspace 2025-09-23 15:59:28 +08:00
LICENSE-APACHE
LICENSE-BSD-3-Clause
README.md storage: introduce new backend `localdisk` 2023-02-08 17:03:24 +08:00

README.md

nydus-storage

The core storage subsystem for Nydus Image Service to:

  • Fetch blob objects from storage backend such as Registry, OSS, S3, local disk and file systems etc.
  • Load data from storage backend on demand.
  • Cache blob objects on local storage.

Support

Platforms:

  • x86_64
  • aarch64

Operating Systems:

  • Linux
  • MacOS

License

This code is licensed under Apache-2.0 or BSD-3-Clause.