1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/bocloud-open-source-carina

Клонировать/Скачать
capacity-scheduler.md 1.1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
antmoveh Отправлено 26.08.2022 13:20 6551629

capacity scheduling

carina-scheduler can scheduling pods based on usage and capacity of nodes' disks.

 config.json: |-
    {
      "diskScanInterval": "300", # disk scan intervals in seconds. Zero will disable scanning. 
      "diskGroupPolicy": "type", # disk group policy
      "schedulerStrategy": "spreadout" # scheduler policy, supports binpack and spreadout.
    }

For schedulerStrategy,

  • In case of storageclass volumeBindingMode:Immediate, the scheduler will only consider nodes' disk usage. For example, with spreadout policy, carina scheduler will pick the node with the largest disk capacity to create volume.
  • In case of schedulerStrategystorageclass volumeBindingMode:WaitForFirstConsumer, carina scheduler only affects the pod scheduleing by providing its rank. Kube-scheduler will pick a node finally. User can learn detailed messages in carina-scheduler's log.
  • When multiples nodes have valid capacity ten times larger than requested, those node will share the same rank.

Note:there is an carina webhook that will change the pod scheduler to carina-scheduler if it uses carina PVC.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/bocloud-open-source-carina.git
git@api.gitlife.ru:oschina-mirror/bocloud-open-source-carina.git
oschina-mirror
bocloud-open-source-carina
bocloud-open-source-carina
main