feature: SyncAgent should remove stale Namespaces
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go
- Domain
- backend, distributed-systems
Research direction
Start by tracing SyncAgent's namespace lifecycle and reproduce the reported MSP/KCP two-cluster scenario after deleting ordered resources and the workspace. Done means stale MSP namespaces are removed when the provider is deactivated or its workspace is deleted, with the resulting behavior verified in the relevant tests or reproduction.
Written by the indexing model from the issue text.
Description
Feature Description
Hi,
I am not sure if it is a feature that should already work or if the feature simply does not exist yet.
Please feel free to adjust this issue depending on what you do know, that I do not (yet).
Situation
Currently, I have two clusters running:
- The MSP cluster: Contains operators and provides resources to the KCP cluster. The api-syncagent is deployed here.
- The KCP cluster: Is connected to the MSP cluster and orders resources from it.
I have one operator running on the MSP cluster and I can successfully "order" resources from this operator from the KCP side.
Problem
Whenever I delete all ordered resources in KCP and also delete the workspace/account the namespace on MSP side still exists and does not get deleted.
Proposed Solution
The namespace on MSP side should be deleted either when the provider has been deactivated or at least when the workspace has been deleted.
Alternative Solutions
No response
Want to contribute?
- I would like to work on this issue.
Additional Context
No response
- Dominant language
- Go
- Stars
- 25
- Forks
- 30
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kcp-dev/api-syncagent
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
kcp-dev/api-syncagent#163 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kcp-dev/api-syncagent#161 ·
-
kind/feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
kcp-dev/api-syncagent#186 · 1 reaction ·
-
kind/bug
kcp-dev/api-syncagent#182 · 1 comment · 1 assignee ·
-
bug: finalizer "syncagent.kcp.io/cleanup" on related resources block deletion of primary object Openkind/bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
kcp-dev/api-syncagent#172 · 1 comment · 1 reaction ·
All issues in kcp-dev/api-syncagent
Similar issues
-
kind/bug needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 72/100
matrixorigin/matrixone#29223 ·
-
needs-acceptance wg/data-plane-networking
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vllm-project/semantic-router#4024 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
alexgorbatchev/dotfiles#107 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100