numaresources-operator

command module
v0.4.15-0rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

README

NUMA Resources Operator

Operator to allow to expose the per-NUMA-zone compute resources, using the RTE - resource topology exporter. The operator also takes care of deploying the Node Resource Topology API on which the resource topology exporter depends to provide the data. The operator provides minimal support to deploy secondary schedulers.

current limitations

Please check the issues section for the known issues and limitations of the NUMA resources operator.

Additional noteworthy information

NRT objects only take into consideration exclusively allocated CPUs while accounting. In order for a pod to be allocated exclusive CPUs, it HAS to belong to Guaranteed QoS class (request=limit) and request has to be integral. Therefore, CPUs in the shared pool because of pods belonging to best effort/burstable QoS or guaranteed pod with non-integral CPU request would not be accounted for in the NRT objects. Please refer to CPU Manager docs here for more detail on this.

In addition to this, PodResource API is used to extract the resource information from Kubelet for resource accounting. CPUs exposed by the List endpoint of Podresource API correspond to exclusive CPUs allocated to a particular container. CPUs that belong to the shared pool are therefore not exposed by this API.

running the e2e suite against your cluster

The NUMA resources operator comes with a growing e2e suite to validate components of the stack (operator proper, RTE) as well as the NUMA aware scheduling as a whole. Pre-built container images including the suites are available. There is no support for these e2e tests images, and they are recommended to be used only for development/CI purposes.

See README.tests.md for detailed instructions about how to run the suite. See tests/e2e/serial/README.md for fine details about the suite and developer instructions.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
numaresourcesoperator/v1
Package v1 contains API Schema definitions for the nodetopology v1 API group +kubebuilder:object:generate=true +groupName=nodetopology.openshift.io
Package v1 contains API Schema definitions for the nodetopology v1 API group +kubebuilder:object:generate=true +groupName=nodetopology.openshift.io
numaresourcesoperator/v1alpha1
Package v1alpha1 contains API Schema definitions for the nodetopology v1alpha1 API group +kubebuilder:object:generate=true +groupName=nodetopology.openshift.io
Package v1alpha1 contains API Schema definitions for the nodetopology v1alpha1 API group +kubebuilder:object:generate=true +groupName=nodetopology.openshift.io
cmd
internal
pkg
k8sclientset/generated/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
k8sclientset/generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
k8sclientset/generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
k8sclientset/generated/clientset/versioned/typed/numaresourcesoperator/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
k8sclientset/generated/clientset/versioned/typed/numaresourcesoperator/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
k8sclientset/generated/clientset/versioned/typed/numaresourcesoperator/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
k8sclientset/generated/clientset/versioned/typed/numaresourcesoperator/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
rte
test
utils/k8simported/taints
package taints implements utilities for working with taints
package taints implements utilities for working with taints
tools

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL