Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Construction method of service adaptation system based on Kubernetes

A construction method and a technology for adapting the system, applied in the direction of software design, etc., can solve the problems of increasing workload and reducing work efficiency, and achieve the effect of expanding the operating range and promoting the application value

Pending Publication Date: 2020-01-17
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the process of redeploying service A requires modifying the code and restarting the service, which not only increases the workload, but also reduces work efficiency

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
  • Construction method of service adaptation system based on Kubernetes
  • Construction method of service adaptation system based on Kubernetes
  • Construction method of service adaptation system based on Kubernetes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] The construction method of the Kubernetes-based service adaptation system of the present invention, the method configures the service adapter according to the CRD resource of Kubernetes, reads the service adapter configuration, parses the service adapter configuration, generates a routing table and routing rules about service adaptation, When different services interact, they look up routing tables and routing rules.

[0028] Continuously monitor the service adapter configuration, and rebuild the routing table and routing rules when the service adapter configuration changes.

[0029] When there is request data, send the request to the service adapter according to the routing table.

[0030] This construction method is based on the CRD resource of Kubernetes, CRD is Custom Resource Definition, custom resource definition.

[0031] Specifically include the following steps:

[0032] Such as figure 1 As shown, S1, configuration service adapter, including configuration pro...

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 construction method of a service adaptation system based on Kubernetes, and belongs to the technical field of cloud computing and software design modes. According to the construction method of the service adaptation system based on the Kubernetes, a service adapter is configured according to the CRD resources of the Kubernetes, thereby reading service adapter configuration, analyzing the service adapter configuration, generating a routing table and a routing rule related to service adaptation, and performing different service interactions by searching the routing table and the routing rule; continuously monitoring the configuration of the service adapter, and reconstructing a routing table and a routing rule when the configuration of the service adapter is changed; and when the request data exists, sending a request to the service adapter according to the routing table. According to the construction method of the Kubernetes-based service adaptation system, service access can be realized by configuring the access service interface, and the Kubernetes-based service adaptation system has good popularization and application values.

Description

technical field [0001] The invention relates to the technical fields of cloud computing and software design patterns, and specifically provides a method for constructing a service adaptation system based on Kubernetes. 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. This also brings problems. For example, when a service A is running, a series of data will be produced, and these data will be sent to other services, such as quota checking system, monitoring system, log system, access control system, etc. Wait. If it is implemented in the traditional way, service A needs to add code to realize the int...

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
IPC IPC(8): G06F8/20
CPCG06F8/20
Inventor 陈正伟王刚高传集
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products