emalm / capi-k8s-release

For deploying CAPI to K8s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disclaimer

This repo is very new, experimental, and not yet continuously integrated or tested to the degree we'd like.

Pre-requisites

  1. Clone the cf-for-k8s repository: https://github.com/cloudfoundry/cf-for-k8s/
  2. Install any prerequisites of cf-for-k8s: https://github.com/cloudfoundry/cf-for-k8s/blob/master/docs/deploy.md#prerequisites

Configuring pushes of buildpack apps

capi-k8s-release currently uploads app source code to a blobstore, but then hands that off to kpack to build app images that are then placed in a registry. In order for this to work, you must configure the following values:

kubernetes:
  api:
    url: # the url of your k8s cluster
kpack:
  registry:
    hostname: # the hostname of the registry (i.e. docker.io, gcr.io)
    repository: # the repository within the registry (i.e. cloudfoundry/capi)
    username: # basic auth registry username
    password: # basic auth registry password

Rolling out changes to CAPI

  1. ./scripts/rollout.sh will take any local changes to capi-k8s-release, apply them to a local cf-for-k8s directory, and then deploy cf-for-k8s
  • Local cf-for-k8s directory can be overriden by setting CF_FOR_K8s_DIR

About

For deploying CAPI to K8s


Languages

Language:Go 69.2%Language:Shell 15.1%Language:Dockerfile 8.4%Language:Makefile 7.3%