diff --git a/README.md b/README.md index 32a5a17e1..46c6b9f7e 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ The current set of feature sources are the following: The published node labels encode a few pieces of information: -- A "namespace" to denote the vendor/provider (e.g. `node.alpha.intel.com`). +- A "namespace" (e.g. `node.alpha.intel.com/nfd`). - 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`). @@ -72,9 +72,9 @@ the only label value published for features is the string `"true"`._ ```json { "node.alpha.intel.com/node-feature-discovery.version": "v0.1.0", - "node.alpha.intel.com/v0.1.0-cpuid-": "true", - "node.alpha.intel.com/v0.1.0-rdt-": "true", - "node.alpha.intel.com/v0.1.0-pstate-": "true" + "node.alpha.intel.com/nfd-cpuid-": "true", + "node.alpha.intel.com/nfd-rdt-": "true", + "node.alpha.intel.com/nfd-pstate-": "true" } ``` @@ -179,7 +179,7 @@ following example shows how to target nodes with Intel TurboBoost enabled. } ], "nodeSelector": { - "node.alpha.intel.com/v0.1.0-pstate-turbo": "true" + "node.alpha.intel.com/nfd-pstate-turbo": "true" } } } diff --git a/main.go b/main.go index 768956689..0d710a413 100644 --- a/main.go +++ b/main.go @@ -29,7 +29,7 @@ const ( var ( version = "" // Must not be const, set using ldflags at build time - prefix = fmt.Sprintf("%s/%s", Namespace, version) + prefix = fmt.Sprintf("%s/nfd", Namespace) ) // Labels are a Kubernetes representation of discovered features.