You can delete an existing secret directly in the Container Service console.

Prerequisites

Background information

Note Do not delete the secret generated when the cluster is created.

Procedure

  1. Log on to the Container Service console.
  2. Under Kubernetes, click Application > Secrets in the left-side navigation pane.
  3. Select the cluster and namespace from the Clusters and Namespace drop-down lists. Click Delete at the right of the secret.


  4. Click Confirm in the displayed dialog box.