You are viewing documentation for KubeSphere version:v3.0.0

KubeSphere v3.0.0 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.

FAQ

Reuse the Same App Name after Its Deletion

To deploy an app in KubeSphere, tenants can go to the App Store and select the available app based on their needs. However, tenants could experience errors when deploying an app with the same app name as that of the deleted one. This tutorial demonstrates how to use the same app name after its deletion.

Prerequisites

Reuse the Same App Name

Deploy an app from the App Store

  1. Log in to the web console of KubeSphere as project-regular and deploy an app from the App Store. This tutorial uses Redis as an example app and set the app name as redis-1. For more information about how to deploy Redis, refer to Deploy Redis on KubeSphere.

    redis-1

  2. Click the app to go to its detail page, and then click Delete to delete it.

    delete-redis-1

Reuse the same app name

  1. If you try to deploy a new Redis app with the same app name as redis-1, you can see the following error prompt in the upper right corner.

    error-prompt

  2. In your project, go to Secrets under Configurations, and input redis-1 in the search bar to search the Secret.

    search-secret

  3. Click the Secret to go to its detail page, and click More to select Delete from the drop-down menu.

    delete-secret

  4. In the dialog that appears, input the Secret name and click OK to delete it.

    confirm-delete

  5. Now, you can deploy a new Redis app with the same app name as redis-1.

    new-redis-app