content/en/docs/reference/config/analysis/ist0137/index.md
This message occurs when two services select the same workload with the same targetPort but different ports.
Consider an Istio mesh with the following services:
apiVersion: v1 kind: Service metadata: name: nginx-b spec: ports: - port: 80 protocol: TCP targetPort: 80 selector: app: nginx {{< /text >}}
In this example, service nginx-a and service nginx-b select the same workload nginx with the same targetPort but different ports.
This may be fixed in one of two ways:
port. This will require reconfiguring the clients of one of the services to connect to a different port.targetPorts. This will require configuring the workload pods of one of the services to listen on the same targetPort as the other service.