Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.71 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.71 KB

Build Controllers

Build or codenamed build-v2 is an API open-source implementation that build container-images on Kubernetes from a dockerfile-based or a source-based approach.

The whole idea of Build is to hide the details of image construction from an application developer, by defining Custom Resources that the Build understands.

Through the Build CRD´s the user can specify a desired popular strategy, like source-to-image, buildpack-v3, kaniko, jib and buildah, in order to build an image.

From a high-level perspective:

  • Build hosts the user provide information. This defines the strategy, source input and the desired output(e.g. container registry).
  • BuildRun hosts the details of an image construction, abstracting this from the user and taking advantage of the Tekton Pipelines task to build the image.
  • BuildStrategy hosts a list of steps to execute in the Tekton Task definition during the BuildRun execution.
  • ClusterBuildStrategy similar to the BuildStrategy but it is cluster-scoped.

Learn more

See the following docs referencing each of the Kubernetes resources currently supported:

Controllers Flow

The following image illustrate the interactions between the Build, BuildRun controller and the Tekton Pipeline controller.

controllers flow