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

feat: Support customizable deployment spec for RawDeployment mode #3479

Closed
wants to merge 14 commits into from

Conversation

terrytangyuan
Copy link
Member

Fixes #3452.

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Copy link

oss-prow-bot bot commented Feb 26, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: terrytangyuan
Once this PR has been reviewed and has the lgtm label, please assign rachitchauhan43 for approval by writing /assign @rachitchauhan43 in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>

// RawDeploymentSpec customizes the deployment configuration for the predictor when using RawDeployment mode.
// +optional
RawDeploymentSpec *appsv1.DeploymentSpec `json:"rawDeploymentSpec,omitempty"`
Copy link
Member

@yuzisun yuzisun Mar 3, 2024

Choose a reason for hiding this comment

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

Let's discuss the design, there are conflicting fields with Serverless mode(Knative).. Knative does not allow setting deploymentStrategy, replica.

Copy link
Member

Choose a reason for hiding this comment

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

Also this includes the entire podTemplate field which is dup of PodSpec on the component

@terrytangyuan
Copy link
Member Author

Closing in favor of the new approach #3603

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to change parameters of of the default Deployment created from ServingRuntime and InferenceService
2 participants