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
Function is a resource that is directly defined and controlled by the user. It is a description of the user’s application, i.e. what raw materials (source code) are used to make the product (application image) and how it will ultimately work (workload, runtime).
In OpenFunction, the Function resource controls the coordination of Builder and Serving in an orderly manner according to the configuration, thus implementing the lifecycle management of user functions.
But we should create a new function after the code is updated.So I have the following requirements:
After the code is updated, there is no need to create a new function, but to rebuild the original function to apply the latest code.
What does it cause this
Function CRD will control Builder and Serving CRD according to the configuration, and reconcile their status. Builder and Serving CRD will also update their status to Function during runtime. Manually changing the state of Builder and Serving will trigger them to re-enter the reconciliation phase.
How to deal with it
Delete the build status in the function to trigger a rebuild
The text was updated successfully, but these errors were encountered:
For the sake of unity, We need to set up a file here. You can choose a proper name, such as rebuild.go. In this function, you can set builder.Status to null or delete it
A github or git event source is needed to receive an event whenever the source code changes and then trigger a function to modify the specified function's build status and then trigger a rebuild
In what area(s)?
Funciton
Describe the feature
Function is a resource that is directly defined and controlled by the user. It is a description of the user’s application, i.e. what raw materials (source code) are used to make the product (application image) and how it will ultimately work (workload, runtime).
In OpenFunction, the Function resource controls the coordination of Builder and Serving in an orderly manner according to the configuration, thus implementing the lifecycle management of user functions.
But we should create a new function after the code is updated.So I have the following requirements:
After the code is updated, there is no need to create a new function, but to rebuild the original function to apply the latest code.
What does it cause this
Function CRD will control Builder and Serving CRD according to the configuration, and reconcile their status. Builder and Serving CRD will also update their status to Function during runtime. Manually changing the state of Builder and Serving will trigger them to re-enter the reconciliation phase.
How to deal with it
Delete the build status in the function to trigger a rebuild
The text was updated successfully, but these errors were encountered: