1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

Merge pull request #284 from marquiz/devel/readme

README: note on avoiding a race condition with hooks
This commit is contained in:
Kubernetes Prow Robot 2020-02-11 04:50:01 -08:00 committed by GitHub
commit f6d119d85e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -418,6 +418,12 @@ example `/etc/kubernetes/node-feature-discovery/source.d/conf/`.
directory. It is the user's responsibility to review the hooks for e.g.
possible security implications.
**NOTE!** Be careful when creating and/or updating hook or feature files while
NFD is running. In order to avoid race conditions you should write into a
temporary file (outside the `source.d` and `features.d` directories), and,
atomically create/update the original file by doing a filesystem move
operation.
## Getting started
For a stable version with ready-built images see the