Skip to content

Commit

Permalink
Address comment: Add comment for ServeConfigs
Browse files Browse the repository at this point in the history
Closes: #2550
Signed-off-by: Chi-Sheng Liu <[email protected]>
  • Loading branch information
MortalHappiness committed Dec 4, 2024
1 parent 68471d6 commit ca8482b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ray-operator/controllers/ray/rayservice_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ type RayServiceReconciler struct {
Recorder record.EventRecorder
// Currently, the Ray dashboard doesn't cache the Serve deployment config.
// To avoid reapplying the same config repeatedly, cache the config in this map.
// Stores map of cacheKey to map of RayCluster name to Serve deployment config.
// where cacheKey is the combination of RayService namespace and name.
ServeConfigs cmap.ConcurrentMap[string, cmap.ConcurrentMap[string, string]]
RayClusterDeletionTimestamps cmap.ConcurrentMap[string, time.Time]

Expand Down

0 comments on commit ca8482b

Please sign in to comment.