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

Method for realizing container resource customized scheduling and deletion protection based on Webhook technology

A technology of resources and containers, which is applied in the field of cloud computing, can solve problems such as cluster hangups and easy deletion of key resources of the cluster by mistake, and achieve the effect of protecting the cluster from being occupied and preventing the cluster from being unavailable

Pending Publication Date: 2022-06-07
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] With the wide application of custom resource types, the types of resources in the cluster have become various. For operators who are not familiar with cluster resources, there is a risk of accidentally deleting key resources of the cluster and causing the cluster to hang up. Therefore, a resource deletion protection mechanism is needed. To ensure the security and stability of the 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
  • Method for realizing container resource customized scheduling and deletion protection based on Webhook technology
  • Method for realizing container resource customized scheduling and deletion protection based on Webhook technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047]The following will be combined with the accompanying drawings in the embodiments of the present invention, the technical solution in the embodiments of the present invention will be described clearly and completely, it is clear that the embodiments described are only a part of the embodiment of the present invention, not all embodiments. Based on embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative work, are within the scope of protection of the present invention.

[0048] See Figures 1 through 2 , the present invention provides a technical solution:

[0049] Using the Configuration mechanism of the Enhanced Webhook, some special configurations are automatically added, without the user to worry, writing code in Validating to set verification rules, check whether the request is legitimate, in order to achieve tenant-side automation scheduling container resources to the specified node creation and to...

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 belongs to the technical field of cloud computing, and provides a method for realizing container resource customized scheduling and deletion protection based on a Webhook technology, and the method can realize the following steps: automatically scheduling container resources to a specified node for creation, and ensuring that management side resources are not preempted when tenant side resources are created; protection annotations are added to the resources when the resource objects are created; when cluster key resources are deleted, whether the resources can be deleted or not is determined according to whether the protection characteristics are started or not, and therefore resource deletion protection is achieved, and the method has the advantages that container resource customized scheduling is achieved, and management side resources can be protected against being occupied by tenant side resources without manual modification; key resources in the cluster are subjected to deletion protection, and cluster unavailability caused by mistaken deletion of the key resources of the cluster is prevented; a tenant side is supported to specify a node of an installation container, and user-defined scheduling is met.

Description

Technical field [0001] This patent covers the field of cloud computing technology, especially a method of customizing scheduling and deletion protection of container resources based on Webhook technology. Background [0002] Kubernetes provides custom resource types and custom controllers to extend the functionality, and also provides dynamic admission control, that is, access control through webhooks, which are divided into two types: validating the nature of the admission webhook (Validating Admission Webhook) and modifying the nature of the admission webhook (Mutating AdmissionWebhook). The invocation principle of Webhook in Kubernetes is to first register an Enlighten Webhook (Validating / Mutating) with the Kubernetes cluster, and when the user's request reaches the Kubernetes Apiserver, Apiserver is based on the configuration of The DutatingWebhookConfiguration and the ValidatingWebhookConfigurat ion. First call The DutatingWebhookConfiguration to modify the user's requested ...

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): G06F9/455
CPCG06F9/45558G06F2009/45562G06F2009/45587G06F2009/4557
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