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

Registered workers and their status should be stored in state #106

Open
alexandrebrg opened this issue Apr 25, 2023 · 0 comments
Open

Registered workers and their status should be stored in state #106

alexandrebrg opened this issue Apr 25, 2023 · 0 comments
Labels

Comments

@alexandrebrg
Copy link
Member

This issue should be discussed to determine new endpoints, new communication flows, and how the data is stored. If you want to be assigned to this issue, please ping us1.

What needs to be done ?

  • Workers status updates should be updated in metadata db
  • Workers list should be able to be fetched through controller API
  • Workers registration should be stored in metadata db (controller state)

What data is expected to be saved about a worker:
* Remote client IP and Riklet port
* The worker name
* Registration date
* Last-update (last time we received heartbeat)

Why it needs to be done ?

  • Open for extensibility to know pods location
  • Open for extensibility to know remote location of workers
  • We will be able to apply pods recovery when a worker is unhealthy (move pods from one worker to another)

Footnotes

  1. We can discuss individual points if you want to start small

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant