1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/source
Francesco Romani b4c92e4eed topologyupdater: Bootstrap nfd-topology-updater in NFD
- This patch allows to expose Resource Hardware Topology information
  through CRDs in Node Feature Discovery.
- In order to do this we introduce another software component called
  nfd-topology-updater in addition to the already existing software
  components nfd-master and nfd-worker.
- nfd-master was enhanced to communicate with nfd-topology-updater
  over gRPC followed by creation of CRs corresponding to the nodes
  in the cluster exposing resource hardware topology information
  of that node.
- Pin kubernetes dependency to one that include pod resource implementation
- This code is responsible for obtaining hardware information from the system
  as well as pod resource information from the Pod Resource API in order to
  determine the allocatable resource information for each NUMA zone. This
  information along with Costs for NUMA zones (obtained by reading NUMA distances)
  is gathered by nfd-topology-updater running on all the nodes
  of the cluster and propagate NUMA zone costs to master in order to populate
  that information in the CRs corresponding to the nodes.
- We use GHW facilities for obtaining system information like CPUs, topology,
  NUMA distances etc.
- This also includes updates made to Makefile and Dockerfile and Manifests for
  deploying nfd-topology-updater.
- This patch includes unit tests
- As part of the Topology Aware Scheduling work, this patch captures
  the configured Topology manager scope in addition to the Topology manager policy.
  Based on the value of both attribues a single string will be populated to the CRD.
  The string value will be on of the following {SingleNUMANodeContainerLevel,
  SingleNUMANodePodLevel, BestEffort, Restricted, None}

Co-Authored-by: Artyom Lukianov <alukiano@redhat.com>
Co-Authored-by: Francesco Romani <fromani@redhat.com>
Co-Authored-by: Talor Itzhak <titzhak@redhat.com>
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-09-21 10:47:39 +01:00
..
cpu source: make sources register themselves 2021-09-15 18:41:37 +03:00
custom source: make sources register themselves 2021-09-15 18:41:37 +03:00
fake source: make sources register themselves 2021-09-15 18:41:37 +03:00
internal make golint happy 2021-06-14 12:27:58 -05:00
iommu source: make sources register themselves 2021-09-15 18:41:37 +03:00
kernel source: make sources register themselves 2021-09-15 18:41:37 +03:00
local source: make sources register themselves 2021-09-15 18:41:37 +03:00
memory source: make sources register themselves 2021-09-15 18:41:37 +03:00
network source: make sources register themselves 2021-09-15 18:41:37 +03:00
pci source: make sources register themselves 2021-09-15 18:41:37 +03:00
storage source: make sources register themselves 2021-09-15 18:41:37 +03:00
system source: make sources register themselves 2021-09-15 18:41:37 +03:00
usb source: make sources register themselves 2021-09-15 18:41:37 +03:00
config.go topologyupdater: Bootstrap nfd-topology-updater in NFD 2021-09-21 10:47:39 +01:00
mock_LabelSource.go source: make sources register themselves 2021-09-15 18:41:37 +03:00
source.go source: make sources register themselves 2021-09-15 18:41:37 +03:00
source_test.go source: make sources register themselves 2021-09-15 18:41:37 +03:00