Re: Remove a cluster from broker

12 views
Skip to first unread message
Message has been deleted

Aswin Suryanarayanan

unread,
Oct 1, 2024, 8:32:00 AM10/1/24
to Vaishnavi Rajulu, submariner-users
Hi Vaishnavi,

You can  run 'subctl uninstall' in the cluster that is being shutdown. It will take care of removing the Submariner resources. If the cluster is not available now , I guess you will have to remove these manually.

Thanks
Aswin

On Tue, Oct 1, 2024 at 6:06 AM Vaishnavi Rajulu <vaishna...@gmail.com> wrote:
Hi Guys,

[root@k8-1 submariner]# kubectl get clusters.submariner.io -n submariner-k8s-broker
NAME       AGE
cluster2   6d4h
default    6d4h
kind       165m
[root@k8-1 submariner]# kubectl delete clusters.submariner.io cluster2 -n submariner-k8s-broker
cluster.submariner.io "cluster2" deleted
[root@k8-1 submariner]# kubectl get clusters.submariner.io -n submariner-k8s-broker
NAME      AGE
default   6d4h
kind      166m

I have removed the cluster2 as that cluster is switched off now.
But the connections are stuck without getting deleted?

Cluster "default"
 ✓ Showing Connections
GATEWAY              CLUSTER    REMOTE IP        NAT   CABLE DRIVER   SUBNETS        STATUS       RTT avg.
worker2              cluster2                                 yes   libreswan      242.1.0.0/16   connecting   0s
kind-control-plane   kind                                yes   libreswan      242.2.0.0/16   connecting   0s

--
You received this message because you are subscribed to the Google Groups "submariner-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to submariner-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/submariner-users/0a017c8e-5869-4b57-a8b3-13fa1edaef98n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages