Builder Pod
Builder pod builds the source archive and generates a deployment archive. This deployment archive is used by the function pod. It consists of two containers:
- Fetcher
- Builder Container
Fetcher
Fetcher is responsible to pull source archive from the StorageSvc and verify the checksum of file to ensure the integrity of file. After the build process, it uploads the deployment archive to StorageSvc.
Builder Container
Builder Container compiles function source code into executable binary/files and is language-specific.
Fig.1 Builder Pod
Builder Manager asks Fetcher to pull the source archive.
Fetcher pulls the source archive from the StorageSvc.
Save the archive to the shared volume.
Builder Manager sends a build request to the Builder Container to start the build process.
Builder Container reads source archive from the volume, compiles it into deployment archive.
Finally, save the result back to the share volume.Builder Manager asks Fetcher to upload the deployment archive.