'If a pod is allocated on to on-demand instance, shall we set its priority and priority class?
If a pod is allocated on to on demand instance, shall we set its priority and priority class?
Will preemption happens only on spot instance or on-demand instance as well?
Solution 1:[1]
Will preemption happens only on spot instance or on-demand instance as well?
No, this is a cluster wide feature and is not bound to node type. Spot instance can be interrupted anytime. For workload that you expect must run till complete (eg. job), you can use nodeSelector to ensure they only run on-demand node.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | gohm'c |
