1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 08:17:04 +00:00
Node feature discovery for Kubernetes
Find a file
Markus Lehtonen dfae747e84 scripts/update-gh-pages: manage a Helm repo
Make the update-gh-pages.sh script to maintain a Helm charts repository
under charts/ subdirectory in gh-pages. The script now (always) scans
throught all release assets and injects any found Helm chart archives
into the Helm repo. In practice, new assets in all Github releases are
scanned and the Helm repo is updated on any update of the master or
release branches or on any new tags. Asset ids are tracked/cached in
order to avoid unnecessary downloads, but also, to capture any changes
in assets that were already merged in the repo index.

After this a user is able to do something like

$ helm repo add nfd http://kubernetes-sigs.github.io/node-feature-discovery/charts
  ...
$ helm repo update
  ...
$ helm install nfd/node-feature-discovery --namespace nfd --create-namespace --generate-name
  ...
2021-03-09 14:14:29 +02:00
.github scripts/update-gh-pages: manage a Helm repo 2021-03-09 14:14:29 +02:00
cmd logging: start log messages with lower case 2021-03-01 10:07:21 -05:00
demo demo: make demo runnable again 2020-09-10 17:09:53 +03:00
deployment/node-feature-discovery nfd-worker: dynamic configuration of klog 2021-02-25 16:10:43 +02:00
docs test/e2e: make openshift bits optional 2021-02-25 17:54:07 +02:00
pkg pkg/utils: fix possible segfault in RegexpVal.Set 2021-03-02 22:46:34 +02:00
scripts scripts/update-gh-pages: manage a Helm repo 2021-03-09 14:14:29 +02:00
source Merge pull request #459 from marquiz/fixes/cleanup 2021-03-01 08:17:26 -08:00
test test/e2e: make openshift bits optional 2021-02-25 17:54:07 +02:00
.dockerignore dockerignore: tidy up and update 2020-05-19 10:13:54 +03:00
.gitignore gitignore: add bin/ 2020-11-24 21:23:15 +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 Container base image version bump: 2020-11-20 16:39:18 -05:00
go.mod nfd-master: switch to klog 2021-02-25 07:50:37 +02:00
go.sum Update gogo/protobuf and golang.org/x/text 2021-02-10 16:13:51 -05:00
LICENSE Template project files 2016-07-22 22:13:48 -07:00
Makefile Makefile: increase golangci-lint timeout to 7min 2021-03-02 20:08:58 +02:00
nfd-daemonset-combined.yaml.template nfd-worker: dynamic configuration of klog 2021-02-25 16:10:43 +02:00
nfd-master.yaml.template Add helm chart for NFD 2021-02-18 17:19:09 +02:00
nfd-prune.yaml.template Add helm chart for NFD 2021-02-18 17:19:09 +02:00
nfd-worker-daemonset.yaml.template nfd-worker: dynamic configuration of klog 2021-02-25 16:10:43 +02:00
nfd-worker-job.yaml.template nfd-worker: dynamic configuration of klog 2021-02-25 16:10:43 +02:00
nfd-worker.conf.example nfd-worker: dynamic configuration of klog 2021-02-25 16:10:43 +02:00
OWNERS Update OWNERS file 2021-02-15 12:10:51 +00:00
README.md README: update references to v0.7.0 2020-12-08 10:25:35 +02: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.7.0/nfd-master.yaml.template
  namespace/node-feature-discovery created
...

$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/v0.7.0/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",
...