1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
Node feature discovery for Kubernetes
Find a file
Markus Lehtonen 73704e2e11 source/kernel: better error reporting
Get rid of distracting error in the log in case selinux is not enabled
in the kernel. Still print an error only if sysfs/fs directory is not
available, though, which indicates that we're not able to correctly
detect the presence of selinux.
2021-08-13 09:13:19 +03:00
.github Merge pull request #498 from marquiz/devel/github-release-template 2021-04-06 17:24:40 -07:00
cmd Accept client certs based on SAN, not just CN (#514) 2021-04-20 01:44:32 -07:00
demo demo: make demo runnable again 2020-09-10 17:09:53 +03:00
deployment/node-feature-discovery helm: add readme 2021-08-11 11:41:27 +03:00
docs Merge pull request #536 from marquiz/devel/label-sub-ns 2021-08-10 04:19:18 -07:00
pkg Merge pull request #536 from marquiz/devel/label-sub-ns 2021-08-10 04:19:18 -07:00
scripts helm: add readme 2021-08-11 11:41:27 +03:00
source source/kernel: better error reporting 2021-08-13 09:13:19 +03:00
test test/e2e: adapt e2e tests to kubernetes v1.21.2 2021-07-06 14:40:29 +03:00
.dockerignore dockerignore: tidy up and update 2020-05-19 10:13:54 +03:00
.gitignore Document cert-manager usage 2021-03-12 09:39:30 +02:00
cloudbuild.yaml cloudbuild.yaml: use staging container image repo 2020-09-04 08:46:03 +03:00
code-of-conduct.md Update code-of-conduct.md 2017-12-20 14:12:51 -05:00
CONTRIBUTING.md Template project files 2016-07-22 22:13:48 -07:00
Dockerfile Dockerfile: update go to 1.16.7 2021-08-12 10:37:44 +03:00
go.mod go.mod: update golang.org/x/net 2021-08-12 10:54:58 +03:00
go.sum go.mod: update golang.org/x/net 2021-08-12 10:54:58 +03:00
LICENSE Template project files 2016-07-22 22:13:48 -07:00
Makefile Merge pull request #549 from marquiz/devel/lint 2021-08-04 10:01:24 -07:00
nfd-cert-manager.yaml.template Document cert-manager usage 2021-03-12 09:39:30 +02:00
nfd-daemonset-combined.yaml.template cpuid: correct the name of SSE4* cpuid flags 2021-07-06 11:54:55 +03:00
nfd-master.yaml.template chore: update tolerations and affinities to control-plane 2021-07-07 10:39:10 +02:00
nfd-prune.yaml.template chore: update tolerations and affinities to control-plane 2021-07-07 10:39:10 +02:00
nfd-worker-daemonset.yaml.template cpuid: correct the name of SSE4* cpuid flags 2021-07-06 11:54:55 +03:00
nfd-worker-job.yaml.template cpuid: correct the name of SSE4* cpuid flags 2021-07-06 11:54:55 +03:00
nfd-worker.conf.example cpuid: correct the name of SSE4* cpuid flags 2021-07-06 11:54:55 +03:00
OWNERS Update OWNERS file 2021-02-15 12:10:51 +00:00
README.md README: update references to v0.8.2 2021-05-18 23:50:58 +03:00
SECURITY_CONTACTS Update SECURITY_CONTACTS 2020-11-19 15:10:27 -05:00

Node Feature Discovery

Go Report Card Prow Build

Welcome to Node Feature Discovery a Kubernetes add-on for detecting hardware features and system configuration!

See our Documentation for detailed instructions and reference

Quick-start the short-short version

$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/v0.8.2/nfd-master.yaml.template
  namespace/node-feature-discovery created
...

$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/v0.8.2/nfd-worker-daemonset.yaml.template
  daemonset.apps/nfd-worker created

$ 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
...

$ 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",
...