edit-icon download-icon

Namespaces

Last Updated: Feb 01, 2019

Overview

You can use namespace to isolate resources and services.

For example, you have three environments that are used separately used for development, testing and production. You can create three namespaces such as DevTest and Prod for the three environments. Then you can create clusters and deploy applications in these namespaces. The resources like ECS instances, applications and services are isolated with each other. The services cannot be invoked between different namespaces. Configurations can be pushed in only one namespacse.

Create namespaces

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Namespace.

  3. On the Namespace page, select Region and click Create Namespace in the upper-right corner.

  4. In the Create Namespace dialog box, set Namespace Name (required), Namespace ID (required) and Description, and then click Create.

    Note: The prefix of the namespace ID is determined by the specified region (target region) and cannot be modified.Rather, only the custom part can be modified.

Edit namespaces

  1. On the Namespaces page, locate the row that contains the target namespace and click Edit in the Actions column.

  2. In the Edit Namespace dialog box, edit the Namespace Name and description. Then, click OK.

    Note: You cannot change the namespace ID and the namespace type.

Delete namespaces

The following conditions must be met before you can delete namespaces:

  • No ECS instances exist in the namespace.
  • No clusters exist in the namespace.
  1. On the Namespaces page, locate the row that contains the target namespace and click Delete in the Actions column.

  2. In the Delete Namespacedialog box, confirm the namespace to be deleted and click Delete.

Thank you! We've received your feedback.