< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

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 enter 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, enter 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


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.