kubecf icon indicating copy to clipboard operation
kubecf copied to clipboard

Spike: How kpack/paketo works?

Open viovanov opened this issue 5 years ago • 4 comments

We should understand the following:

  • how are the buildpacks built?
  • how do stacks work, and how do they influence how buildpacks are built?
  • how do we deploy?
  • how to run an app with kpack and paketto?

viovanov avatar Jul 09 '20 16:07 viovanov

While doing so, we should also check what it takes for a SUSE stack to appear in the pack suggest-stacks command (https://github.com/buildpacks/pack/blob/12826ab8a009a719cb5155fc95fd0608fcf486e1/internal/commands/suggest_stacks.go#L21)

Same thing for pack suggest-builders.

jimmykarily avatar Jul 15 '20 08:07 jimmykarily

I asked on Slack, this is the pipeline that builds the builders: https://buildpacks.ci.cf-app.com/teams/core-deps/pipelines/cnb-builder?group=all

(may be useful to understand how they are built).

jimmykarily avatar Jul 15 '20 14:07 jimmykarily

@jimmykarily please add your findings to the issue for knowledge sharing.

fargozhu avatar Oct 27 '20 08:10 fargozhu

This is the branch I've been working on: https://github.com/cloudfoundry-incubator/kubecf/tree/dk-kpack

I managed to get the cloud controller to run but there seem to be more things missing (See here: https://github.com/cloudfoundry/capi-k8s-release#components--collaborators). I got some notes here: https://github.com/cloudfoundry-incubator/kubecf/blob/dk-kpack/notes

jimmykarily avatar Nov 03 '20 08:11 jimmykarily