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 8117c099a3 deployment: add kustomize base
Implement functionality virtually replicating deployment templates for
nfd-master and nfd-worker daemonset (nfd-master.yaml.template and
nfd-worker-daemonset.yaml.template) by adding a kustomize overlay named
"default".

We split the resources into multiple bases (rbac, master and
worker-daemonset) so that relevant parts are re-usable in
other deployment scenarios added later (e.g. "one-shot job", and
"combined daemonset").

This patch adds one component (components/common) doing the required
kustomization for the example deployment.
2021-08-18 14:05:57 +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 deployment: add kustomize base 2021-08-18 14:05:57 +03:00
docs helm: move files under deployment/helm 2021-08-16 14:44:26 +03:00
pkg Merge pull request #536 from marquiz/devel/label-sub-ns 2021-08-10 04:19:18 -07:00
scripts helm: move files under deployment/helm 2021-08-16 14:44:26 +03:00
source Straighten wrinkles in lint fixes 2021-07-07 14:32:11 +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 deployment: add kustomize base 2021-08-18 14:05:57 +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 deployment: add kustomize base 2021-08-18 14:05:57 +03: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
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",
...