Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache-server scaffolding #1790

Merged

Conversation

p0lyn0mial
Copy link
Contributor

@p0lyn0mial p0lyn0mial commented Aug 18, 2022

Summary

This PR creates an empty server/binary that follows options/config/server pattern.
The server can be run in two modes, as a standalone binary or can be embedded into the existing server.
This is the first part, in the following PRs I'm planning to wire the generic api server, the etcd, and the apiextention server.

The cache server hosts data/resources that are required by shards.
It serves as a cache helping to reduce the storage that would have to
be copied onto every shard otherwise.

The actual group of shards that will use this server should be part of 
the topology. For example, it can be used only by shards that are in 
the same geographical region.

On a high level, the server exposes two HTTP paths. The first one is 
used by the shards for getting all resources. The second one is used 
by individual shards to push data they wish to be shared.

There are no limits on the types of data this server hosts. The rule of 
thumb is that they must be common for a larger group of shards. 
For example the root APIs. 

Related issue(s)

part of 4. implement replication controller / cache server in #1225

@p0lyn0mial
Copy link
Contributor Author

/assign @stevekuznetsov @sttts

it creates an empty server that follows options/config/server pattern.
@p0lyn0mial p0lyn0mial force-pushed the cache-server-scaffolding branch from fdf368a to f04873b Compare August 18, 2022 13:14
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 18, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 18, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stevekuznetsov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 18, 2022
@openshift-merge-robot openshift-merge-robot merged commit 3df231b into kcp-dev:main Aug 18, 2022
@stevekuznetsov
Copy link
Contributor

#342

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants