Manual access service¶
The services that are successfully added will be displayed on the service list page. You can also select the services in the list as the target back-end services when adding apis. The microservice gateway supports manual access and automatic discovery to add services. This page describes how to manually add services.
** Prerequisites **
You need to add the corresponding service source in Source management so that you can select the corresponding service source type when manually adding services.
Access service¶
-
In the
Gateway List
page click on the name of the target gateway, enter the gateway overview page, in the left navigation bar clickAdd Service
-- >Service List
. -
On the
Service List
page clickManual Add
→Add Service
. -
Select the service source, configure the service connection information and click
OK
.-
Cluster service: Select the cluster and namespace where the target service resides, and enter the access protocol, address, and port number.
For the cluster service access, can be in the
Container Management
-- >Container Network
-- >Services
click on the service name to view: -
mesh service:
The functionality of the access mesh service is under development, so stay tuned.
-
Registry Service: Select the registry where the target service resides, and enter the access protocol, address, and port number.
-
External service: Enter the service name, access protocol, address, and port number.
-
Viewing service details¶
-
On the service list page, click the name of the target service to access the service details page.
-
View service sources, connection information, and associated apis.
Update service¶
Update basic information¶
-
In the
Service List
page find need to update the service, in the service of right click **ⵗ
**, chooseBasic Info
. -
To update the basic information, click
OK
.
Danger
Update policy configuration¶
-
In the
Service List
page find need to update the service, in the service of right click **ⵗ
**, choosePolicy Settings
. -
To update policy configuration, click
OK
.
Deletion service¶
In the Service List
page to find the need to delete the service, in the service of right click ** ⵗ
**, choose Delete
.
Before deleting a service, you need to make sure that no apis are using the service. If the service is being used by an API, click API Management
to delete the associated API as prompted before deleting the service.