github kubernetes-sigs/node-feature-discovery v0.8.0

latest releases: v0.15.4, v0.14.6, v0.15.3...
3 years ago

Changelog

Major

NFD Helm repository

NFD now hosts a Helm chart repository as a new deployment option. Installation of the latest release can be as simple as:

helm repo add nfd http://kubernetes-sigs.github.io/node-feature-discovery/charts
helm repo update
helm install nfd/node-feature-discovery --namespace node-feature-discovery --create-namespace --generate-name

See the documentation for more detailed instructions.

Dynamic TLS certificate updates

Support for dynamic TLS certificate updates was added. This enables e.g. the usage of cert-manager for certificate rotation. See the documentation for more details.

Improved worker configuration

Now most of the nfd-worker options (e.g. sleep-interval) are dynamically configurable via the configuration file. Most of the corresponding command line flags have been marked as deprecated. See documentation of the core config options for more details.

Minimal container image variant

NFD now has a "minimal" variant of container image, based on distroless/base. The minimal image provides enhanced security and reduced image footprint, but, limits the nfd-worker hook support to statically linked binaries only. See the documentation for more details.

Support multiple parallel NFD instances

New -instance command line flag for nfd-master was added, making it possible to run multiple deployments of NFD in parallel.

Nodename rule to custom source

A new nodename rule was added to the quiver to enable creation of user-specific labels based on node name. See the documentation for detailed description and examples.

Additional CPU pstate and cstate features

New CPU features labels were added:

  • feature.node.kubernetes.io/cpu-pstate.status
  • feature.node.kubernetes.io/cpu-pstate.scaling_governor
  • feature.node.kubernetes.io/cpu-cstate.enabled

Klog for logging

NFD switched to klog-based logging, greatly improving logging and debugging capabilities. Moreover, most of the logger related options in nfd-worker are dynamically adjustable through the config file, making it possible to e.g. control the verbosity of nfd-worker instances at run-time.

Miscellaneous

  • Switch to flags package in command line arg parsing (#444)
  • Update klauspost/cpuid to v2.0.2 (#421)
  • nfd-worker: stop masking crashes in feature discovery (#458)

List of PRs

  • Cherry-pick: github: update new-release issue template (#416)
  • github: workflow fixes (#419)
  • README: update references to v0.7.0 (#420)
  • go.mod: update to klauspost/cpuid/v2@v2.0.2 (#421)
  • Set imagePullPolicy in the deployment templates to Always (#430)
  • Change the worker conf update mechanism of templates (#434)
  • scripts/test-infra: update golangci-lint to v1.36.0 (#436)
  • Replace improper usage of filepath.Join with path.Join (#435)
  • Update gogo/protobuf and golang.org/x/text (#438)
  • nfd-worker: use fsnotify for watching for config file changes (#432)
  • nfd-master: implement --instance flag (#431)
  • Update OWNERS file (#441)
  • nfd-worker: add core config (#433)
  • Add helm chart for NFD (#423)
  • Add NFD master '--instance' flag support to Helm chart (#443)
  • Fix daemonset deployment template (#446)
  • Fix NFD master chart template (#447)
  • Switch to flags package in command line arg parsing (#444)
  • Added nodename rule to custom source (#429)
  • docs: align docs with the single-dash command line flags (#449)
  • docs: enable markdown linting (#451)
  • nfd-master: switch to klog (#445)
  • nfd-worker: switch to klog (#450)
  • test/e2e: make openshift bits optional (#452)
  • Logging fixes (#453)
  • scripts/test-infra: enable helm linting (#455)
  • nfd-worker: stop masking crashes in feature discovery (#458)
  • logs should all be lower case when possible (#454)
  • source: drop stale BoolFeatureValue type (#459)
  • Makefile: increase golangci-lint timeout to 7min (#461)
  • nfd-worker: improve log messages of config handling (#460)
  • pkg/utils: fix possible segfault in RegexpVal.Set (#462)
  • github: limit gh-pages build of tags to (final) semver releases (#466)
  • logging: set grpc to use klog for logging (#465)
  • Dockerfile: add minimal image (#469)
  • docs: unify capitalization of headings (#470)
  • Support TLS certificate updates (#442)
  • pkg/utils: show correct source file in gRPC logs (#475)
  • Support for additional cpu features (#463)
  • use cert-manager for TLS (#379)
  • docs: describe deployment of the minimal image (#471)
  • nfd-worker: don't log labels returned by sources by default (#474)
  • docs: updates to documentation of Helm parameters (#472)
  • docs: fix some internal references (#480)
  • Host NFD Helm repo in gh-pages (#457)
  • github: update new-release issue template assignees (#482)
  • docs: document all config file options (#481)
  • Remove --sleep-interval flag from worker deployment templates (#483)
  • source/custom: dump config in more human-readable form (#473)

Don't miss a new node-feature-discovery release

NewReleases is sending notifications on new releases.