Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nfd-topology-updater only tracks resources it discovered during startup #1424

Open
PiotrProkop opened this issue Oct 20, 2023 · 8 comments
Open
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@PiotrProkop
Copy link
Contributor

What happened:
Resources that will be managed by NFD topology-updater are only discovered during startup.
If a device plugin registers itself with kubelet after NFD topology-updater is already running the NRT will never be updated with new resources.

Resource discovery link
Ignoring resources not present during startup link.

It may cause issues when nfd is restarted alongside device plugins, in this case NRT will stop reporting some resources.

What you expected to happen:

When device plugin is created after NFD start new resources should be reported without the need of restarting NFD.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Network plugin and version (if this is a network-related bug):
  • Others:
@PiotrProkop PiotrProkop added the kind/bug Categorizes issue or PR as related to a bug. label Oct 20, 2023
@PiotrProkop
Copy link
Contributor Author

/cc @ffromani

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 30, 2024
@ffromani
Copy link
Contributor

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 30, 2024
@marquiz
Copy link
Contributor

marquiz commented Feb 14, 2024

@PiotrProkop @ffromani are you planning to work on this? Thinking about v0.16 release that is currently projected at the end of March

@ffromani
Copy link
Contributor

@PiotrProkop @ffromani are you planning to work on this? Thinking about v0.16 release that is currently projected at the end of March

I'd love to help but I won't have any bandwidth before early March.

@PiotrProkop
Copy link
Contributor Author

@PiotrProkop @ffromani are you planning to work on this? Thinking about v0.16 release that is currently projected at the end of March

I'd love to help but I won't have any bandwidth before early March.

I would also be able to start working on that in March, in the meantime I'll try to figure out if there is an easy fix for that or if it requires a bigger refactoring 😄

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 16, 2024
@ffromani
Copy link
Contributor

/remove-lifecycle stale

didn't forget, """just""" got preempted by other tasks :\

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants