You can delete a custom network that is no longer in use.
- When the custom network is being referenced by an application, you must first delete the application that references the custom network before deleting the custom network.
- Deleting an application will delete the default network of the application, but will not delete the custom network referenced by the application.
Log on to the Container Service console.
Click Networks in the left-side navigation pane.
Select the cluster in which the custom network resides from the Cluster list.
Click Delete at the right of the custom network you want to delete.
Click Confirm in the displayed dialog box.
If the custom network is referenced by a service, an error will be reported. You must first delete the service that references the network before deleting the network.