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
|
2022-01-11 19:26:25 +00:00
|
|
|
|
$ kubectl apply -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.10.0
|
2020-09-08 17:16:17 +00:00
|
|
|
|
namespace/node-feature-discovery created
|
2022-01-11 19:26:25 +00:00
|
|
|
|
customresourcedefinition.apiextensions.k8s.io/nodefeaturerules.nfd.k8s-sigs.io created
|
2021-08-20 05:57:49 +00:00
|
|
|
|
serviceaccount/nfd-master created
|
|
|
|
|
clusterrole.rbac.authorization.k8s.io/nfd-master created
|
|
|
|
|
clusterrolebinding.rbac.authorization.k8s.io/nfd-master created
|
|
|
|
|
configmap/nfd-worker-conf created
|
|
|
|
|
service/nfd-master created
|
|
|
|
|
deployment.apps/nfd-master created
|
2020-09-08 17:16:17 +00:00
|
|
|
|
daemonset.apps/nfd-worker created
|
2019-02-01 15:08:39 +00:00
|
|
|
|
|
2020-12-08 08:22:42 +00:00
|
|
|
|
$ kubectl -n node-feature-discovery get all
|
2020-09-08 17:16:17 +00:00
|
|
|
|
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
|