Tickets Documents Updates Đăng nhập

4. Create and Manage Cloud Z DB Namespace

4.1. Namespace Create


A Namespace is a logical unit used to partition a cluster.

It is typically created per project phase or per service.

Example:

  • When created per project phase: Development, Staging, Production
  • When created per service: Authentication Service, Payment Service, Reservation Service, etc.

The Namespace creation and management feature is only accessible to Cloud Z DB platform administrators with 'cluster-admin' privileges.

4.1.1. Access Cloud Z CP Portal 

Access Cloud Z CP Portal and log in by entering your ID and password.

4.1.2. Select Administration 

Click the Administration menu at the top left of the page.


4.1.3. Select Namespaces 

Click the Namespaces menu under Administration to navigate to the Namespace Resource management screen.


4.1.4. Add Namespace 

Click the "Add Namespace" button at the top right.


4.1.5. Set Namespace And Resource 

Enter the Namespace Name, Resource Quotas, and Pod Default Limit Range, then click the Confirm button. 


To create a Namespace for Cloud Z DB, make sure the ZDB Namespace is set to  ON.


Resource Quotas allocate appropriate resources based on the cluster size.

If there are no special requirements, set them as follows:

  • Resource Quotas
    • Memory:  Requested size
    • CPU:
      • Memory 14G 이하 - Memory의 1/4
      • Memory 14G 이상 - Memory의 1/2
    • Other Resources: 100 
  • Pod Default Limit Range

    • Memory: 0

    • CPU: 0

(warning) Warning: If Pod Default Limit Range is not set to 0, the DB service cannot be created. 

*Requests and Limits for CPU and Memory must be set to the same value. 


4.1.6. Create Namespace 

When the confirmation alert appears, click the Confirm button.


4.1.7. Namespaces - Select Namespace 

In Namespaces, click the newly created Namespace.


4.1.8. Enter Label

Check the label to verify that the Namespace is designated for Cloud Z DB.

If the label cloudzdb.io/zdb-system=true is present, the configuration is correct.

If the above label is not visible, you must add the label before using Cloud Z DB services.


4.1.8.1. Add label

To designate the Namespace for Cloud Z DB, enter the label name cloudzdb.io/zdb-system=true and click the Add button.


4.1.9. Add label

When the label addition confirmation alert appears, click the Confirm button.


4.1.10. Confirm Label

Verify that the label has been added.

If the label has been successfully added, the Namespace creation and initial configuration are complete.


4.2. Add Member 


4.2.1. Access Cloud Z CP Portal 

Access Cloud Z CP Portal and log in by entering your ID and password.


4.2.2. Select Administration 

Click the Administration menu at the top left of the page.


4.2.3. Select Namespaces

Click the Namespaces menu under Administration to navigate to the Namespace Resource Management screen.


4.2.4. Namespaces - Select Namespaces

In the Namespaces list, select the Namespace where you want to add a Member.


4.2.5. Click Member Management

Click the Member Management tab.



4.2.6. Search ID 

Enter the ID of the member you want to add, then click the Search button.

4.2.7. Add Namespace Permission

Select the Namespace role, then click the Add button.



4.2.8. Add Member 

When the Member Addition Confirmation alert appears, click the Confirm button.


4.2.9. Confirm Member

Verify the newly added member.

Câu trả lời này có giúp ích cho bạn không? Yes No

Send feedback
Rất tiếc là chúng tôi không giúp được nhiều. Hãy giúp chúng tôi cải thiện bài viết này bằng phản hồi của bạn.