Skip to content

sooraj19/kubernetes-multi-tenancy-istio-capsule

Repository files navigation

Kubernetes Multi-Tenancy: Capsule vs Istio Service Mesh

Overview

This code is part of the research I conducted for my Masters in Software Solutions Architecture at Technological University Dublin, Ireland.

Research Outline & Objective

Kubernetes is the leading container orchestration platform today. To optimize Kubernetes usage, enterprises often share Kubernetes clusters across multiple tenants. This is achieved by sharing one or multiple Kubernetes namespaces.

Namespace isolation is frequently implemented using Istio Service Mesh. However, there's literature highlighting the overhead of running Istio service mesh on a cluster.

Consequently, this research aimed to implement a similar namespace-based tenant isolation model using the Capsule operator for Kubernetes and compare the metrics against the Istio service mesh-based implementation.

Research Findings

  • Workloads with Capsule operator was up to 11% points less resource intensive.
  • Workloads with Capsule operator performed 545 more Request Per Second (RPS).
  • Workloads with Capsule operator responded 2ms faster.

Research Setup

Istio Cluster Setup Istio Setup

Capsule Cluster Setup Capsule Setup

Replicating the Setup

Tools Used

Steps to Replicate

Research Poster (PDF)

Link to Research Poster

Contact

For further details, feel free to contact me at:

About

Research setup and code to compare Kubernetes Multi-Tenancy using Capsule vs Istio Service Mesh

Resources

License

Stars

Watchers

Forks

Contributors