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

使用Weave自动化集群管理

Automating Cluster Management with Weave

Lalith Suresh, Joao Loff, Faria Kalim, Nina Narodytska, Leonid Ryzhyk, Sahan Gamage, Brian Oki, Zeeshan Lokhandwala, Mukesh Hira, Mooly Sagiv

摘要:

像Kubernetes和Openstack这样的现代集群管理系统都在努力解决组合优化难题:负载均衡、布局、调度和配置。目前,开发人员通过设计定制的特定于应用程序的算法来解决这些问题-这种方法被证明是不可持续的,因为临时解决方案的性能很差,并且给系统带来了巨大的复杂性,这使得添加重要的新功能具有挑战性。我们提出了一个完全不同的架构,程序员驱动集群管理任务声明,使用SQL查询存储在一个关系数据库的集群状态。这些查询以自然的方式捕获对集群配置的约束以及优化目标。当在运行时需要重新配置集群时,我们的工具,称为Weave,将这些查询的编码合成到一个优化模型中,它使用现成的求解器来解决这个问题。我们通过为三个生产级系统提供动力来展示Weave的功效:Kubernetes调度器,虚拟机管理解决方案和分布式事务处理器。使用Weave,我们用不到20行SQL表达了复杂的集群管理策略,轻松地为这些现有系统添加了新功能,并显著提高了放置质量和收敛时间。

英文摘要:

Modern cluster management systems like Kubernetes and Openstack grapple with hard combinatorial optimization problems: load balancing, placement, scheduling, and configuration. Currently, developers tackle these problems by designing custom application-specific algorithms---an approach that is proving unsustainable, as ad-hoc solutions both perform poorly and introduce overwhelming complexity to the system, making it challenging to add important new features. We propose a radically different architecture, where programmers drive cluster management tasks declaratively, using SQL queries over cluster state stored in a relational database. These queries capture in a natural way both constraints on the cluster configuration as well as optimization objectives. When a cluster reconfiguration is required at runtime, our tool, called Weave, synthesizes an encoding of these queries into an optimization model, which it solves using an off-the-shelf solver. We demonstrate Weave's efficacy by powering three production-grade systems with it: a Kubernetes scheduler, a virtual machine management solution, and a distributed transactional datastore. Using Weave, we expressed complex cluster management policies in under 20 lines of SQL, easily added new features to these existing systems, and significantly improved placement quality and convergence times.

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

↑