| With the rapid development of Internet and cloud computing technology,Enter-prise applications are increasingly complex.Microservice architecture stands out with its componentization,modularization,and servitization,replacing the monolithic archi-tecture and service-oriented architecture(SOA)as the first choice of enterprise system architecture.Service Mesh emerged owing to the complexity of inter-service commu-nication,which is dedicated to the infrastructure layer of microservice communication and governance policy.As one of the most common implementations of Service Mesh,Istio is particularly prominent in its microservice governance capabilities.Although microservice governance based on Istio is widely concerned in academia and indus-try,the development of a generic and reusable service governance solution has not yet become a mainstream.Based on the above background,a microservice governance platform based on Istio Service Mesh was designed and implemented in this thesis.In view of enterprise microservice governance,this system was divided into the task management module,service discovery module and service monitoring module.It is worth mentioning that the task management module creatively makes the configuration of microservice gov-ernance tasks templated and customized,which integrates the functions of Istio,e.g.,flow control and intelligent routing.Developers and operators can carry out the de-velopment,testing,deployment,and rollback efficiently according to actual business requirements,and get rid of complex operation instructions and configuration files.The service discovery module is in charge of collecting,analyzing and visualizing the cluster metrics periodically.To provide a comprehensive and in-depth monitoring of the cluster,the service monitoring module also integrated with the Grafana and Jaeger component's UI interfaces,allowing users to view a visual chart of the Kubernetes cluster' s metrics or to perform a distributed trace of the microservices.This system adopted the method of separating front-end code from back-end code,and the front-end uses API to call back-end data.The back-end of the system was developed with Go language and Gin framework,and the data persistence was realized through Gorm database framework.The front-end realized the usability of the system through Re-act framework and HIUI front-end open source components.The system used Docker container technology to encapsulate API and UI,and made use of YAML configuration file to realize storage configuration and deployment,making the system both easy to use and flexible.The system can be automatically deployed through kubectl instruction and sustainably integrated,which works out of the box.At present,the system has passed the test successfully.The user interface is simple and friendly,and the actual operation results are able to meet the users' requirements.The system not only realizes the reusability and versatility of the microservice gov-ernance solution,but also ensures its flexible deployment and strong scalability.The system provides the strong support for the migration to microservices by helping enter-prises reduce the cost of microservice operation and maintenance,as well as improve the efficiency of microservice governance. |