首页|一种基于Kubernetes的轻量级PaaS微服务框架

一种基于Kubernetes的轻量级PaaS微服务框架

扫码查看
微服务框架主要有客户端负载均衡和服务端负载均衡两类设计模式。文章提出一种基于Kubernetes的轻量级PaaS微服务框架,框架采用服务端负载均衡模式,设计了自定义的ServiceRoute对象来描述服务路由需求,以ServiceRoute对象的变化来增删服务访问点,基于对服务访问点的DNS名称解析实现服务寻址,采用经LUA扩展的HAProxy实现服务路由和服务治理。框架采用标准的HTTP协议,架构简单清晰、组件实施方便、对应用无侵入,测试结果表明,该微服务框架工作稳定、性能良好,可为受限环境下部署微服务系统提供一种合适的解决方案。
A Lightweight PaaS Microservice Framework Based on Kubernetes
There are two main design patterns for microservices frameworks:client-side load balancing and server-side load balancing.This paper proposes a lightweight PaaS microservice framework based on Kubernetes.The framework adopts a server-side load balancing mode,designs a custom ServiceRoute object to describe service routing requirements,adds or removes service access points based on changes in the ServiceRoute object,implements service addressing based on DNS name resolution of service access points,and implements service routing and governance using LUA extended HAProxy.The framework adopts the standard HTTP protocol,with a simple and clear architecture,convenient component implementation,and non-invasive application.Test results show that the microservices framework works stably and performs well,providing a suitable solution for deploying microservices systems in restricted environments.

microservicePaaSKubernetesload balanceservice addressingservice governance

崔华、楼奕华、狄坤、王海

展开 >

中国民航信息网络股份有限公司,北京 101318

北京市民航大数据工程技术研究中心,北京 101318

微服务 PaaS Kubernetes 负载均衡 服务寻址 服务治理

2024

现代信息科技
广东省电子学会

现代信息科技

ISSN:2096-4706
年,卷(期):2024.8(2)
  • 10