This section describes how to delete pod IP pools.

Warning

Pod IP pools cannot be recovered after deletion. Please perform this operation with caution.

Prerequisites

  • You need to join a cluster and have the Cluster Network Resource Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.

  • The KubeSphere Network extension must be installed and enabled on the KubeSphere platform.

  • The pod IP pool is not being used by any pods. If there are pods using the pod IP pool, you need to assign a different pod IP pool to the pods or delete the pods.

Delete a Single Pod IP Pool

  1. Log in to the KubeSphere web console with a user who has Cluster Network Resource Management permissions and enter your cluster.

  2. Click Network > Pod IP Pools in the left navigation pane.

  3. Click more on the right side of the pod IP pool you want to delete, and then select Delete from the drop-down list.

  4. In the Delete Pod IP Pool dialog box, enter the name of the pod IP pool, and then click OK.

Batch Delete Pod IP Pools

  1. Log in to the KubeSphere web console with a user who has Cluster Network Resource Management permissions and enter your cluster.

  2. Click Network > Pod IP Pools in the left navigation pane.

  3. Select the checkboxes on the left of the pod IP pools you want to delete, and then click Delete above the pod IP pool list.

  4. In the Batch Delete Pod IP Pools dialog box, enter the names of the pod IP pools, and then click OK.

    Note

    Use commas (,) and spaces to separate multiple names.