Skip to content
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

REP: KubeRay RayService Incremental Rollout #58

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ryanaoleary
Copy link

Add REP for RayService incremental upgrade strategy using max_surge_percent and Gateway API.

Signed-off-by: ryanaoleary <ryanaoleary@google.com>
Signed-off-by: ryanaoleary <ryanaoleary@google.com>
@ryanaoleary
Copy link
Author

cc: @kevin85421 @andrewsykim

metadata:
name: example-rayservice
spec:
upgradeStrategy: "NewCluster"
Copy link
Contributor

@andrewsykim andrewsykim Dec 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not too late to change this API since it's not released yet, should we change this now before v1.3 so it'll play nicely with the new fields you're proposing here?

spec:
  upgradeStrategy:
    type: "NewCluster"
    targetCapacity: 50
    maxSurgePercent: 50
...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least for 1.3, we can just support

spec:
  upgradeStrategy:
    type: NewCluster

So it's easy to add new fields in v1.4 that are compatible with the upgradeStrategy

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah I like that idea, I'll edit the REP to reflect that and put out a PR with the API fix.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: ryanaoleary <ryanaoleary@google.com>
Signed-off-by: ryanaoleary <ryanaoleary@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants