Resource tolerations and taints
First Claim
1. In a computing resource environment including at least one resource capable of being allocated to at least one of a plurality of tasks, a method comprising:
- receiving, at a resource scheduler operably connected to the computing resource environment, a request to allocate the resource to perform a particular task;
determining, in response to the received request, whether the resource is subject to a taint included in a resource offer;
in response to a determination that the resource is subject to a taint, analyzing the resource request to determine whether the resource request includes a toleration for the taint based on the outcome of comparing the taint and a toleration match expression included in the toleration;
in response to a determination that the resource request includes a toleration for the taint, allocating, with the resource scheduler, the resource to the particular task; and
in response to a determination that the resource request does not include a toleration for the taint, not allocating the resource to the request due to the taint.
2 Assignments
0 Petitions
Accused Products
Abstract
In a computing resource environment including at least one resource capable of being allocated to at least one of a plurality of tasks, techniques are disclosed for applying a taint to a resource in a computing resource environment, the taint being configured to prevent the resource from being claimed for a resource request without a toleration to that taint. Variations include receiving, at a resource scheduler in the resource environment, a request to allocate the resource to perform a particular task and determining whether the resource is subject to a taint. If the resource is subject to a taint, analyzing the request to determine if it includes a toleration for the taint. If the request includes a toleration for the taint, allocating the resource to the task. If the request does not include a toleration for the taint, not allocating the resource due to the taint.
20 Citations
27 Claims
-
1. In a computing resource environment including at least one resource capable of being allocated to at least one of a plurality of tasks, a method comprising:
-
receiving, at a resource scheduler operably connected to the computing resource environment, a request to allocate the resource to perform a particular task; determining, in response to the received request, whether the resource is subject to a taint included in a resource offer; in response to a determination that the resource is subject to a taint, analyzing the resource request to determine whether the resource request includes a toleration for the taint based on the outcome of comparing the taint and a toleration match expression included in the toleration; in response to a determination that the resource request includes a toleration for the taint, allocating, with the resource scheduler, the resource to the particular task; and in response to a determination that the resource request does not include a toleration for the taint, not allocating the resource to the request due to the taint. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. In a computing resource environment including at least one resource capable of being allocated to at least one of a plurality of tasks, a system comprising:
-
a processor; and a processor-readable medium having embodied thereon instructions which, when executed by the processor, cause the processor to perform method comprising the steps of receiving, at a resource scheduler operably connected to the computing resource environment, a request to allocate the resource to perform a particular task; determining, in response to the received request, whether the resource is subject to a taint, the taint including a first name; in response to a determination that the resource is subject to a taint, analyzing the resource request to determine whether the resource request includes a toleration for the taint based on the outcome of comparing a second name included in the toleration and the first name; in response to a determination that the resource request includes a toleration for the taint, allocating, with the resource scheduler, the resource to the particular task; and in response to a determination that the resource request does not include a toleration for the taint, not allocating the resource to the request due to the taint.
-
-
25. A non-transitory computer-readable medium having embodied thereon instructions which, when executed by at least one computer in a computing resource environment including at least one resource capable of being allocated to at least one of a plurality of tasks, cause the at least one computer to perform a method comprising:
-
receiving, at a resource scheduler operably connected to the computing resource environment, a request to allocate the resource to perform a particular task; determining, in response to the received request, whether the resource is subject to a taint, the taint including a taint effect type; in response to a determination that the resource is subject to a taint, analyzing the resource request to determine whether the resource request includes a toleration for the taint based on the outcome of comparing a toleration effect type included in the toleration and the taint effect type; in response to a determination that the resource request includes a toleration for the taint, allocating, with the resource scheduler, the resource to the particular task; and in response to a determination that the resource request does not include a toleration for the taint, not allocating the resource to the request due to the taint. - View Dependent Claims (26, 27)
-
Specification