kpack

kpack(opens in a new tab) is a Kubernetes-native platform that uses unprivileged Kubernetes primitives to perform buildpacks builds and keep application images up-to-date.

kpack(opens in a new tab) is part of the Buildpacks Community(opens in a new tab) organization.

Use

To use kpack(opens in a new tab) you can follow their tutorial(opens in a new tab) 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(opens in a new tab) that lets you interact with kpack resources.

References