tencent cloud

Service Registry and Governance

Service Alias

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-05-07 18:07:06

Scenarios

Service aliases can be considered as mappings of services. Accessing a service alias is equivalent to accessing the service itself, allowing multiple service aliases to point to a single service. Service aliases are primarily applicable in the following scenarios:
If you do not want to use the service name as the polarismesh service name—for example, if you want the polarismesh service name to be in uppercase while Kubernetes service names are restricted to lowercase—you can use the alias annotation to specify an uppercase polarismesh service name.
You want to expose a service in a namespace to another namespace. In this case, you can use a service alias to specify another namespace.
Different application names are required to provide services to different external clients, but the actual backend service is the same.

Operation Steps

Create Alias

1. Log in to TSF Console, select Polaris (North Star) in the left menu bar to go to the engine instance list page.
2. Click Console in the Operations column of the target instance engine, enter your username and password to enter the POLARIS MESH console page.

3. In the left sidebar, select Service Alias, click the New button, and specify the following parameters as needed:
Parameter
Description
Service Alias
A service alias is a string composed of characters such as digits, English letters, and so on.
Namespace
Select the namespace to which the service alias belongs. It does not need to be in the same namespace as the mapped service. You can choose it according to your business requirements.
Pointing Service
The service that the service alias points to.
Description
Your description of the service alias.
4. Click Submit to create the service alias.

View Service Alias

1. After the service alias is created, you can view it.
2. Click the

icon to filter by namespace.
3. Supports search based on namespace and pointing service.


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック