Container scheduling method and device based on Kubernetes, storage medium and electronic equipment
A scheduling method and storage medium technology, applied in the direction of multi-program device, instrument, program control design, etc., can solve the problems of fragmentation of resources, exhaustion of resources, and reduction of cluster resource utilization, so as to reduce resource fragmentation and improve The effect of resource utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] see Figure 1-3 , in an embodiment of the present invention, a Kubernetes-based container scheduling method, when creating a container, resource scheduling includes the following steps:
[0029] S1, filter nodes, first query the resources of N dimensions of each computing node, and filter out all computing nodes whose available resources of N dimensions are greater than the resources required by the container, defined as NC 1 、NC 2 ...NC m , if the number of compute nodes filtered out is zero, the scheduling failure will be returned. If the number of compute nodes filtered out is 1, then the compute node is the host machine of the container to be created, and the scheduling ends. If the number of compute nodes filtered out is greater than 1, proceed to step 2;
[0030] S2, score the nodes, calculate the resource ratio value, find the host that is closest to the container resource ratio, and build a mathematical model, according to the formula Compute the score for ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


