Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for retrieving all resources in Kubernetes cluster through keywords

A keyword and cluster technology, applied in the computer field, can solve problems such as incomplete resources and complex retrieval operations, and achieve the effect of facilitating operation and management

Active Publication Date: 2020-10-16
FUJIAN JIANKANGZHILU INFORMATION TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this reason, it is necessary to provide a method to retrieve all resources in the Kubernetes cluster through keywords, so as to solve the complex retrieval operation and the resources retrieved by the existing K8S retrieval method For incomplete questions, the specific technical solutions are as follows:

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 and system for retrieving all resources in Kubernetes cluster through keywords
  • Method and system for retrieving all resources in Kubernetes cluster through keywords

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0043] see figure 2 , in this embodiment, a specific implementation of a system 200 for searching all resources in a Kubernetes cluster by keywords is as follows:

[0044] A system 200 for retrieving all resources in a Kubernetes cluster by keywords, including: a client 201 and a server 202;

[0045]The client 201 is used to: call the Kubernetes API to obtain all resources in all Namespaces, and cache all resources into the memory of the server 202;

[0046] The client 201 is further configured to: acquire an input cluster name and send the cluster name to the server 202, acquire an input keyword and send the keyword to the server 202;

[0047] The server 202 is further configured to: search and filter all resources in all Namespaces in the memory of the server 202 according to the cluster name and the keyword, and return the search and filter results to the client 201;

[0048] The client 201 is further configured to: display search and filter results.

[0049] In this em...

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 relates to the technical field of computers, and in particular relates to a method and system for retrieving all resources in a Kubernetes cluster through keywords. The method for retrieving all the resources in the Kubernetes cluster through the keywords comprises the steps of calling a Kubernetes API to obtain all the resources in all Namespace, and caching all the resources into aserver-side memory; acquiring an input cluster name, acquiring an input keyword, and retrieving and filtering all resources in all Namespace in the server-side memory according to the cluster name and the keywords; displaying search filter results. Namespace information does not need to be provided in the whole process, so that the Namespace does not need to be switched for multiple times for retrieval even under the condition of more Namespaces, and operation and management are facilitated.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for retrieving all resources in a Kubernetes cluster through keywords. Background technique [0002] Retrieving resources is an essential function of Kubernetes (K8S for short) management tools. The current retrieval method is usually to select the cluster and Namespace, enter the keyword of the Deployment name in the input box, and then call the Kubernetes API to perform fuzzy matching to retrieve the matching resources. resource. [0003] It can be found that the existing retrieval method requires the user to provide three pieces of information, namely: cluster name, Namespace name, and Deployment keyword, and the name of the Deployment is only allowed to consist of lowercase English, numbers, and "-" in Kubernetes, which makes it difficult to Recognition and memory, its inability to support Chinese retrieval makes the user experience not good. In additi...

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): G06F16/33G06F16/335G06F16/338
CPCG06F16/3334G06F16/335G06F16/338
Inventor 马坚张万能林剑林灿辉黄超
Owner FUJIAN JIANKANGZHILU INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More