-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Samples - Switched the build_component sample to the new container API #2279
Samples - Switched the build_component sample to the new container API #2279
Conversation
8e0f70c
to
348c42d
Compare
@hongye-sun Do you have any objection to this change? It removes quite a lot of boilerplate and the users no longer needs to learn complicated concepts like compilation. |
what is the plan for the component build APIs? will build_python_component be deprecated? If not, could you create another sample to demonstrate the build_image_from_working_dir. If so, lgtm. |
/lgtm |
I did not initiate this deprecation. AFAIK, @SinaChavoshi has requested for the component creation APIs to be reduced to one. Same with container-building APIs. Based on this request our team had two design reviews where we ultimately agreed to merge the |
Yes, I'll be waiting for @hongye-sun |
Just to confirm I strongly recommend reducing the number of ways that users can build components / containers. I think we should choose one way and deprecate the rest. |
Talked with @hongye-sun offline.
I've implemented both of those suggestions (and also added the customized builder scenario). |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ark-kun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
* fix: hpa scale up failed, when using rawdeployment Signed-off-by: iamlovingit <bitfrog@163.com> * use kmp.SafeDiff instead of equality.Semantic.DeepEqual Signed-off-by: iamlovingit <bitfrog@163.com> * remove semanticDeploymentEquals function for simplifing the code Signed-off-by: iamlovingit <bitfrog@163.com> * add handle err Signed-off-by: iamlovingit <bitfrog@163.com>
This change is