Font Size: a A A

Design And Implementation Of An OpenStack Private Cloud Platform Based On Kubernetes

Posted on:2023-10-29Degree:MasterType:Thesis
Country:ChinaCandidate:P F XiaoFull Text:PDF
GTID:2558306848457274Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of cloud computing technology in recent years,it has become an irreversible trend.Internet giants have released corresponding cloud computing strategies one after another.Many leading cloud computing service providers have begun to provide a series of cloud computing services,and more enterprises have begun to use cloud services.In the field of private cloud,the technologies are mainly OpenStack and Kubernetes.The former provides cloud host services,with more comprehensive functional modules and good isolation,but it is difficult to deploy on physical machines,with low flexibility and low resource utilization.The latter provides container cloud services based on the container engine,which has higher deployment flexibility and higher resource utilization on physical machines,but cannot meet the host isolation standard and is not suitable for providing large-scale computing resources.Aiming at this problem,it is a new trend to combine OpenStack and Kubernetes to form complementary advantages.At present,there are three main methods.One is to deploy the Kubernetes cluster on the virtual machine cluster created by OpenStack.The core of this combination method is still the container cloud service,which cannot provide host-level isolation.The second is to deploy OpenStack on the Kubernetes cluster,which makes the deployment of OpenStack compatible and fast,and at the same time,it is more flexible in terms of scalability,and reaches the degree of isolation at the host level,which is suitable for large-scale computing resource service scenarios.The third is the coexistence of OpenStack and Kubernetes.This approach often occurs because the internal infrastructure platform of the enterprise adopts both cloud host and container deployment services,and it is necessary to realize the combination of different architecture services,which belongs to a specific scenario.In order to provide cloud services with host isolation level and apply to large-scale computing resource service scenarios,this article takes the deployment of OpenStack on Kubernetes clusters as the background to design and implement a private cloud platform.The main tasks are divided into three parts:The first is to design and implement the functions of each module of private cloud platform resource management,which includes cloud host,cloud disk,cloud network and security,cloud image,and cloud monitoring and notification management.The internal code of the module maintains the mode design of the service data entry and exit layer,service layer,persistence layer and OpenStack operation layer.It operates resources based on the API of each component of OpenStack.At the same time,based on the service discovery feature of Kubernetes cluster,it realizes the input,parsing and output of interface fields between container services.The second is to design and implement the function of self-adaptive adjustment and migration of private cloud platform resources.Through algorithm design,a load threshold scheme and a monitoring frequency scheme are set for virtual machines,and resources are predicted by curve fitting to realize dynamic scaling of virtual machine resources.By calculating the weights of virtual machines and cluster resources,the design scheme selects the source virtual machine and the destination virtual machine,and realizes the adaptive migration of virtual machines.Embed the resource adaptation module into the cloud monitoring and notification management module to realize the automatic orchestration and scaling of virtual machines similar to containers.The third is to design and implement private cloud platform deployment.Using the OpenStack-Helm tool,the OpenStack components are packaged into images and deployed in the Kubernetes cluster to implement OpenStack deployment on the Kubernetes cluster.Make and deploy the offline resource package required for the private cloud platform,make and deploy the container image of each module of the resource management of the private cloud platform,and finally realize the complete deployment tool based on the integration of Kubespray and Ansible.This article first discusses and analyzes domestic and foreign literatures from three aspects: the development status of private cloud,the combination of OpenStack and Kubernetes technology,and the research status of private cloud resource adaptive technology,and selects a technical solution.Then according to the software development process,the requirements analysis,overall design,detailed design and implementation are carried out.Finally,a test plan was designed to test and verify the functions of the cloud platform.The results were in line with expectations,and the corresponding functions of the private cloud platform based on OpenStack and Kubernetes were basically realized.
Keywords/Search Tags:Private Cloud, Kubernetes, OpenStack, Resource Self-adaption
PDF Full Text Request
Related items