Framework for Analysing a Policy-driven Multi-Tenant Kubernetes Environment

Q1 Computer Science IEEE Cloud Computing Pub Date : 2021-10-01 DOI:10.1109/IEEECloudSummit52029.2021.00016
Angel Beltre, Pankaj Saha, M. Govindaraju
{"title":"Framework for Analysing a Policy-driven Multi-Tenant Kubernetes Environment","authors":"Angel Beltre, Pankaj Saha, M. Govindaraju","doi":"10.1109/IEEECloudSummit52029.2021.00016","DOIUrl":null,"url":null,"abstract":"Kubernetes (K8s) is gaining adoption in cloud computing for container management, deployment automation, and resource scheduling. As K8s matures, with increased stability and scalability, it is important to study how it can be effectively customized for use in different application scenarios. The focus of our work is on studying one of its main core components, kube-scheduler, which is in charge of scheduling pods on worker nodes. The K8s default scheduler implements the First Come First Serve (FCFS) algorithm as the pods are ordered and sequenced for execution based on the timestamp of when tasks arrive, when no priority is set to the pods. In this paper, we present a Policy-driven Multi-Tenant K8s (PMK) framework to study how policies of multiple tenants on resource requests and job arrivals affect fairness for the tenants individually in terms of makespan, average waiting time, and average turnaround time. PMK allows re-sequencing of tasks, submitted by multiple tenants, via well-known or customized scheduling algorithms before they enter the K8s scheduling queue. Our evaluation uses well-known algorithms such as Round Robin (RR), FCFS and Dominant Resource Fairness (DRF). In addition, we introduce a Cluster-Based Fairness (CBF) scheduling algorithm, which is a variation of DRF. CBF considers overall cluster utilization and resource availability to determine which task to choose from new requests. Our analysis shows that PMK can provide insights to cluster and cloud infrastructure managers on the factors affecting fairness and accordingly in some cases obtain 61.0% improvement in average waiting time for tenants with homogeneous individual demands. In addition, our customized CBF scheduling policy, when used with with PMK on K8s, can reduce overall cluster average waiting time by up to 4%.","PeriodicalId":54281,"journal":{"name":"IEEE Cloud Computing","volume":"34 1","pages":"49-56"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Cloud Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IEEECloudSummit52029.2021.00016","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"Computer Science","Score":null,"Total":0}
引用次数: 0

Abstract

Kubernetes (K8s) is gaining adoption in cloud computing for container management, deployment automation, and resource scheduling. As K8s matures, with increased stability and scalability, it is important to study how it can be effectively customized for use in different application scenarios. The focus of our work is on studying one of its main core components, kube-scheduler, which is in charge of scheduling pods on worker nodes. The K8s default scheduler implements the First Come First Serve (FCFS) algorithm as the pods are ordered and sequenced for execution based on the timestamp of when tasks arrive, when no priority is set to the pods. In this paper, we present a Policy-driven Multi-Tenant K8s (PMK) framework to study how policies of multiple tenants on resource requests and job arrivals affect fairness for the tenants individually in terms of makespan, average waiting time, and average turnaround time. PMK allows re-sequencing of tasks, submitted by multiple tenants, via well-known or customized scheduling algorithms before they enter the K8s scheduling queue. Our evaluation uses well-known algorithms such as Round Robin (RR), FCFS and Dominant Resource Fairness (DRF). In addition, we introduce a Cluster-Based Fairness (CBF) scheduling algorithm, which is a variation of DRF. CBF considers overall cluster utilization and resource availability to determine which task to choose from new requests. Our analysis shows that PMK can provide insights to cluster and cloud infrastructure managers on the factors affecting fairness and accordingly in some cases obtain 61.0% improvement in average waiting time for tenants with homogeneous individual demands. In addition, our customized CBF scheduling policy, when used with with PMK on K8s, can reduce overall cluster average waiting time by up to 4%.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
分析策略驱动的多租户Kubernetes环境的框架
Kubernetes (k8)在容器管理、部署自动化和资源调度等云计算领域的应用越来越广泛。随着k8的成熟,稳定性和可伸缩性的提高,研究如何有效地定制它以用于不同的应用程序场景是很重要的。我们的工作重点是研究它的一个主要核心组件,kube-scheduler,它负责调度工作节点上的pod。K8s的默认调度器实现了先到先服务(FCFS)算法,因为在没有为pods设置优先级的情况下,pod根据任务到达的时间戳对执行进行排序和排序。在本文中,我们提出了一个策略驱动的多租户k8 (PMK)框架,用于研究多个租户在资源请求和作业到达方面的策略如何影响租户在makespan、平均等待时间和平均周转时间方面的公平性。PMK允许在任务进入K8s调度队列之前,通过知名的或自定义的调度算法对多个租户提交的任务进行重新排序。我们的评估使用了众所周知的算法,如轮询(RR)、FCFS和主导资源公平(DRF)。此外,我们还介绍了一种基于集群的公平性调度算法(CBF),它是DRF的一种变体。CBF考虑总体集群利用率和资源可用性,以确定从新请求中选择哪个任务。我们的分析表明,PMK可以为集群和云基础设施管理人员提供有关影响公平性因素的见解,因此在某些情况下,具有相同个人需求的租户的平均等待时间提高了61.0%。此外,当在k8上与PMK一起使用时,我们定制的CBF调度策略可以将整个集群的平均等待时间最多减少4%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
IEEE Cloud Computing
IEEE Cloud Computing Computer Science-Computer Networks and Communications
CiteScore
11.20
自引率
0.00%
发文量
0
期刊介绍: Cessation. IEEE Cloud Computing is committed to the timely publication of peer-reviewed articles that provide innovative research ideas, applications results, and case studies in all areas of cloud computing. Topics relating to novel theory, algorithms, performance analyses and applications of techniques are covered. More specifically: Cloud software, Cloud security, Trade-offs between privacy and utility of cloud, Cloud in the business environment, Cloud economics, Cloud governance, Migrating to the cloud, Cloud standards, Development tools, Backup and recovery, Interoperability, Applications management, Data analytics, Communications protocols, Mobile cloud, Private clouds, Liability issues for data loss on clouds, Data integration, Big data, Cloud education, Cloud skill sets, Cloud energy consumption, The architecture of cloud computing, Applications in commerce, education, and industry, Infrastructure as a Service (IaaS), Platform as a Service (PaaS), Software as a Service (SaaS), Business Process as a Service (BPaaS)
期刊最新文献
Different in different ways: A network-analysis approach to voice and prosody in Autism Spectrum Disorder. Layered Contention Mitigation for Cloud Storage Towards More Effective and Explainable Fault Management Using Cross-Layer Service Topology Bypass Container Overlay Networks with Transparent BPF-driven Socket Replacement Event-Driven Approach for Monitoring and Orchestration of Cloud and Edge-Enabled IoT Systems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1