Updated on 2024-03-15 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.
  2. In the navigation pane on the left, choose Resource Management > Network, find the target service by cluster name and namespace in Services tab page, click Edit YAML, view its Service protocol, and add a protocol type before the target service name as shown in the following figure.

  3. Click OK.