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
Copy file name to clipboardExpand all lines: ray-operator/controllers/ray/rayservice_controller.go
+4-31Lines changed: 4 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -732,48 +732,21 @@ func (r *RayServiceReconciler) updateRayClusterInstance(ctx context.Context, ray
732
732
returnerr
733
733
}
734
734
735
-
// createRayClusterInstance deletes the old RayCluster instance if exists. Only when no existing RayCluster, create a new RayCluster instance.
736
-
// One important part is that if this method deletes the old RayCluster, it will return instantly. It depends on the controller to call it again to generate the new RayCluster instance.
// If RayCluster exists, it means the config is updated. Delete the previous RayCluster first.
750
-
iferr==nil {
751
-
logger.Info("Ray cluster already exists, config changes. Need to recreate. Delete the pending one now.", "key", rayClusterKey.String(), "rayClusterInstance.Spec", rayClusterInstance.Spec, "rayServiceInstance.Spec.RayClusterSpec", rayServiceInstance.Spec.RayClusterSpec)
0 commit comments