Skip to main content
Version: v5.0 Stable

Prevent Deletion

Platform-managed namespaces are deprecated

Namespaces managed through projects, also known as spaces, are deprecated in v5.0.0. Platform management of namespaces is planned for removal in a later v5.0 patch release. Existing Kubernetes namespaces and their workloads will remain on their clusters after removal. The platform will no longer manage them.

Until then, platform-managed namespaces keep working in projects outside tenants. Tenant projects can't create or import them, and they can't be moved into a tenant project. Move workloads that need continued platform management to clusters.

One can prevent namespace deletion by following one of the two methods:

  1. Select your project in the project switcher in the sidebar.

  2. Click Namespaces, then select the namespace you want to prevent deletion for.

  3. Either click the button or click the option for the namespace you want to modify.

  4. Navigate to Advanced section on the left.

  5. Select the Prevent Deletion expander and enable Prevent Deletion.

  6. Click the button to save the changes, or the button when creating a new namespace.

note

If you want to delete this namespace in the future, you need to remove the label either in the YAML manifest or through the toggle in the UI. Once you have done this, you can delete the namespace as usual.