Method for integrating Dubbo service and Kubernetes system

A system integration and service discovery technology, applied in the field of Dubbo service and Kubernetes system integration, can solve problems such as service function redundancy, achieve the effect of saving resources, reducing service failure rate, and promoting application value

Inactive Publication Date: 2020-04-14
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, Dubbo's registration center generally requires a storage consistency framework similar to Zookeeper, so when Dubbo's microservice system is placed on the cloud, additional Zookeeper components need to be deployed to discover services, which is redundant with the service functions in Kubernetes up

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for integrating Dubbo service and Kubernetes system
  • Method for integrating Dubbo service and Kubernetes system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] The method for integrating the Dubbo service and the Kubernetes system of the present invention uses Kubernetes as the service registration center of Dubbo, the service provider publishes the service on Kubernetes, and Dubbo reads the service provider information from the configuration and obtains the service and associated information from Kubernetes. Endpoint, and monitor the change of the endpoint, the service consumer finds the corresponding endpoint of the service through the Kubernetes interface to access the service provider.

[0026] Such as figure 1 As shown, the method for integrating the Dubbo service with the Kubernetes system includes the following steps:

[0027] S1. Kubernetes is associated with Dubbo services. Each service has a unique name and corresponding IP. The IP is automatically assigned by Kubernetes, and the name is customized by the developer.

[0028] Service IPs include ClusterIP, NodePort, LoadBalance, and Ingress, where ClusterIP is used f...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for integrating Dubbo service and a Kubernetes system, and belongs to the technical field of cloud computing. According to the method for integrating a Dubbo service and a Kubernetes system, the Kubernetes are used as a service registration center of the Dubbo; the service provider publishes the service on the Kubernetes and sends the Kubernetes to the Kubernetes;and the Dubbo reads the service provider information from the configuration, obtains the service and the associated endpoints from the Kubernetes, and monitors the change of the endpoints, and the service consumer finds the endpoints corresponding to the service through the interface of the Kubernetes to access the service provider. The method for integrating the Dubbo service and the Kubernetes system does not need to depend on a soft load registration center of three parties, meanwhile, a multi-tenant security system of the Kubernetes is seamlessly integrated, and good application and popularization value is achieved.

Description

technical field [0001] The invention relates to the technical field of cloud computing, and specifically provides a method for integrating a Dubbo service with a Kubernetes system. Background technique [0002] At present, cloud computing technology is becoming mature, and more and more applications and services are deployed on the cloud. With the development and evolution of software, the microservice architecture has become the mainstream architecture. Under this architecture, programs with different functions are deployed as a service in the operating environment, which is deployed in the cloud here. Dubbo is a distributed framework for remote service calls, which can transparently call remote methods between services, calling remote methods just like calling local methods, with simple configuration and no API intrusion. However, Dubbo's registration center generally requires a storage consistency framework similar to Zookeeper, so when Dubbo's microservice system is pla...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L29/08
CPCH04L41/0803H04L67/10H04L41/0813
Inventor 陈正伟王刚高传集
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products