What is the difference between Istio VirtualService and Kubernetes Service?

12/12/2018

As I understand, Istio VirtualService is kind of abstract thing, which trys to add an interface to the actual implementation like the service in Kubernetes or something similar in Consul.

My question is:

when use Kubernetes as the underlying platform for Istio, is there any difference between Istio VirtualService and Kubernetes Service? or they are the same?

-- koly
istio
kubernetes

2 Answers

12/12/2018

Istio's VirtualServices provides, as every Istio's extensions, some additionals features such as external traffic routing/management (Pod to external communication, HTTPS external communication, routing, url rewriting...).

Take a look at this doc about it for more details : https://istio.io/docs/reference/config/networking/virtual-service

They can be both useful, as you need "classic" Services to manage ingress traffic or service-to-service communication.

Steve.

-- Steve
Source: StackOverflow

1/25/2020

Virtual Service:

It defines a set of traffic routing rules to apply to a kubernetes service or subset of service based on the matching criteria. This is something similar to kubernetes Ingress object. It plays a key role on Istio's traffic management flexible and powerful.

Kubernetes Service:

It can be a logical set of pods and defined as an abstraction on top of pods which provides single DNS name or IP.

-- Subramanian Manickam
Source: StackOverflow