Skip to content

Add experimental Overlaybd API server pre-auth#349

Open
pakkah wants to merge 1 commit intocontainerd:mainfrom
pakkah:main
Open

Add experimental Overlaybd API server pre-auth#349
pakkah wants to merge 1 commit intocontainerd:mainfrom
pakkah:main

Conversation

@pakkah
Copy link
Copy Markdown

@pakkah pakkah commented Mar 24, 2026

What this PR does / why we need it:

This PR adds an experimental Overlaybd API server pre-auth hook in the
snapshotter path.

When the experimental pre-auth feature is enabled, the snapshotter
notifies the Overlaybd API server with the generated overlaybd config
before attaching the device. This allows the API server to warm up auth
state ahead of the actual attach path, which helps reduce auth-related
latency during device setup.

The PR also adds the related experimental configuration fields and
default values, updates the documentation, and includes unit tests for
the new config behavior.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

@pakkah pakkah marked this pull request as ready for review March 24, 2026 09:09
Signed-off-by: Zhaoxiang Huang <zhaoxiang.huang@outlook.com>
@pakkah pakkah changed the title Improve Prepare concurrency and introduce overlaybd API pre-auth for concurrent TCMU device creation Add experimental Overlaybd API server pre-auth Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant