Add domain name resources to the platform and allocate domains for use by all projects under a cluster or resources under a specific project. When creating a domain name, binding a certificate is supported.
Note: The domain names created on the platform should be resolved to the cluster's load balancing address before they can be accessed via the domain name. Therefore, you need to ensure that the domain names added on the platform have been successfully registered and that the domain names resolve to the cluster's load balancing address.
Successfully created and allocated domain names on the platform can be utilized in the following features of Container Platform:
Create Inbound Rules: Network Management > Inbound Rules > Create Inbound Rule
Create Native Applications: Application Management > Native Applications > Create Native Application > Add Inbound Rule
Add Listening Ports for Load Balancing: Network Management > Load Balancer Details > Add Listening Port
Once the domain name is bound to a certificate, application developers can simply select the domain name when configuring the load balancer and inbound rules, allowing the use of the certificate that comes with the domain name for https support.
Go to Platform Management.
In the left navigation bar, click Network Management > Domain Names.
Click Create Domain Name.
Configure the relevant parameters according to the following instructions.
Parameter | Description |
---|---|
Type |
|
Domain | Enter a complete domain name or domain suffix based on the selected domain name type. |
Allocate Cluster | If a cluster is allocated, you also need to select a project associated with the allocated cluster, such as all projects associated with the cluster. |
Certificate | Includes the public key (tls.crt) and private key (tls.key) for creating a domain name-bound certificate. The project to which the certificate is allocated is the same as the bound domain name. Notes:
|
Click Create.
Domain Registration: Register the domain if the created domain has not been registered.
Domain Resolution: Perform domain resolution if the domain does not point to the platform cluster's load balancing address.