Skip to content

Commit

Permalink
remove misunderstanding about StorageVersion API
Browse files Browse the repository at this point in the history
  • Loading branch information
lavalamp committed Mar 21, 2023
1 parent a9a98bd commit 6ce7c55
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,22 +187,21 @@ incorrectly or objects being garbage collected mistakenly.
* Change cluster installation procedures (no new certs etc)
* Lock particular clients to particular versions


## Proposal

API changes:
API change:
* To the apiservices API, add an "alternates" clause, a list of
apiservers which believe they can serve the group-version.
* To ??? API, add ability to tell which apiservers can serve a resource.

API server change:
* A controller adds the apiserver to the list of alternates for its built-in
group-versions.
* The same controller removes expired apiservers from the list. (Enabled by the
apiserver identity work.)
* A new handler is added to the stack:
- If the request is for a group/version the apiserver doesn't have locally, it
will proxy the request to one of the alternates instead.
- If the request is for a group/version the apiserver doesn't have locally (we
can use the StorageVersion API), it will proxy the request to one of the
alternates instead.

### User Stories (Optional)

Expand Down Expand Up @@ -258,7 +257,7 @@ TODO: security / cert stuff.

## Design Details

TODO: specific API change (x2)
TODO: specific API change(s)

TODO: explanation of how the handler will determine a request is for a resource
that should be proxied.
Expand Down

0 comments on commit 6ce7c55

Please sign in to comment.