Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Istio VirtualService and Kubernetes Service?

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

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

like image 249
koly Avatar asked Dec 12 '18 12:12

koly


People also ask

What is the difference between Kubernetes and Istio?

Istio's control plane provides an abstraction layer over the underlying cluster management platform, such as Kubernetes, Mesos, etc. On the other hand, Kubernetes is detailed as "Manage a cluster of Linux containers as a single system to accelerate Dev and simplify Ops".

What is Istio VirtualService?

A VirtualService defines a set of traffic routing rules to apply when a host is addressed. Each routing rule defines matching criteria for traffic of a specific protocol. If the traffic is matched, then it is sent to a named destination service (or subset/version of it) defined in the registry.

Does Istio use Kubernetes services?

Istio is currently the most popular service mesh implementation, relying on Kubernetes but also scalable to virtual machine loads. Istio's core consists of a control plane and a data plane, with Envoy as the default data-plane agent.

Can Istio be used without Kubernetes?

Istio is designed for extensibility and can handle a diverse range of deployment needs. Istio's control plane runs on Kubernetes, and you can add applications deployed in that cluster to your mesh, extend the mesh to other clusters, or even connect VMs or other endpoints running outside of Kubernetes.


1 Answers

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.

like image 130
Steve Avatar answered Sep 22 '22 05:09

Steve