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)
|
2022-08-25 19:08:51 +00:00
|
|
|
|
[![Prow Build](https://prow.k8s.io/badge.svg?jobs=post-node-feature-discovery-push-images)](https://prow.k8s.io/job-history/gs/kubernetes-jenkins/logs/post-node-feature-discovery-push-images)
|
2022-08-25 19:11:36 +00:00
|
|
|
|
[![Prow E2E-Test](https://prow.k8s.io/badge.svg?jobs=postsubmit-node-feature-discovery-e2e-test)](https://prow.k8s.io/job-history/gs/kubernetes-jenkins/logs/postsubmit-node-feature-discovery-e2e-test)
|
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-11-01 09:31:36 +00:00
|
|
|
|
$ kubectl apply -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.11.3
|
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
|
|
|
|
|
{
|
2022-10-27 03:03:06 +00:00
|
|
|
|
"kubernetes.io/arch": "amd64",
|
|
|
|
|
"kubernetes.io/os": "linux",
|
2020-09-08 17:16:17 +00:00
|
|
|
|
"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
|