arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2209.01077cs.DCcs.PF
收藏

使Kubernetes控制器适应边缘:使用Wasm和WASI的按需控制平面

Adapting Kubernetes controllers to the edge: on-demand control planes using Wasm and WASI

Merlijn Sebrechts, Tim Ramlot, Sander Borny, Tom Goethals, Bruno Volckaert, Filip De Turck

摘要:

Kubernetes的高资源需求阻碍了它在边缘和雾等受限环境中的采用。它的可扩展控制平面是一个重要的贡献者,它由称为“控制器”的长期进程组成,这些进程不断地监听状态更改并使用资源,即使在不需要的时候也是如此。本文提出了一种基于WebAssembly的框架,用于按需运行轻量级控制器,仅在需要时运行。该框架扩展了WebAssembly系统接口(WASI),以便将Kubernetes控制器作为轻量级Wasm模块运行。该框架在Wasmtime的修改版本(参考WebAssembly(Wasm)运行时)中运行这些Wasm控制器,该版本将空闲控制器交换到磁盘并在需要时激活它们。一个全面的评估表明,该框架实现了64%的内存减少相比,传统的基于容器的控制器框架。

英文摘要:

Kubernetes' high resource requirements hamper its adoption in constrained environments such as the edge and fog. Its extensible control plane is a significant contributor to this, consisting of long-lived processes called "controllers" that constantly listen for state changes and use resources even when they are not needed. This paper presents a WebAssembly-based framework for running lightweight controllers on-demand, only when they are needed. This framework extends the WebAssembly System Interface (WASI), in order to run Kubernetes controllers as lightweight Wasm modules. The framework runs these Wasm controllers in a modified version of Wasmtime, the reference WebAssembly (Wasm) runtime, that swaps idle controllers to disk and activates them when needed. A thorough evaluation shows this framework achieves a 64% memory reduction compared to traditional container-based controller frameworks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑