An Implementation of DNS Operator and Network Guideline for Migrating Virtual Machine to KubeVirt

Supakorn Trakulmaiphol, K. Piromsopa
{"title":"An Implementation of DNS Operator and Network Guideline for Migrating Virtual Machine to KubeVirt","authors":"Supakorn Trakulmaiphol, K. Piromsopa","doi":"10.1109/ICSEC56337.2022.10049369","DOIUrl":null,"url":null,"abstract":"We created a customize DNS operator to address the shortcoming of CoreDNS in Kubernetes. While Kubernetes is gaining popularity in orchestrating containers, many organizations with Virtual Machine (VM) based legacy applications still struggle to containerize. Rehost strategy seems to be a faster method. On Kubernetes, KubeVirt can be used to manage rehosted VM. However, there is a huge difference between the long-term use of the VMs and containers. For example, container IP addresses change over time is problematic for VMs that need a static IP. In addition, some VM-based applications may require multiple network interfaces or a specific domain name for service discovery. These issues prevent some VMs from functioning properly after the migration to KubeVirt. We developed an operator framework to solve network problems that arise in the application layer such as DNS queries. In addition, we provide a guideline on how to use open-source projects like the Multus Container Network Interface, NMState to enable the migration of VMs with applications related to network function properly. Our operator and guideline allow most VMs to function properly with few modifications (to none) after migrating to KubeVirt. This facilitated the adoption of Kubernetes in more organizations.","PeriodicalId":430850,"journal":{"name":"2022 26th International Computer Science and Engineering Conference (ICSEC)","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 26th International Computer Science and Engineering Conference (ICSEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSEC56337.2022.10049369","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

We created a customize DNS operator to address the shortcoming of CoreDNS in Kubernetes. While Kubernetes is gaining popularity in orchestrating containers, many organizations with Virtual Machine (VM) based legacy applications still struggle to containerize. Rehost strategy seems to be a faster method. On Kubernetes, KubeVirt can be used to manage rehosted VM. However, there is a huge difference between the long-term use of the VMs and containers. For example, container IP addresses change over time is problematic for VMs that need a static IP. In addition, some VM-based applications may require multiple network interfaces or a specific domain name for service discovery. These issues prevent some VMs from functioning properly after the migration to KubeVirt. We developed an operator framework to solve network problems that arise in the application layer such as DNS queries. In addition, we provide a guideline on how to use open-source projects like the Multus Container Network Interface, NMState to enable the migration of VMs with applications related to network function properly. Our operator and guideline allow most VMs to function properly with few modifications (to none) after migrating to KubeVirt. This facilitated the adoption of Kubernetes in more organizations.
DNS操作符的实现及虚拟机向KubeVirt迁移的网络指南
我们创建了一个自定义DNS操作符来解决Kubernetes中CoreDNS的缺点。虽然Kubernetes在编排容器方面越来越受欢迎,但许多使用基于虚拟机(VM)的遗留应用程序的组织仍在努力实现容器化。重新主机策略似乎是一种更快的方法。在Kubernetes上,KubeVirt可以用来管理重新托管的虚拟机。但是,长期使用虚拟机和容器之间存在巨大的差异。例如,对于需要静态IP的虚拟机来说,容器IP地址随时间变化是有问题的。此外,一些基于虚拟机的应用程序可能需要多个网络接口或特定的域名来进行服务发现。这些问题会导致部分虚拟机迁移到KubeVirt后无法正常运行。我们开发了一个运营商框架来解决应用层出现的网络问题,比如DNS查询。此外,我们还提供了一个指南,说明如何使用开源项目,如Multus容器网络接口,NMState,使具有网络功能相关应用程序的虚拟机能够正常迁移。我们的操作符和指南允许大多数虚拟机在迁移到KubeVirt后只需少量修改(甚至不修改)即可正常运行。这促进了Kubernetes在更多组织中的采用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信