A newer version of this documentation is available.

View Latest

Deleting a CouchbaseCluster

    +

    You can delete a cluster either by using the cluster configuration file that you created the cluster with, or by deleting the cluster directly.

    Deleting a Cluster Using the Cluster Configuration File

    To delete a cluster using the cluster configuration file, say my-cluster.yaml, run the following command:

    On Kubernetes:

    cbopctl delete -f my-cluster.yaml

    On OpenShift:

    oc delete -f my-cluster.yaml

    Deleting a Cluster Directly

    To delete a cluster directly, say my-cluster, run the following command:

    On Kubernetes:

    cbopctl delete couchbasecluster my-cluster

    On OpenShift:

    oc delete couchbasecluster my-cluster