The system manages each gateway as a gateway instance.
Before you create a service gateway, create a storage volume. For more information about creating storage volumes, see container cluster storage management in Resource management.
On the top navigation bar, click Cloud Services, and then select Service Gateways from the App Service menu.
Click Create Gateway.
Configure service gateway parameters as needed.
Table-1 Configuring service gateway parameters
Parameter |
Description |
Instance Name |
Specify a name for the service gateway instance. 1 to 64 characters. The value can contain Chinese characters, letters, digits, dots (.), hyphens (-), and underlines (_). It can start with a letter or Chinese character. |
Description |
Specify a description for the service gateway instance, a string of 0 to 128 characters. |
Instance Type |
Specify an instance type.
|
API Release Approval |
Select whether API release requires approval. If you enable this option, an API can be published successfully only when the administrator approves it. |
Container Flavors |
Configure container flavor settings. The values in the Requests field must be smaller than the values in the Limits field.
This configuration is applicable only to the Kong, Konjac, and API-Studio components as described in the "Service gateway components" The Kong and Konjac components process API requests and their resource usage depends on the service load. Increase the resources assigned to the gateway if it is expected to handle API requests for busy services. For the API-MGT and PG components, the default settings can meet the requirements. |
Version |
Specify the service gateway version. The value is fixed at 1.0. |
Resource Type |
Specify the resource type of the service gateway. The value is fixed at Container (containerized gateway). |
Resource Configuration |
Select a cluster and container AZ to run the gateway container. After you select an AZ for the gateway container, the system places the pod on an automatically selected worker node in the AZ. |
Gateway Address |
Enter an IP address, an HTTP port number, and an HTTPS port number for the gateway to provide services. External application systems calls an API by using the gateway IP address, the HTTP or HTTPS port number, and the request path defined in "Publish an API." By default, the HTTP port number is 48000, and the HTTPS port number is 48443. Adding a gateway address adds a Kong instance. Multiple Kong instances can expose multiple IPs and ports for gateway instance high availability. You can configure a maximum of 9 instances.
|
Storage Configuration |
Select a provisioning mode from the Provisioning Mode list. Make sure a shared storage has been configured for the system.
|