BOSH release for Kubernetes
Shell HTML Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.final_builds
ci
config
jobs
packages
releases/kubernetes
src
templates
.gitignore
.gitmodules
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.md
generate_deployment_manifest
pipeline.yml
vars.yml

README.md

kubernetes-release

Deploy Kubernetes easily with this BOSH release.

Kubernetes on your laptop

  • Install BOSH Lite and boot the Vagrant VM.
  • Deploy Kubernetes:
$ bosh upload stemcell https://s3.amazonaws.com/bosh-jenkins-artifacts/bosh-stemcell/warden/bosh-stemcell-389-warden-boshlite-ubuntu-trusty-go_agent.tgz
$ git clone https://github.com/cloudcredo/kubernetes-release
$ cd kubernetes-release
$ bosh upload release releases/kubernetes/kubernetes-4.yml
$ ./generate_deployment_manifest warden $(bosh status --uuid) > manifest.yml
$ bosh deployment manifest.yml
$ bosh -n deploy

Enabling DNS

The release includes an errand to deploy the DNS add-on to Kubernetes:

$ bosh run errand create-kubernetes-dns

Running the Guestbook example

The release includes an errand to deploy the GuestBook example.

$ bosh run errand guestbook-example

Pipeline

The CI pipeline for this release is implemented using Concourse.

k8s pipeline

Edit the provided vars.yml and then run the following commands against your deployed Concourse:

$ fly -t k8s-ci login -c https://concourse.example.com
$ fly -t k8s-ci set-pipeline -p kubernetes -c pipeline.yml -l vars.yml
$ fly -t k8s-ci unpause-pipeline -p kubernetes

Thanks

Thanks to Brian Ketelsen and CF Platform Engineering.