Help Center/ Application Service Mesh/ User Guide/ Service Management/ Fixing Items Automatically/ The Service Port Name Complies with the Istio Specifications
Updated on 2025-03-07 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 cluster name to go to the cluster console.
  2. In the navigation pane, choose Kubernetes Resources > Services & Ingresses. On the Services tab, locate the target Service and click More > Edit YAML in the Operation column. Then, view and modify the Service protocol and add the protocol type before the Service name.

  3. Click OK.