Service access method and system for kubernetes cluster, electronic equipment and medium

A service access and cluster technology, applied in the communication field, can solve problems such as heavy maintenance workload and inability to establish communication with Pods, and achieve the effects of convenient and fast debugging, reduced maintenance workload, and simplified access steps

Active Publication Date: 2021-04-16
HANGZHOU RIVTOWER TECH CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to the characteristics of the kubernetes cluster, the services deployed in the kubernetes cluster use the Internet protocol address in the cluster. Therefore, only the services in the kubernetes cluster can access each other, and the network outside the cluster cannot directly communicate with the kubernetes cluster. Pod establishes communication
At present, even if the service of the external network communicates with the service inside the kubernetes cluster to access the service inside the kubernetes cluster, it brings a huge maintenance workload

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
  • Service access method and system for kubernetes cluster, electronic equipment and medium
  • Service access method and system for kubernetes cluster, electronic equipment and medium
  • Service access method and system for kubernetes cluster, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] refer to figure 2 As shown in , it is a schematic diagram of the steps of the service access method for the kubernetes cluster provided by the embodiment of this specification. The service access method can access internal services inside the kubernetes cluster from the outside of the kubernetes cluster, and has simple operation steps and low maintenance workload. The service access method for the kubernetes cluster includes:

[0029] Step 10: The external client sends a service request to the external domain name server, the service request includes the domain name of the internal service of the kubernetes cluster, and the external domain name server is located outside the kubernetes cluster;

[0030] External clients outside the kubernetes cluster, such as figure 1 The office PC1 shown sends a service request to an external domain name server, and the service request includes the domain name of the internal service of the kubernetes cluster. As the domain name ser...

Embodiment 2

[0098] refer to Figure 9 As shown, it is the service access system 10 for the kubernetes cluster provided by the embodiment of this specification. The service access system 10 for kubernetes clusters combined with blockchain technology can realize the security of license issuance, the random generation of keys, the traceability and authenticity of the entire process of licenses from validity to user viewing, and avoid issuance Risk of file disclosure. The service access system for the kubernetes cluster includes an issuing module 100 and a blockchain network 110, wherein the issuing module 100 is used for:

[0099] refer to Figure 9 As shown, the service access system for kubernetes cluster provided by the embodiment of this specification includes an external client 10 and an external domain name server 20, wherein:

[0100] The external client 10 is used to send a service request to an external domain name server, the service request includes the domain name of the inter...

Embodiment 3

[0137] Figure 11 It is a schematic structural diagram of an electronic device according to an embodiment provided by the embodiments of this specification. At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic device may also include hardware required by other services.

[0138] The processor, the network interface and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus or an EISA (Extended Industry StandardArchitecture, extended industry standard archi...

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

One or more embodiments of the invention disclose a service access method and system for a kubernetes cluster, electronic equipment and a medium. The service access method for the kubernetes cluster comprises the steps that an external client sends a service request to an external domain name server, the service request comprises a domain name of an internal service of the kubernetes cluster, and the external domain name server is located outside the kubernetes cluster; the external domain name server acquires an IP address corresponding to the domain name based on the domain name of the internal service of the kubernetes cluster; the external domain name server returns the IP address to the external client; and the external client accesses the internal service of the kubernetes cluster based on the IP address, so that the external client outside the cluster can directly access the internal service of the kubernetes cluster conveniently.

Description

technical field [0001] This document relates to the field of communication technologies, and in particular to a service access method, system, electronic device and medium for a kubernetes cluster. Background technique [0002] The network model of Kubernetes cluster is a widely used leading container-based distributed architecture solution, which solves the management problems of large-scale clusters in use. In the kubernetes cluster, the pod of the container is the smallest unit of kubernetes cluster deployment, providing some kind of service for the client. Services are typically assigned Internet Protocol addresses within the cluster. [0003] However, due to the characteristics of the kubernetes cluster, the services deployed in the kubernetes cluster use the Internet protocol address in the cluster. Therefore, only the services in the kubernetes cluster can access each other, and the network outside the cluster cannot directly communicate with the kubernetes cluster. ...

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): H04L29/08H04L29/12
Inventor 王晓亮缪俊
Owner HANGZHOU RIVTOWER 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