Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use Istio without kubernetes or docker?

I have 4 microservices running on my laptop listening at various ports. Can I use Istio to create a service mesh on my laptop so the services can communicate with each other through Istio? All the links on google about Istio include kubernetes but I want to run Istio without Kubernetes. Thanks for reading.

like image 674
user674669 Avatar asked Oct 26 '18 18:10

user674669


People also ask

Can Istio run without Kubernetes?

In theory, yes. Istio components are designed to be 'platform independent'.

Is Istio part of Kubernetes?

And, although Istio is platform independent, using Istio and Kubernetes together is popular among developers. Istio is platform-independent and designed to run in a variety of environments: Cloud. On-premises.

What is difference between Istio and Kubernetes?

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 difference between Istio and service mesh?

Whereas upstream Istio takes a single tenant approach, Red Hat OpenShift Service Mesh supports multiple independent control planes within the cluster. Red Hat OpenShift Service Mesh uses a multitenant operator to manage the control plane lifecycle.


2 Answers

In practice, not really as of this writing, since pretty much all the Istio runbooks and guides are available for Kubernetes.

In theory, yes. Istio components are designed to be 'platform independent'. Quote from the docs:

While Istio is platform independent, using it with Kubernetes (or infrastructure) network policies, the benefits are even greater, including the ability to secure pod-to-pod or service-to-service communication at the network and application layers.

But unless you know really well the details of each of the components: Envoy, Mixer, Pilot, Citadel, and Galley and you are willing to spend a lot of time it becomes not practically feasible to get it running outside of Kubernetes.

If you want to use something less tied to Kubernetes you can take a look at Consul, although it doesn't have all the functionality Istio has, it has overlap with some of its features.

like image 69
Rico Avatar answered Sep 21 '22 15:09

Rico


I do some googles, and found that istio claim to support apps running outside k8s, like in vm. But I never try.

https://istio.io/latest/news/releases/0.x/announcing-0.2/#cross-environment-support

https://jimmysong.io/blog/istio-vm-odysssey/

like image 22
arganzheng Avatar answered Sep 20 '22 15:09

arganzheng