siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.39k stars 514 forks source link

talosctl cluster destroy does not clean up non-default networks #8078

Open steverfrancis opened 8 months ago

steverfrancis commented 8 months ago

Bug Report

talosctl cluster destroy does not clean up non-default networks

Description

Create a cluster with a non-default name: talosctl cluster create \ --name datalonga-demo

That will work, but talosctl cluster destroy does not destroy the network, only the containers. So another attempt to create a cluster will fail due to the existing network.

Logs

Environment

frezbo commented 8 months ago

I think we need to use talosctl cluster destroy --name <>