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

POC: Skip kaniko build in serverless #941

Open
kwiatekus opened this issue Apr 29, 2024 · 2 comments
Open

POC: Skip kaniko build in serverless #941

kwiatekus opened this issue Apr 29, 2024 · 2 comments

Comments

@kwiatekus
Copy link
Contributor

kwiatekus commented Apr 29, 2024

Description

Verify the following ideas:

  • Serverless does not need to trigger kaniko build for Functions but instead the code and dependencies could be mounted from pv
    into serverless provided base image.
  • Do not make any assumptions based on existing function controller code.
  • Assume that Function CR remains backward compatible

Document the outcome as a issue comment and discuss with the team (derive recommendations for git functions).
If the ideas are validated, draw necessary diagrams explaining necessary changes in the function processing flow.

Reason
If the POC validates the idea we could eliminate the dependencies to kaniko build and docker registry. This could greatly speed up redeploying new versions of code and reduce necessary resources required to develop ideas as functions (no extra memory, cpu time or Volume storage for images).
Additionally the POC could help positioning serverless module as development tool that helps users to prove their ideas in the kyma runtimes as functions and later "eject" them into manifests that declare production-grade workloads

@kwiatekus kwiatekus changed the title POC: Skip function build when not required POC: How to skip function build when not required May 9, 2024
@kwiatekus
Copy link
Contributor Author

kwiatekus commented May 9, 2024

Additionally @kwiatekus estimate the gain:

  • how many functions are there that potentially dont need a build ?
  • do customers need that immediate redeployment of changed code ?

@kwiatekus kwiatekus changed the title POC: How to skip function build when not required POC: How to skip inline function build when not required May 9, 2024
@kwiatekus kwiatekus changed the title POC: How to skip inline function build when not required POC: Skip kaniko build in serverless May 13, 2024
@ptesny
Copy link

ptesny commented May 21, 2024

if I understand well the whole ideas is pretty much similar to the existing base function image override. ?
Power of serverless with SAP BTP, Kyma runtime. Base image override.

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

No branches or pull requests

2 participants