Resource Exporter for volcano scheduling, e.g. NUMA-Aware scheduling.
Go to file
Volcano Bot 5849ff707b
Merge pull request #10 from eternalphane/fix/go-mod
fix: missing dependency
2024-10-22 10:31:18 +08:00
docker submit the resource exporter code 2021-06-04 18:52:51 +08:00
installer submit the resource exporter code 2021-06-04 18:52:51 +08:00
pkg fix typo 2023-11-02 07:39:28 +00:00
.gitignore submit the resource exporter code 2021-06-04 18:52:51 +08:00
LICENSE submit the resource exporter code 2021-06-04 18:52:51 +08:00
Makefile submit the resource exporter code 2021-06-04 18:52:51 +08:00
Makefile.def submit the resource exporter code 2021-06-04 18:52:51 +08:00
OWNERS add owners file 2022-04-27 16:45:05 +08:00
README.md Added link to numa-topo.yaml 2022-07-16 18:18:42 +05:30
go.mod fix: missing dependency 2024-10-21 18:21:02 +08:00
go.sum fix: missing dependency 2024-10-21 18:21:02 +08:00
main.go align up resource reservation based on kubelet 2022-02-17 10:34:49 +08:00

README.md

resource-exporter

Resource Exporter is a Daemonset to collect the device resource information on each node and update it to CRD for Volcano scheduling, e.g. NUMA-Aware scheduling.

Notes:

Resource Exporter supports the CPU NUMA topology resource so far. More resources will be included in the future.

Quick Start Guide

Compilation

   make image [TAG=XXX]

Prerequisites

Installation

1. Edit the file ./installer/numa-topo.yaml

There are some options which you can use to configure

Parameter Description Default Value
kubelet-conf specify kubelet configuration file path to get its configuration /var/lib/kubelet/config.yaml
cpu-manager-state specify the cpu manager state file path in kubelet to get get the real-time CPU topology data /var/lib/kubelet/cpu_manager_state
device-path specify the system device path to get the NUMA data of worker node /sys/devices/system
res-reserved specify the reserved resource of worker node; if the reserved resource is configured in the kubelet configuration file, you can ignore it ""

2. Deploy resource exporter

   kubectl apply -f ./installer/numa-topo.yaml