Skip to content

docs(designs): usage database authentication - #2716

Open
liuxu623 wants to merge 1 commit into
kai-scheduler:mainfrom
liuxu623:docs/usage-db-auth-design
Open

liuxu623 wants to merge 1 commit into
kai-scheduler:mainfrom
liuxu623:docs/usage-db-auth-design

Conversation

@liuxu623

Copy link
Copy Markdown
Contributor

Description

Design doc for authenticating the usage database client, as asked in #2639.

It follows the prototype in #2640 and kai-scheduler/api#34, with one addition: a connection string with userinfo together with auth is rejected, because the userinfo would silently win.

There are four open questions at the end. The main one is whether the SchedulingShard and the scheduler configuration should share one Auth type.

Related Issues

Related to #2639.

Checklist

  • Self-reviewed
  • Added/updated tests (if needed): not needed, documentation only
  • Updated documentation (if needed)
  • Added a changelog fragment via make changelog (or applied the skip-changelog label): documentation only, please apply skip-changelog

Breaking Changes

None.

Additional Notes

The doc is docs/developer/designs/time-based-fairshare/usage-db-authentication.md, next to the other time-based fair share designs.

🤖 Generated with Claude Code

Design for usageDBConfig.auth: basic auth or an Authorization header
for the usage database client of time-based fair share, with the
credentials in Secret keys that the operator mounts into the scheduler
pod.

Refs kai-scheduler#2639

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: liuxu <liuxu623@gmail.com>

This branch has not been deployed

No deployments
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