Comments (4)
Thanks @nobbs for the report. This is a recognized issue. There are measures we've taken to mitigate the problem of stale objects and labels. Which version of NFD were you using?
- #1491 (released in NFD v0.15) added owner references to NodeFeature objects so that stale objects are GC'd (by Kubernetes) when the nfd worker pod that created it is deleted.
- #1532 (will be released in NFD v0.16) is somewhat related (albeit does not help with stale NF objects) added a post-delete hook in the Helm chart to remove all NFD-generated labels when NFD gets uninstalled.
- #1592 is an upcoming feature to limit/select the k8s namespaces where to watch NodeFeature objects.
For kustomize-based deployments doing kubectl delete -k ...
deletes the nfd namespace and the stale NodeFeature objects as well. It will not cleanup the labels, though.
from node-feature-discovery.
Hey @marquiz - thanks for the info.
As we tried to track the releases nfd quite closely - most of the time delayed by 2-4 weeks - and the timeline the issue started, I'm pretty sure we migrated from one namespace to another either on one of the last v0.13.x patch releases or even on v0.14.0. The obsolete NodeFeature resources definitely had no owner references set at the time I've deleted them.
Based on the PRs you've linked it looks like the chance of running into this issue is basically naught with the recent / upcoming versions. Free to close this issue as resolved. :)
from node-feature-discovery.
@nobbs thx for reporting back. I'll close this for now but please reopen if you encounter any further issues.
/close
from node-feature-discovery.
@marquiz: Closing this issue.
In response to this:
@nobbs thx for reporting back. I'll close this for now but please reopen if you encounter any further issues.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from node-feature-discovery.
Related Issues (20)
- Swap misidentified due to trailing newline in file HOT 3
- NFD will remove and re-add node labels if nfd-worker pod is deleted (and re-created by the nfd-worker DS) HOT 12
- Add support for revisionHistoryLimit to Helm Chart HOT 3
- Add Helm E2E tests HOT 6
- Release v0.16.2 HOT 4
- Release v0.15.6 HOT 6
- NFD NRI Plugin HOT 1
- Release v0.16.3 HOT 6
- Release v0.16.4 HOT 7
- [v0.16.0] All node labels removed while informer cache failed to sync HOT 9
- Improved readiness probe for nfd-worker HOT 2
- NodeFeature resource should not be owned by Pod HOT 2
- the link to feature gates documentation is broken HOT 3
- Docs: the markdown file was not rendered to html file in master-commandline-reference.html HOT 1
- node-feature-discovery-workers sometimes fail and restart on the new joined nodes HOT 2
- NFD Master memory leak HOT 4
- Network attributes error logs when using Talos OS HOT 2
- Drop run-time dynamic configuration updates
- Release v0.16.5 HOT 1
- Docs: failed to discover kernel config and builtin modules in the development environment started using tilt HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-feature-discovery.