Docker-based user binding scheduling method and system
A technology of user binding and scheduling method, applied in the field of virtualized containers, can solve problems such as inflexible resource allocation, and achieve the effect of highlighting substantive characteristics, wide application prospects, and significant progress
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0084] Such as figure 1 As shown, the present invention provides a docker-based user binding scheduling method, comprising the following steps:
[0085] S1. Configure a multi-node matching rule field for the description file of the Pod to be scheduled, and configure a subfield for the multi-node matching rule field, and the subfield includes a scheduling target node set determination rule subfield;
[0086] S2. Obtain the description file of the Pod to be scheduled, and parse out the multi-node matching rule field in the description file of the Pod to be scheduled;
[0087] S3. Analyzing the scheduling target node set determination rule subfield from the multi-node matching rule field, and determining the scheduling target node set;
[0088] S4. Scoring each node in the scheduling target node set to determine the scheduling target node. In our practical applications, it is often necessary to schedule specified Pods to run on specified servers. For example, some companies cla...
Embodiment 2
[0090] Such as figure 1 As shown, the present invention provides a docker-based user binding scheduling method, comprising the following steps:
[0091] S1. Configure a multi-node matching rule field for the description file of the Pod to be scheduled, and configure subfields for the multi-node matching rule field, and the subfields include the scheduling target node set determination rule subfield and the node label change processing rule subfield;
[0092] S2. Obtain the description file of the Pod to be scheduled, and parse out the multi-node matching rule field in the description file of the Pod to be scheduled;
[0093] S3. Analyzing the scheduling target node set determination rule subfield from the multi-node matching rule field, and determining the scheduling target node set;
[0094] S4. Scoring each node in the scheduling target node set to determine the scheduling target node;
[0095] S5. Determine whether the label of the running node is changed, and when the no...
Embodiment 3
[0099] Such as figure 2 As shown, the present invention provides a docker-based user binding scheduling method, comprising the steps of:
[0100] S1. Configure a multi-node matching rule field for the description file of the Pod to be scheduled, and configure subfields for the multi-node matching rule field, the subfields include the scheduling target node set determination rule subfield, the set is empty processing rule subfield, and node Label change processing rule subfield; at the same time set the default target node scheduling rule;
[0101] S2. Obtain the description file of the Pod to be scheduled, and parse out the multi-node matching rule field in the description file of the Pod to be scheduled; specifically include the following steps:
[0102] S21. Obtain and parse the description file of the Pod to be scheduled, and determine whether it contains a multi-node matching rule field;
[0103] If so, then enter step S22;
[0104] If not, then enter step S23;
[010...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


