2020-09-08 17:16:17 +00:00
|
|
|
|
# Node Feature Discovery
|
2016-07-23 05:13:48 +00:00
|
|
|
|
|
2018-11-28 11:51:43 +00:00
|
|
|
|
[![Go Report Card](https://goreportcard.com/badge/github.com/kubernetes-sigs/node-feature-discovery)](https://goreportcard.com/report/github.com/kubernetes-sigs/node-feature-discovery)
|
2020-09-06 21:46:48 +00:00
|
|
|
|
[![Prow Build](https://prow.k8s.io/badge.svg?jobs=pull-node-feature-discovery-build-image)](https://prow.k8s.io/job-history/gs/kubernetes-jenkins/pr-logs/directory/pull-node-feature-discovery-build-image)
|
2016-09-23 21:08:03 +00:00
|
|
|
|
|
2020-09-08 17:16:17 +00:00
|
|
|
|
Welcome to Node Feature Discovery – a Kubernetes add-on for detecting hardware
|
|
|
|
|
features and system configuration!
|
2016-07-26 05:44:45 +00:00
|
|
|
|
|
2020-10-30 11:34:18 +00:00
|
|
|
|
### See our [Documentation][documentation] for detailed instructions and reference
|
2016-07-26 05:44:45 +00:00
|
|
|
|
|
2020-09-08 17:16:17 +00:00
|
|
|
|
#### Quick-start – the short-short version
|
2016-07-26 05:44:45 +00:00
|
|
|
|
|
2020-09-08 17:16:17 +00:00
|
|
|
|
```bash
|
2020-12-04 14:26:14 +00:00
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/v0.7.0/nfd-master.yaml.template
|
2020-09-08 17:16:17 +00:00
|
|
|
|
namespace/node-feature-discovery created
|
2019-02-01 15:08:39 +00:00
|
|
|
|
...
|
|
|
|
|
|
2020-12-04 14:26:14 +00:00
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/v0.7.0/nfd-worker-daemonset.yaml.template
|
2020-09-08 17:16:17 +00:00
|
|
|
|
daemonset.apps/nfd-worker created
|
2019-02-01 15:08:39 +00:00
|
|
|
|
|
2020-09-08 17:16:17 +00:00
|
|
|
|
kubectl -n node-feature-discovery get all
|
|
|
|
|
NAME READY STATUS RESTARTS AGE
|
|
|
|
|
pod/nfd-master-555458dbbc-sxg6w 1/1 Running 0 56s
|
|
|
|
|
pod/nfd-worker-mjg9f 1/1 Running 0 17s
|
2019-02-01 15:08:39 +00:00
|
|
|
|
...
|
2019-03-28 00:16:54 +00:00
|
|
|
|
|
2020-09-08 17:16:17 +00:00
|
|
|
|
$ kubectl get no -o json | jq .items[].metadata.labels
|
|
|
|
|
{
|
|
|
|
|
"beta.kubernetes.io/arch": "amd64",
|
|
|
|
|
"beta.kubernetes.io/os": "linux",
|
|
|
|
|
"feature.node.kubernetes.io/cpu-cpuid.ADX": "true",
|
|
|
|
|
"feature.node.kubernetes.io/cpu-cpuid.AESNI": "true",
|
2018-07-06 11:11:07 +00:00
|
|
|
|
...
|
2016-07-12 00:30:49 +00:00
|
|
|
|
|
|
|
|
|
```
|
2016-09-23 18:08:40 +00:00
|
|
|
|
|
2020-09-08 17:16:17 +00:00
|
|
|
|
[documentation]: https://kubernetes-sigs.github.io/node-feature-discovery
|