Deploy Kubernetes easily with this BOSH release.
- 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
The release includes an errand to deploy the DNS add-on to Kubernetes:
$ bosh run errand create-kubernetes-dns
The release includes an errand to deploy the GuestBook example.
$ bosh run errand guestbook-example
The CI pipeline for this release is implemented using Concourse.
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 to Brian Ketelsen and CF Platform Engineering.