Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

cloud-gov/kubernetes-release

 
 

Repository files navigation

Deprecated

This release is no longer maintained or used, and is retained for reference purposes only

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://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent?v=3262.2
$ 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.

Packages

No packages published

Languages

  • Shell 69.7%
  • HTML 29.6%
  • Ruby 0.7%