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

Implement the MVP of new function controller that skips image build #1211

Open
4 of 7 tasks
kwiatekus opened this issue Oct 15, 2024 · 0 comments
Open
4 of 7 tasks

Implement the MVP of new function controller that skips image build #1211

kwiatekus opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@kwiatekus
Copy link
Contributor

kwiatekus commented Oct 15, 2024

Description

Implement a new version of function controller that

  • skips the function build,
  • uses kyma provided runtime images,
  • mounts code and dependencies,
  • resolves dependencies at function runtime pod start time.

Implement the new controller aside to the existing one - do not remove the code base of the existing function controller.
Implement necessary changes in the operator as well, so that it is possible to release an experimental version of serverless module that includes build-less function reconciliation.

AC

  • do not introduce breaking changes in Function CRD
  • MVP includes code and dependency injection while skipping the function image build
  • include tests that prove code and dependency resolution works for both nodejs and python functions

Reason
Having function image build as part of serverless is unnecessarily time consuming and resource expensive.
The series of POCs and the final POC v3 has proven that having build-less serverless is possible. Therefore we should plan rolling it as an experiment (within DEV and EXPERIMENTAL channel)

@kwiatekus kwiatekus changed the title Skip Build in Serverless Experimentally Implement new function controller logic that skips function build Oct 15, 2024
@kwiatekus kwiatekus added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 18, 2024
@kwiatekus kwiatekus added this to the 1.6.0 milestone Oct 18, 2024
@kwiatekus kwiatekus changed the title Implement new function controller logic that skips function build Implement the MVP of new function controller that skips image build Oct 18, 2024
@MichalKalke MichalKalke self-assigned this Oct 24, 2024
@anoipm anoipm self-assigned this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants