发明名称 |
Resource tolerations and taints |
摘要 |
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. |
申请公布号 |
US9535750(B1) |
申请公布日期 |
2017.01.03 |
申请号 |
US201314142545 |
申请日期 |
2013.12.27 |
申请人 |
Google Inc. |
发明人 |
Wilkes John;Grant Brian |
分类号 |
G06F9/50;G06F9/46 |
主分类号 |
G06F9/50 |
代理机构 |
Lerner, David, Littenberg, Krumholz & Mentlik, LLP |
代理人 |
Lerner, David, Littenberg, Krumholz & Mentlik, LLP |
主权项 |
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. |
地址 |
Mountain View CA US |