Help Center> Application Service Mesh> User Guide> Service Management> Auto Fixing Items> The Service Port Name Complies with the Istio Specifications
Updated on 2022-10-11 GMT+08:00

The Service Port Name Complies with the Istio Specifications

Description

The Service port name must contain the specified protocol and prefix and must be in the following format:

name: <protocol>[-<suffix>]

<protocol> can be http, tcp, or grpc. Istio provides routing capabilities based on protocols defined on ports. For example, name: http-service0 and name: tcp are valid port names, while name: httpforecast is not.

If the Service port name is invalid, this item is abnormal.

Rectification Guide

  1. Log in to the CCE console and click the target cluster to go to its details page.
  2. In the navigation pane on the left, choose Resources > Networking, select the target service, click More > Edit YAML, view its Service protocol, and add a protocol type before the service name as shown in the following figure.

  3. Click OK.