waiterQ / resource-exporter

Resource Exporter for volcano scheduling, e.g. NUMA-Aware scheduling.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Resource Exporter for volcano scheduling, e.g. NUMA-Aware scheduling.

License:Apache License 2.0


Languages

Language:Go 96.3%Language:Dockerfile 2.2%Language:Makefile 1.5%