You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When operating nodes, especially on a larger scale, employing orchestration tools like Kubernetes with Docker containers, the Bee node status can be difficult to gauge or can be ambiguous based on response from the Bee API status endpoints and log contents.
Motivation
Clear and predictable points when a Bee node process is supposed to stop could help detect operational issues earlier.
For example when running in a Docker container, the Bee node process stopping would cause the container to stop, which could be a clear signal to dependent systems that the Bee node instance is not operational and cannot serve traffic.
Logging could be also reorganized around this, always indicating a clear reason for stopping the Bee node before exiting the process. This would be useful not only for easier log analysis but open up the potential to perform automated steps based on last log events.
Implementation
There could be number of scenarios where the Bee node process is expected to reach an exit state. In addition, clear logs should precede the exit event.
Drawbacks / Alternatives
If a similar outcome can be achieved by other probes like the readiness endpoint, alternatives can be suggested. But in that case it should be clear and evident and well documented how those probes should be utilized to achieve the level of consistent behavior (predictable node status, readiness for traffic) described above.
Summary
When operating nodes, especially on a larger scale, employing orchestration tools like Kubernetes with Docker containers, the Bee node status can be difficult to gauge or can be ambiguous based on response from the Bee API status endpoints and log contents.
Motivation
Clear and predictable points when a Bee node process is supposed to stop could help detect operational issues earlier.
For example when running in a Docker container, the Bee node process stopping would cause the container to stop, which could be a clear signal to dependent systems that the Bee node instance is not operational and cannot serve traffic.
Logging could be also reorganized around this, always indicating a clear reason for stopping the Bee node before exiting the process. This would be useful not only for easier log analysis but open up the potential to perform automated steps based on last log events.
Implementation
There could be number of scenarios where the Bee node process is expected to reach an exit state. In addition, clear logs should precede the exit event.
Drawbacks / Alternatives
If a similar outcome can be achieved by other probes like the readiness endpoint, alternatives can be suggested. But in that case it should be clear and evident and well documented how those probes should be utilized to achieve the level of consistent behavior (predictable node status, readiness for traffic) described above.
Some other issues that can be relevant here
The text was updated successfully, but these errors were encountered: