Pods can have priority. Priority indicates the importance of a Pod in comparision to other Pods. If a Pod cannot be scheduled, because of resource issues, the scheduler tries to preempt (evict) lower priority Pods to make resources available for higher priority pods. This is in addition to quality of service concept.
Its a two step process:
#1 - Create priority class
#2 - Attach the priority class to the pod
A PriorityClass object can have any 32-bit integer value smaller than or equal to 1 billion. (reference kubernetes.io)
Priority classes is a excellent way to make sure that your critical applications will always be given priority over other applications.
Video Timeline:
00:00 - 8:45 - Problem of Resource Allocation to critical applications
08:46 - 14:00 - Create priority classes
14:01 - 24:28 - Assigning priority classes to applications
Visit us - https://networknuts.net
Social - #networknuts
Смотрите видео Kubernetes Priority Classes - Best way to guarantee resources to critical applications in production онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал networknutsdotnet 07 Ноябрь 2023. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 557 раз и оно понравилось 14 посетителям.