4 ms·
To build a image and push, spwan a pod? Why not just use FaaS service skip the build step?
by tcper 3y ago
To build a image and push, spwan a pod?
Why not just use FaaS service skip the build step?
- paulgb 3y agoYou don't need to push every time you spawn, only when the code is changed. Typically, you would use a CI/CD action to push the image (this repo has a simple example: https://github.com/drifting-in-space/jamsocket-jupyter-notebook https://github.com/drifting-in-space/jamsocket-jupyter-noteb...) A typical FaaS is stateless between invocations. We have an explicit "spawn" step because each spawn produces a new server process with its own state and own DNS hostname.