首页>
外国专利>
METHOD AND APPARATUS FOR DEPLOYING MICRO SERVICE CLUSTER, COMPUTER DEVICE AND STORAGE MEDIUM
METHOD AND APPARATUS FOR DEPLOYING MICRO SERVICE CLUSTER, COMPUTER DEVICE AND STORAGE MEDIUM
展开▼
机译:用于部署Micro Service Cluster,计算机设备和存储介质的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method and an apparatus for deploying a micro service cluster, a computer device and a storage medium. Said method comprises: upon receipt of a micro service cluster deployment instruction, acquiring a micro service cluster deployment file; storing a target environment configuration package into a local warehouse, making a Docket mirror file from the target environment configuration package by means of a Docker tool, associating the Docker mirror file with an environment configuration package name, and uploading the Docker mirror file to a Docker register; querying, by means of a Helm tool, from a Kubernetes cluster container whether there is an environment cluster name consistent with a target environment cluster name; creating a first micro service cluster consistent with the target environment cluster name; installing, by means of the Helm tool, the target environment configuration package into a first target host, and pushing the Docker mirror file to all of first target nodes; and constructing an environment configuration of the first micro service cluster by means of the Helm tool. The present invention implements automatic configuration of a cluster under a Kubernetes cluster container, reducing manual configuration, and improving the construction efficiency.
展开▼
机译:一种用于部署微服务群集的方法和装置,计算机设备和存储介质。所述方法包括:在接收到微型服务群集部署指令时,获取Micro Service Cluster Deployment文件;将目标环境配置包存储到本地仓库中,通过Docker工具从目标环境配置包中从目标环境配置包中进行Docket镜像文件,将Docker镜像文件与环境配置包名称相关联,并将Docker镜像文件上传到Docker登记;通过掌舵工具查询kubernetes集群容器,是否存在与目标环境群集名称一致的环境群集名称;创建与目标环境群集名称一致的第一个微服务群集;通过掌舵工具将目标环境配置包安装到第一个目标主机中,并将Docker镜像文件推到所有第一目标节点;通过舵工具构建第一微型服务集群的环境配置。本发明在Kubernetes集群容器下实现集群的自动配置,减少手动配置,提高施工效率。
展开▼