DeploymentAssociatedToMultipleServices
| Message Name | DeploymentAssociatedToMultipleServices |
| Message Code | IST0116 |
| Description | The resulting pods of a service mesh deployment can’t be associated with multiple services using the same port but different protocols. |
| Level | Warning |
This message occurs when pods of a deployment are associated with multiple services using the same port but different protocols.
An example
Consider an Istio mesh with the following services:
apiVersion: v1kind: Servicemetadata:name: productpage-tcp-v1spec:ports:- port: 9080name: tcpprotocol: TCPselector:app: productpage---apiVersion: v1kind: Servicemetadata:name: productpage-http-v1spec:ports:- port: 9080name: httpprotocol: HTTPselector:app: productpage
This example shows both HTTP and TCP protocols associated with port 9080.
No two services should select the same pod port with different protocols.