Fast Kubernetes Orchestration for Dynamic and Ephemeral Workloads

dc.contributor.authorAbbasi Alaei, Ali
dc.date.accessioned2026-05-28T20:27:09Z
dc.date.available2026-05-28T20:27:09Z
dc.date.issued2026-05-28
dc.date.submitted2026-05-22
dc.description.abstractIn recent years, Kubernetes has become the primary choice for orchestrating software deployments on distributed clusters. It abstracts the complexities of the underlying infrastructure, enabling developers to focus on application logic rather than low-level resource management. In addition to traditional long-running services, Kubernetes is increasingly used to manage short-lived and latency-sensitive applications, such as serverless functions that demand fast startup and high deployment churn. The problem with using Kubernetes for these use cases is that it sacrifices performance for high reliability and strong consistency, making it less suitable for performance-critical and dynamically scaled environments. This work identifies etcd, the central storage in Kubernetes, as a critical factor influencing performance due to its persistent and strongly consistent operation. A design change for the Kubernetes control plane is proposed and implemented that employs a complementary metadata store, called Sharded Transient Etcd (STE), alongside the persistent etcd in the Kubernetes cluster. STE stores short-lived entities, such as Pod objects, which are critical yet ephemeral resources, in fast, in-memory storage, while retaining persistent etcd for durability-critical data. This design preserves reliability and failure recovery while significantly improving orchestration performance and scalability. An experimental evaluation shows that the prototype doubles deployment throughput, reduces Pod creation latency by 80%, and improves resource efficiency of Kubernetes components by up to 20% without compromising stability or failure recovery. In addition, the results show that the cold start latency of a widely used Kubernetes-based serverless orchestrator is reduced by more than 60%. While this work is focused on Kubernetes, the resulting insight is applicable to orchestration systems in general.
dc.identifier.urihttps://hdl.handle.net/10012/23437
dc.language.isoen
dc.pendingfalse
dc.publisherUniversity of Waterlooen
dc.titleFast Kubernetes Orchestration for Dynamic and Ephemeral Workloads
dc.typeMaster Thesis
uws-etd.degreeMaster of Mathematics
uws-etd.degree.departmentDavid R. Cheriton School of Computer Science
uws-etd.degree.disciplineComputer Science
uws-etd.degree.grantorUniversity of Waterlooen
uws-etd.embargo.terms0
uws.contributor.advisorKarsten, Martin
uws.contributor.affiliation1Faculty of Mathematics
uws.peerReviewStatusUnrevieweden
uws.published.cityWaterlooen
uws.published.countryCanadaen
uws.published.provinceOntarioen
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
AbbasiAlaei_Ali.pdf
Size:
3.58 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
6.4 KB
Format:
Item-specific license agreed upon to submission
Description: