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

Pod scheduling method and system based on Kubernetes

A scheduling method and scheduling system technology, applied in the field of cloud computing, can solve the problem that stateful services cannot be accurately scheduled, and achieve precise resource scheduling and good flexibility

Pending Publication Date: 2021-09-28
新浪技术(中国)有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a Kubernetes-based Pod scheduling method and system to solve the problem that existing Kubernetes clusters cannot accurately schedule stateful services

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
  • Pod scheduling method and system based on Kubernetes
  • Pod scheduling method and system based on Kubernetes
  • Pod scheduling method and system based on Kubernetes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0026] Such as figure 1 As shown, the present invention provides a pod scheduling method based on Kubernetes, including:

[0027] S101. Obtain online Pod operation status data;

[0028] S102. Retrieving preset Pod operation permission conditions;

[0029] S103. Comparing the Pod operation state data with the Pod operation permission condition, and generating a comparison result;

[0030] S104. Generate a scheduling task according to the comparison result; ...

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 provides a Pod scheduling method and system based on Kubernetes. The method comprises the following steps: acquiring online Pod operation state data; calling a preset Pod operation permission condition; comparing the Pod operation state data with the Pod operation permission condition to generate a comparison result; generating a scheduling task according to the comparison result; and executing the scheduling task by calling an API (Application Program Interface) of the Kubernetes. Through the method, the problem that an existing Kubernetes cluster cannot accurately schedule stateful services can be solved, the method is particularly suitable for database services such as MySQL, and deployment adjustment automation and operation and maintenance intelligence are achieved.

Description

technical field [0001] The present invention relates to the technical field of cloud computing, in particular to a Kubernetes-based Pod scheduling method and system. Background technique [0002] The emergence of Docker container technology, K8S service orchestration and scheduling platform, etc., provides a new resource scheduling solution. The Scheduler service on the Kubernetes Master is responsible for implementing Pod scheduling. The entire scheduling process executes a series of complex algorithms to finally calculate an optimal target node for each Pod. At present, most of the solutions implemented in the industry on platforms such as K8S are aimed at stateless web services, and there is no mature solution for stateful services such as databases. Although Kubernetes provides an Operator solution for the scheduling management of stateful services. Operator defines a set of methods for packaging and deploying complex business applications in Kubernetes clusters. Opera...

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/455G06F9/50
CPCG06F9/45558G06F9/5077G06F2009/45595G06F2009/4557
Inventor 李涛邱春武
Owner 新浪技术(中国)有限公司
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