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 Dev， Test 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.
Log on to the EDAS console.
In the left-side navigation pane, choose Application Management > Namespace.
On the Namespace page, select Region and click Create Namespace in the upper-right corner.
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.
On the Namespaces page, locate the row that contains the target namespace and click Edit in the Actions column.
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.
The following conditions must be met before you can delete namespaces:
- No ECS instances exist in the namespace.
- No clusters exist in the namespace.
On the Namespaces page, locate the row that contains the target namespace and click Delete in the Actions column.
In the Delete Namespacedialog box, confirm the namespace to be deleted and click Delete.