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

Container testing method, device and apparatus and storage medium

A debugging method and container technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as unfavorable Kubernetes container cluster software upgrades, large change range, and affecting the stability of Kubernetes container clusters, etc., to improve distribution Efficiency, reduced development time, and increased stability

Pending Publication Date: 2021-02-26
GUANGZHOU HUYA TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the need to modify the core code of the Kubctl command, it is easy to affect the stability of the Kubernetes container cluster operation
In addition, due to the relatively large scope of changes, it is not conducive to the software upgrade of the Kubernetes container cluster

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
  • Container testing method, device and apparatus and storage medium
  • Container testing method, device and apparatus and storage medium
  • Container testing method, device and apparatus and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] figure 1 It is a flow chart of a debugging method for a container provided by Embodiment 1 of the present invention. This embodiment is applicable to the debugging of a service container, and specifically, it is applied to the non-invasive debugging of a service container. The method can be executed by a debugging device of the container, and the debugging device of the container can be a server, a computer, a mobile terminal, and the like.

[0069] In this embodiment, description is made by taking the debugging device of the container as a server as an example. Specifically, the server may be a cluster server or an independent server. Further, the server is also used to run at least one container.

[0070] refer to figure 1 , the method specifically includes the following steps:

[0071] S110. Receive a debugging request for the service container sent by the client.

[0072] In this embodiment, a service container is a container deployed with a service application...

Embodiment 2

[0122] Figure 2A It is a flow chart of a container debugging method provided by Embodiment 2 of the present invention; Figure 2B An architecture diagram of a container debugging system provided by Embodiment 2 of the present invention; Figure 2C An architecture diagram of another container debugging system provided by Embodiment 2 of the present invention. This embodiment is further refined on the basis of the foregoing embodiments, including adding a description of the architecture of the debugging system of the container to which the method is applicable.

[0123] refer to Figure 2A , the method can be applied to container clusters, specifically including the following steps:

[0124] S210. Receive a debugging request sent from the client.

[0125] Generally, the container debugging system includes a client and a container cluster. The container cluster can be managed by a container cluster management tool, and the client can be an application provided by the contai...

Embodiment 3

[0185] image 3 It is a schematic diagram of a container debugging method provided by Embodiment 3 of the present invention.

[0186] On the basis of the foregoing embodiments, the method in this embodiment may be applied to a client. refer to image 3 , the method specifically includes the following steps:

[0187] S310. Send a debugging request for the service container to the container cluster.

[0188] In this embodiment, the container cluster is used to respond to the debugging request, so as to create a debugging container integrated with a debugging tool in the service unit to which the service container belongs.

[0189] Wherein, the service unit includes a shared resource of each container; and according to the debugging tool, obtains the running information of the service container from the shared resource.

[0190] Generally, the container debugging system includes a client and a container cluster. The container cluster can be managed by a container cluster man...

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 embodiment of the invention discloses a container testing method device and apparatus and a storage medium. The method comprises the following steps: receiving a debugging request sent by a clientfor a service container; responding to the debugging request to create a debugging container integrated with a debugging tool in a service unit to which the business container belongs, with the service unit comprising shared resources of each container; according to the debugging tool, obtaining operation information of the service container from the shared resources; and sending the operation information to the client, thereby avoiding modifying the container mirror image related to the service, reducing the development time of developers, improving the operation stability of the container mirror image, and improving the distribution efficiency of the container mirror image.

Description

technical field [0001] The embodiment of the present invention relates to the computer technology of a virtual container, and in particular to a container testing method, device, equipment and storage medium. Background technique [0002] As a virtualization technology, container technology has become a widely recognized way of sharing server resources. Container technology can provide system administrators with great flexibility in the process of building container technology operating system instances on demand. [0003] Generally, when using container technology to build a backend server for business processing, it is easy to cause the backend server to run incorrectly due to the instability of the container image provided by the third party, which seriously affects the business processing. [0004] Existing methods can be used to debug the operation of the container image to ensure the normal operation of the business. [0005] 1. View the operation log [0006] For t...

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): G06F11/36
CPCG06F11/3644G06F11/3664G06F11/3688Y02D10/00
Inventor 张怡王兴刚王华夏毛茂德
Owner GUANGZHOU HUYA 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