Skip to content

wulonghui/kubernetes-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-release

Deploy Kubernetes easily with this BOSH release.

Version

  • Kubernetes: v0.7.2

Deploy Kubernetes

BOSH

  • Install BOSH
  • Deployment Kubernetes:
    • Openstack
$ bosh upload stemcell https://s3.amazonaws.com/bosh-jenkins-artifacts/bosh-stemcell/openstack/bosh-stemcell-2605-openstack-kvm-ubuntu-trusty-go_agent.tgz
$ cd kubernetes-release
$ bosh create release
$ bosh upload release
$ vi templates/k8s-infrastructure-openstack.yml #Change the openstack-stub, like network settings
$ ./generate_deployment_manifest openstack $(bosh status --uuid) > manifest.yml
$ bosh deployment manifest.yml
$ bosh -n deploy

BOSH Lite

  • 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-348-warden-boshlite-ubuntu-trusty-go_agent.tgz
$ cd kubernetes-release
$ bosh create release 
$ bosh upload release 
$ ./generate_deployment_manifest warden $(bosh status --uuid) > manifest.yml
$ bosh deployment manifest.yml
$ bosh -n deploy

Running the Guestbook example

The release includes an errand to deploy the GuestBook example.

$ bosh run errand guestbook-example

Clean up the Kubernetes

If you want to delete all the services, replication controllers and pods, you can run

$ bosh run errand kubernetes-clean-up

##Note Forked from CloudCredo/kubernetes-release

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published