Slide 40
Slide 40 text
Kpack
https://github.com/pivotal/kpack
KubernetesのCRD(Custom Resource Definition)としてBuilder /
Imageを扱える。
apiVersion: build.pivotal.io/v1alpha1
kind: Image
metadata:
name: tutorial-image
spec:
tag: making/hello-jsug
serviceAccount: tutorial-service-account
builder:
name: default-builder
kind: ClusterBuilder
cacheSize: "1.5Gi"
source:
git:
url: https://github.com/making/hello-jsug.git
revision: master
apiVersion: build.pivotal.io/v1alpha1
kind: ClusterBuilder
metadata:
name: default-builder
spec:
image: cloudfoundry/cnb:bionic
updatePolicy: polling