knative/func

Proposal: Hot redeploy development mode

zroubalik opened this issue · 1 comments

Would be nice to implement “Lighter & faster” on cluster build - where possible build the function binary on the dev machine and just inject it to the running pod, ie. hot redeploy.

Useful for fast development, it would be a special KService deployment where the pod would be set 1 replica and have a sidecar or open port to accept the incoming binary/source code, which would be then started. This behavior would be started by a new command (func dev/devel/....) which would deploy this special type of KSVC and then monitor the local source code and does the hot deploy on code changes.

This would significantly improve development of a function, it is not meant for a proper deployment.

Quarkus & Node are good inital candidates for this feature.

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.