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
Jorik Jonker 501ff37592 deployment: optional mount of /usr/src
This commit makes the mount of /usr/src optional in the Helm chart, and
removes it from the kustomization. Reason is that some systems do not
have a /usr/src (such as Talos) *and* have a R/O filesystem. Since
/usr/src is optional per FHS 3.0, NFD should not assume its presence.

Signed-off-by: Jorik Jonker <jorik@kippendief.biz>
2021-08-26 10:52:26 +02:00
.github Merge pull request #498 from marquiz/devel/github-release-template 2021-04-06 17:24:40 -07:00
cmd nfd-worker: split out gRPC connection handling 2021-08-20 15:29:27 +03:00
demo demo: make demo runnable again 2020-09-10 17:09:53 +03:00
deployment deployment: optional mount of /usr/src 2021-08-26 10:52:26 +02:00
docs Merge pull request #572 from marquiz/docs/cstate 2021-08-19 07:55:24 -07:00
pkg nfd-worker: split out gRPC connection handling 2021-08-20 15:29:27 +03:00
scripts scripts: fix prepare-release.sh to update all kustomize files 2021-08-19 22:15:58 +03:00
source cstate/pstate: Skip check on non intel arches 2021-08-19 16:37:54 +02: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 Drop deployment templates 2021-08-18 15:10:25 +03: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 Add livenessProbe via grpc to nfd-master 2021-08-18 10:23:10 -05: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 Drop deployment templates 2021-08-18 15:10:25 +03:00
OWNERS Update OWNERS file 2021-02-15 12:10:51 +00:00
README.md README: update deployment instructions to use v0.9.0 2021-08-20 09:05:40 +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 -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.9.0
  namespace/node-feature-discovery created
  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
  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",
...