Skip to content

Deleting an extension

You can uninstall a Kubernetes extension and its associated custom resource definitions (CRD) by deleting the extension's custom resource (CR).

Prerequisites

  • You have an extension installed.

Procedure

  • Delete the extension's CR:

    kubectl delete clusterextensions <extension_name>
    
    extension_name
    Specifies the name defined in the metadata.name field of the extension's CR.
    Example output
    clusterextension.olm.operatorframework.io "argocd-operator" deleted
    

Verification

  • Verify that the Kubernetes extension is deleted:

    kubectl get clusterextension.olm.operatorframework.io
    
    Example output
    No resources found