In Openshift Conatiner Platform 3.11 new feature Pod Priority and Preemption has been introduced to solve this challenge. It is quite simple: first you can create your own priority classes or use default ones. Secondly you need to configure your pod with class you want to use:
apiVersion: v1
kind: Pod
...
spec:
containers:
...
priorityClassName: high-priority
Check this docs for more details how to set pod priorities up.
Brak komentarzy:
Prześlij komentarz