首页>
外国专利>
K8S-BASED SERVICE DEPLOYMENT METHOD, APPARATUS, DEVICE, AND MEDIUM
K8S-BASED SERVICE DEPLOYMENT METHOD, APPARATUS, DEVICE, AND MEDIUM
展开▼
机译:基于K8S的服务部署方法,装置,设备和媒体
展开▼
页面导航
摘要
著录项
相似文献
摘要
A k8s-based service deployment method, apparatus, device, and medium. The method comprises: acquiring service data, the service data comprising data corresponding to one service; deploying a service on a first target pod according to the service data; deploying, on the basis of a sidecar means, a proxy corresponding to the service on the first target pod, so as to use the proxy as a network proxy of the service; and acquiring a preset ConfigMap corresponding to the first target pod, so that the proxy performs communication between different pods according to the preset ConfigMap, the preset ConfigMap comprising routing information. As such, only one service is deployed by one pod, and a separate service does not need to be deployed to string together each independent service on one pod, thus reducing the workload in a service deployment process, and improving resource utilization. A plug-in may be added to the service by means of the proxy, and after the plug-in is added, compilation of the entire pod does not need to be reperformed.
展开▼