Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Dashboard] Start the new dashboard #9860
[Dashboard] Start the new dashboard #9860
Changes from 13 commits
f54d8eb
c89e64a
39a3143
96042fd
ae042ec
fd8bbb2
7abc734
841c745
bdfdd56
848d2fd
b7c3d97
d4c1076
8b900d9
1fc7207
bca3fb3
8c9544f
e0dd2a9
a2b3393
7e63177
4969f56
7082824
71c220d
8084c8e
b98543f
08bbd48
3b212ff
f2df79b
c2e3f08
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously, we disabled cors when it was dev mode because frontend usually wants to start a react server. We aren't doing that anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, the
CORS
is for the newlog
module. Each agent starts a http server for log file access. Allow new dashboard frontend to access log file as static resource directly.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, so we allow access to all methods on all routes of the app. Isn't this a security risk?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dashboard
has the same access level withagent
. We can access all routes ofdashboard
, why disallow access to all routes ofagent
?The
log
http server on eachagent
can reduce the load of thedashboard
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should remove this from Redis when agents are shutdown. One of the most common workflow of Ray is using autoscaling clusters (and we will invest lots of resources on this), and this means agents will be killed occasionally from the cluster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The agent will be restarted after killed, and the new value will be set to Redis. So, can we leave this from Redis when agents are shutdown?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a node is removed from the cluster, will the redis entry for the agent from that node be cleaned up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, If a node is removed from the cluster, the entry for the
agent
will not be cleaned up.Dashboard
use thenode ip
to access agent entry, so the dead agent entry is not a problem. If we really need to cleanup the dead agent entry, we can:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not a big deal for now if the only concern is having unused entries to GCS.