2020-09-08 17:16:17 +00:00
|
|
|
|
# Node Feature Discovery
|
2016-07-23 05:13:48 +00:00
|
|
|
|
|
2024-07-09 06:58:18 +00:00
|
|
|
|
[![Go Report Card](https://goreportcard.com/badge/sigs.k8s.io/node-feature-discovery)](https://goreportcard.com/report/sigs.k8s.io/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
|
2024-10-02 14:07:32 +00:00
|
|
|
|
$ kubectl apply -k "https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.16.4"
|
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
|
2023-12-21 19:39:22 +00:00
|
|
|
|
customresourcedefinition.apiextensions.k8s.io/nodefeatures.nfd.k8s-sigs.io created
|
|
|
|
|
serviceaccount/nfd-gc created
|
2021-08-20 05:57:49 +00:00
|
|
|
|
serviceaccount/nfd-master created
|
2023-12-21 19:39:22 +00:00
|
|
|
|
serviceaccount/nfd-worker created
|
|
|
|
|
role.rbac.authorization.k8s.io/nfd-worker created
|
|
|
|
|
clusterrole.rbac.authorization.k8s.io/nfd-gc created
|
2021-08-20 05:57:49 +00:00
|
|
|
|
clusterrole.rbac.authorization.k8s.io/nfd-master created
|
2023-12-21 19:39:22 +00:00
|
|
|
|
rolebinding.rbac.authorization.k8s.io/nfd-worker created
|
|
|
|
|
clusterrolebinding.rbac.authorization.k8s.io/nfd-gc created
|
2021-08-20 05:57:49 +00:00
|
|
|
|
clusterrolebinding.rbac.authorization.k8s.io/nfd-master created
|
2023-12-21 19:39:22 +00:00
|
|
|
|
configmap/nfd-master-conf created
|
2021-08-20 05:57:49 +00:00
|
|
|
|
configmap/nfd-worker-conf created
|
2023-12-21 19:39:22 +00:00
|
|
|
|
deployment.apps/nfd-gc created
|
2021-08-20 05:57:49 +00:00
|
|
|
|
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
|
2023-12-21 19:39:22 +00:00
|
|
|
|
pod/nfd-gc-565fc85d9b-94jpj 1/1 Running 0 18s
|
|
|
|
|
pod/nfd-master-6796d89d7b-qccrq 1/1 Running 0 18s
|
|
|
|
|
pod/nfd-worker-nwdp6 1/1 Running 0 18s
|
2019-02-01 15:08:39 +00:00
|
|
|
|
...
|
2019-03-28 00:16:54 +00:00
|
|
|
|
|
2024-10-02 14:07:32 +00:00
|
|
|
|
$ kubectl get no -o json | jq ".items[].metadata.labels"
|
2020-09-08 17:16:17 +00:00
|
|
|
|
{
|
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
|