arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.06206cs.DC
收藏

多主Kubernertes集群中的拜占庭容错研究

On Byzantine Fault Tolerance in Multi-Master Kubernertes Clusters

Gor Mack Diouf, Halima Elbiaze, Wael Jaafar

摘要:

Docker容器虚拟化技术以其轻量级、高效的特点在云计算环境中得到了广泛的应用。但是,它需要通过协调器进行充分的控制和管理。因此,云提供商正在采用开放访问的Kubernetes平台作为容器化应用程序的标准编排器。为了确保应用程序在Kubernetes中的可用性,后者使用了Raft协议的复制机制。尽管它很简单,但Raft假设机器只有在关机时才会失败。这种故障事件很少是机器故障的唯一原因。事实上,软件错误或恶意攻击可能会导致机器表现出拜占庭(即随机)行为,从而破坏复制协议的准确性和可用性。在本文中,我们提出了一个Kubernetes多主健壮(KmMR)平台来克服这一限制。KmMR基于BFT-SMaRt容错复制协议到Kubernetes环境中的适应和集成。与Raft协议不同,BFT-SMaRt对拜占庭和非拜占庭故障都有抵抗力。实验结果表明,KmMR是能够保证服务的连续性,即使在容忍的故障总数超过。此外,在这种情况下,KmMR平均提供的共识时间比传统平台(具有Raft)短1000倍。最后,我们表明,KmMR产生一个小的额外成本,在资源消耗方面相比,传统的平台。

英文摘要:

Docker container virtualization technology is being widely adopted in cloud computing environments because of its lightweight and effiency. However, it requires adequate control and management via an orchestrator. As a result, cloud providers are adopting the open-access Kubernetes platform as the standard orchestrator of containerized applications. To ensure applications' availability in Kubernetes, the latter uses Raft protocol's replication mechanism. Despite its simplicity, Raft assumes that machines fail only when shutdown. This failure event is rarely the only reason for a machine's malfunction. Indeed, software errors or malicious attacks can cause machines to exhibit Byzantine (i.e. random) behavior and thereby corrupt the accuracy and availability of the replication protocol. In this paper, we propose a Kubernetes multi-Master Robust (KmMR) platform to overcome this limitation. KmMR is based on the adaptation and integration of the BFT-SMaRt fault-tolerant replication protocol into Kubernetes environment. Unlike Raft protocol, BFT-SMaRt is resistant to both Byzantine and non-Byzantine faults. Experimental results show that KmMR is able to guarantee the continuity of services, even when the total number of tolerated faults is exceeded. In addition, KmMR provides on average a consensus time 1000 times shorter than that achieved by the conventional platform (with Raft), in such condition. Finally, we show that KmMR generates a small additional cost in terms of resource consumption compared to the conventional platform.

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

↑