Skip to content

Commit

Permalink
Merge pull request #31 from ConnorDoyle/update-namespace
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Update published label prefix.

Fixes #27.
- Changed prefix from `node.alpha.intel.com/nfd` to
  `node.alpha.kubernetes-incubator.io/nfd`
  • Loading branch information
nfd-merge-bot authored Nov 16, 2016
2 parents 8c37ae2 + 9443bc6 commit 3073484
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" (e.g. `node.alpha.intel.com/nfd`).
- A "namespace" (e.g. `node.alpha.kubernetes-incubator.io/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`).
Expand All @@ -71,10 +71,10 @@ 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/nfd-cpuid-<feature-name>": "true",
"node.alpha.intel.com/nfd-rdt-<feature-name>": "true",
"node.alpha.intel.com/nfd-pstate-<feature-name>": "true"
"node.alpha.kubernetes-incubator.io/node-feature-discovery.version": "v0.1.0",
"node.alpha.kubernetes-incubator.io/nfd-cpuid-<feature-name>": "true",
"node.alpha.kubernetes-incubator.io/nfd-rdt-<feature-name>": "true",
"node.alpha.kubernetes-incubator.io/nfd-pstate-<feature-name>": "true"
}
```

Expand Down Expand Up @@ -184,7 +184,7 @@ following example shows how to target nodes with Intel TurboBoost enabled.
}
],
"nodeSelector": {
"node.alpha.intel.com/nfd-pstate-turbo": "true"
"node.alpha.kubernetes-incubator.io/nfd-pstate-turbo": "true"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
ProgramName = "node-feature-discovery"

// Namespace is the prefix for all published labels.
Namespace = "node.alpha.intel.com"
Namespace = "node.alpha.kubernetes-incubator.io"

// PodNameEnv is the environment variable that contains this pod's name.
PodNameEnv = "POD_NAME"
Expand Down

0 comments on commit 3073484

Please sign in to comment.