Skip to main content
Skip table of contents

Uninstall Kaptain

You can uninstall Kaptain via the CLI or UI, but uninstalling via the UI requires you to do some clean-up steps with the CLI, as well.

Uninstall Kaptain via the CLI

  1. Ensure you provide the correct target workspace namespace and the correct AppDeployment name or ID that you entered when creating your Kaptain instance:

    kubectl -n <workspace_namespace> delete AppDeployment <AppDeployment_name>
  2. Remove the following service account:

    kubectl -n <workspace_namespace> delete serviceaccount kaptain-install-job-service-account
  3. Remove the following CRDs:

    kubectl delete ​​ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
  4. You can also remove the following CRDs that are included in Kaptain, however, they could be required for other applications as well.
    IMPORTANT: Before you remove the following CRDs, ensure that each one of them is not being actively used by other applications or components.

    kubectl delete \ \ \ \ \ \ \ \ \ \ \ \

Uninstall Kaptain via the DKP UI

  1. Log in to your DKP UI.

  2. From the top menu bar, select your target workspace.

  3. Select Applications from the sidebar menu to browse all applications that can be deployed or uninstalled.

  4. Search for Kaptain in the search bar or by browsing through the applications.

  5. Select the three-dot menu and select Uninstall on the Kaptain card of the instance you would like to delete.

  6. Follow the instructions on the pop-up window to delete Kaptain on your workspace permanently.

  7. For a complete removal of Kaptain’s services and CRDs, proceed with steps 2 to 4 from the Uninstall Kaptain via the DKP CLI section.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.