Microservice namespaces provide applications with isolated runtime environments, including the development, testing, and production environments. You can use microservice namespaces to isolate resources and services. You are not allowed to create two microservice namespaces that have the same name in the same region.
For example, you have three environments in a VPC, which are used for application development, testing, and production. You can create the Dev microsevice namespace for application development, create the Test microsevice namespace for testing, and create the Prod microsevice namespace for production. If you create clusters and deploy applications in the three microsevice namespaces, the resources, applications, and services in a microsevice namespace are isolated from the resources, applications, and services in the other microsevice namespaces. Therefore, you cannot call services or push configurations across microsevice namespace.
Default microsevice namespace
When you create an application in Enterprise Distributed Application Service (EDAS), you can select Default Namespace from the Namespace drop-down list. This indicates that the application does not use microsevice namespace to isolate resources and services.
If you select the default namespace of a region on the Applications page, the displayed applications do not belong to microsevice namespace.
Create a namespace
- Log on to the EDAS console.
- In the left-side navigation pane, choose .
- On the Microservice Namespace page, click Create Namespace in the upper-right corner.
- In the Create Namespace dialog box, configure the namespace parameters and click Create.
Parameter Description Namespace Name Enter a name for the namespace that you want to create. Namespace ID Enter a custom string to specify the namespace ID. The namespace ID can contain only letters and digits. Region The region to which the current namespace belongs. This parameter value cannot be modified. Allow Remote Debugging To enable communication between the cloud and on-premises applications, you can enable Allow Remote Debugging in the Edit Namespace dialog box for the namespace where the application is deployed. Description Enter a string of text to describe the namespace.
Edit a namespace
- Find the namespace that you want to edit in the namespace list, and click Edit in the Actions column.
- In the Edit Namespace dialog box, modify Namespace Name and Description. You can also enable or disable the remote debugging feature. Then, click OK.
Delete a namespace
- The namespace does not contain clusters.
- The namespace does not contain Elastic Compute Service (ECS) instances.
- Find the namespace that you want to delete in the namespace list, and click Delete in the Actions column.
- In the message that appears, click Delete.