1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00
Node feature discovery for Kubernetes
Find a file
2016-07-31 21:35:52 -07:00
code-of-conduct.md Template project files 2016-07-22 22:13:48 -07:00
CONTRIBUTING.md Template project files 2016-07-22 22:13:48 -07:00
LICENSE Template project files 2016-07-22 22:13:48 -07:00
OWNERS Template project files 2016-07-22 22:13:48 -07:00
README.md Added references section. 2016-07-31 21:35:52 -07:00
RELEASE.md Template project files 2016-07-22 22:13:48 -07:00

Node feature discovery for Kubernetes

Overview

This software enables node feature discovery for Kubernetes. It detects hardware features available on each node in a Kubernetes cluster, and advertises those features using node labels.

Feature sources

Feature labels

The published node labels encode a few pieces of information:

  • A "namespace" to denote the vendor/provider (e.g. node.alpha.intel.com).
  • The version of this discovery code that wrote the label, according to git describe --tags --dirty --always.
  • The source for each label (e.g. cpuid).
  • The name of the discovered feature as it appears in the underlying source, (e.g. AESNI from cpuid).

Note: only features that are available on a given node are labeled, so the only label value published for features is the string "true".

{
  "node.alpha.intel.com/dbi-iafeature-discovery.version": "v0.1.0",
  "node.alpha.intel.com/v0.1.0-cpuid-<feature-name>": "true",
  "node.alpha.intel.com/v0.1.0-rdt-<feature-name>": "true",
  "node.alpha.intel.com/v0.1.0-pstate-<feature-name>": "true"
}

References

Github issues

Design proposal

License

This is open source software released under the Apache 2.0 License.