Promo Center

50% off for new user

Direct Mail-46% off

Learn More

Manage namespaces

Updated at: 2024-12-18 01:35

A namespace is a basic unit for managing deployments in Realtime Compute for Apache Flink. Configurations, deployments, and permissions of each namespace are separately managed. After you purchase a Realtime Compute for Apache Flink workspace, a default namespace is generated in the workspace. The name of the namespace is in the Workspace name-default format. You can create multiple namespaces and assign separate resources and permissions to each namespace. This way, the resources and permissions of multiple tenants are isolated among namespaces. This topic describes how to create, go to, view, and delete a namespace.

Prerequisites

Create a namespace

Note

Before you create a namespace, make sure that the number of available CUs in the workspace is greater than 1. For more information about how to reconfigure resources, see Reconfigure resources.

  1. Log on to the management console of Realtime Compute for Apache Flink.

  2. Find the desired workspace and choose More > Add Project in the Actions column.

    Parameter

    Description

    Parameter

    Description

    Project Name

    The namespace name can contain lowercase letters, digits, and hyphens (-). The namespace name must start with a lowercase letter and cannot end with a hyphen (-).

    Note
    • The namespace name cannot be the same as the name of an existing namespace.

    • After you create a namespace, you cannot change the name of the namespace.

    CU Type

    The CU type that you must configure for workspaces with cross-zone resources. Valid values:

    • Single zone: Zone-disaster recovery is not supported.

    • Cross zone: Cross-zone high availability provides higher availability and zone-disaster recovery. For a namespace that uses cross-zone CUs, if the primary zone fails, deployments in the namespace can run as expected in the secondary zone that you select. This ensures the continuity and high availability of deployments. For more information about cross-zone high availability, see Cross-zone high availability.

    Allocate Resources

    A namespace requires at least one CU.

    For a workspace that uses mixed billing, you can configure only fixed resources when you create a namespace. After you create a namespace, you can configure the maximum number of available elastic resources for the namespace. For more information, see Reconfigure resources.

  3. Click OK.

Go to a namespace

Log on to the management console of Realtime Compute for Apache Flink and use one of the following methods to go to a namespace:

  • Find the desired workspace and click Console in the Actions column. In the upper-left corner of the development console of Realtime Compute for Apache Flink, select the desired namespace.

  • Click the 展开按钮 icon on the left side of the ID of the desired workspace and click the name of the desired namespace.

View and delete a namespace

Log on to the management console of Realtime Compute and click the 展开按钮 icon on the left side of the ID of the desired workspace.

  • To view a namespace: In the namespace list, view the namespace information in columns, such as Status, CU Type, and Created At.

  • To delete a namespace: Find the desired namespace, click Delete in the Actions column. In the message that appears, click OK.

    Important

    You cannot delete a namespace in which a deployment is running. After you delete a namespace, deployments and data in the namespace cannot be restored. Proceed with caution.

References

  • After you create a namespace, you can click the name of the namespace to go to the development console of Realtime Compute for Apache Flink to develop a draft. For more information, see Draft development.

  • To allow multiple users to use a namespace to perform operations such as draft development and deployment O&M, you must grant permissions on the namespace to the users. For more information, see Grant permissions on namespaces.

  • Cross-zone high availability can prevent service interruptions caused by the failure of a single zone and ensure business stability. For more information, see Cross-zone high availability.

  • For more information about the basic concepts in Realtime Compute for Apache Flink, see Basic concepts.

  • On this page (1, T)
  • Prerequisites
  • Create a namespace
  • Go to a namespace
  • View and delete a namespace
  • References
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare