Skip to content

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

@alexandrebrg

Description

@alexandrebrg

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions