Skip to content

2. Application Deployment

Gianni C edited this page Oct 20, 2022 · 14 revisions

Buildpack concept

Buildpacks have nothing in common with buildpacks.io.

Buildpacks are defined as a set of three containers:

stateDiagram-v2
direction LR
    [*] --> Fetch
    Fetch --> Build
    Build --> Run
    Run --> [*]        
Loading

Fetch (init container)

Fetches the code from a Git repository. There is a working fetch container from kubero. But if you wish to build your own, you are free to change it in the buildpack configuration.

Build (init container)

Runs the build commands. You can define which image will be used by selecting the buildpack. The buildpack can be configured with any Docker image.

Run (Container)

Run the final container In the run stage, there are two options: worker and web. Only the web pod is attached to the ingress and will be accessible from outside the cluster.

Clone this wiki locally