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

[BUG]: clusterlink uninstall does not remove user Service CRs createrd per Import operation. #655

Open
aviweit opened this issue Jun 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aviweit
Copy link

aviweit commented Jun 18, 2024

Deleting clusterlink with: clusterlink delete peer --name <peer name> does not remove services created per Import operation.

To reproduce:

  1. clone main branch and build local images with make
  2. deploy two kind clusters, load images via kind load docker-image .. and install clusterlink
  3. peer between clusters
  4. on first cluster: create some service (e.g. nginx service) and export it via Export CR in default namespace
  5. on second cluster: create Import CR in default namespace referring to the exported service

On the second cluster, a service CR had been created with a similar output:

kubectl --kubeconfig ~/.kube/cl-peer2  get service
NAMESPACE     NAME                   TYPE           CLUSTER-IP   EXTERNAL-IP                                                                                       PORT(S)                  AGE
default       kubernetes             ClusterIP      10.96.0.1    <none>                                                                                            443/TCP                  3m55s
default       nginx-project   ExternalName   <none>       import-nginx-proj-default-0404b6d69d97227707e1c4f5daae56e8.clusterlink-system.svc.cluster.local   <none>                   57s

The service remains after clusterlink deletion.

Thanks.

@aviweit aviweit added the bug Something isn't working label Jun 18, 2024
@elevran
Copy link
Collaborator

elevran commented Jul 24, 2024

Possibly related to #557?
Seems to leave residual services also not after crashing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants