Skip to content

feature: Implement replication API #3367

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

Closed
1 task
Tracked by #3292
mjudeikis opened this issue Apr 9, 2025 · 0 comments · Fixed by #3382
Closed
1 task
Tracked by #3292

feature: Implement replication API #3367

mjudeikis opened this issue Apr 9, 2025 · 0 comments · Fixed by #3382
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@mjudeikis
Copy link
Contributor

mjudeikis commented Apr 9, 2025

Feature Description

Following https://docs.google.com/document/d/18Xh2-VFnH23bDiAHPP_JXm4qAG4QK6GjTKcpszPGApQ/edit?tab=t.0

Epic: #3292

We need to add a replication API to the core. The goal of the API is to enable the use of replicating objects based on resources into the cache server. The replicated object should be backed by the replication object and identity, and be able to be served via virtual workspace using the Replication identity.

Proposed Solution

Add an API:

apiVersion: cache.kcp.io/v1alpha1
kind: PublishedResource
metadata:
  name: instances
spec:
  resource: instances.corp.com
  identity:
    secret:
    namespace:
  labelSelector:
    tier: premium 
status:
  identityHash: supersecrethash

It would pick resources in the same workspace where the object is and replicate them into the cache server.

Once this is replicated, we would need to create a dedicated VirtualWorkspace and serve these when it is referred in the APIExport. (Separate ticket)

Alternative Solutions

No response

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

@mjudeikis mjudeikis added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 9, 2025
@kcp-ci-bot kcp-ci-bot added this to kcp Apr 9, 2025
@github-project-automation github-project-automation bot moved this to New in kcp Apr 9, 2025
@mjudeikis mjudeikis self-assigned this Apr 16, 2025
@github-project-automation github-project-automation bot moved this from New to Done in kcp May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant