kpack

kpack is a Kubernetes native platform maintained by VMware under the VMware Tanzu project that utilizes unprivileged Kubernetes primitives to provide builds of OCI images as a platform implementation of Cloud Native Buildpacks (CNB).

Use

To use kpack you can follow their tutorial for details on how to create a builder and use it to create application images. An example kpack Image configuration looks like -

apiVersion: kpack.io/v1alpha1
kind: Image
metadata:
  name: example-image
  namespace: default
spec:
  tag: <DOCKER-IMAGE-TAG>
  serviceAccount: <SERVICE-ACCOUNT>
  builder:
    name: <BUILDER>
    kind: Builder
  source:
    git:
      url: <APPLICATION-SOURCE-REPOSITORY>
      revision: <APPLICATION-SOURCE-REVISION>

kpack is also accompanied by a handy CLI utility called kpack CLI that lets you interact with kpack resources.

References