title: How to configure Istio's virtualservice for a service which exposes multiple ports?
body: <p>I have a container which exposes multiple ports. So, the kubernetes service configured for the deployment looks like the following:</p>
  
  <pre><code>kind: Service
  apiVersion: v1
  metadata:
    name: myapp
    labels:
      app: myapp
  spec:
    selector:
      name: myapp
    ports:
    - protocol: TCP
      port: 5555
      targetPort: 5555
    - protocol: TCP
      port: 5556
      targetPort: 5556
  </code></pre>
  
  <p>I use Istio to manage routing and to expose this service via istio ingress gateway.
  We have one gateway for port 80, do we have to create two different gateways for the same host with two different virtual service?</p>
  
  <p>I want to configure that "example.myhost.com" 's 80 route to 5556 and some other port, let say, "example.myhost.com" 's 8088 route to 5555 of the service.</p>
  
  <p>Is that possible with one virtualservice?</p>