GithubHelp home page GithubHelp logo

cloudfoundry-community / eirini-bosh-release Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 13.0 394 KB

A BOSH release for Eirini.

License: Apache License 2.0

HTML 42.84% Shell 23.43% Go 20.49% HCL 13.24%
eirini bosh kubernetes bosh-release

eirini-bosh-release's Introduction

eirini-bosh-release

This is a BOSH release for eirini.

Deploying CF+Eirini with BOSH

  1. Ensure you have the following utilities:
  1. Clone relevant repos to deploy CF.

    git clone https://github.com/cloudfoundry/cf-deployment.git
    /path/to/cf-deployment
    git clone https://github.com/cloudfoundry-community/eirini-bosh-release.git
    /path/to/eirini-bosh-release
    
  2. Create a GCP service account for use by BBL (BOSH Bootloader): Getting Started: GCP # Create a Service Account

  3. Generate a certificate for use by CF load balancers. See Deploying CF#step-1-get-you-some-load-balancers for help.

  4. Create and bootstrap the directory to store your BBL (BOSH Bootloader) state:

    mkdir -p ~/path/to/envs/new_environment
    cd ~/path/to/envs/new_environment
    
    # export BBL_ENV_NAME=new_environment
    # export BBL_IAAS=gcp
    # export BBL_GCP_REGION=us-west1
    # export BBL_GCP_SERVICE_ACCOUNT_KEY=/path/to/key.json
    
    bbl plan --lb-type cf --lb-domain system.tld --lb-cert /path/to/cert --lb-key /path/to/key
    
  5. Apply the relevant plan patches to the BBL state dir.

    cp -R ~/path/to/eirini-bosh-release/plan-patches/shared/. ~/path/to/envs/new_environment
    cp -R ~/path/to/eirini-bosh-release/plan-patches/gcp/. ~/path/to/envs/new_environment
    
  6. Deploy the infrastructure with BBL.

    bbl up
    
  7. Upload stemcell to BOSH director

    eval "$(bbl print-env)"
    ./upload-stemcell.sh /path/to/cf-deployment
    
  8. Deploy CF

    eval "$(bbl print-env)"
    ./deploy.sh /path/to/cf-deployment /path/to/eirini-bosh-release
    
  9. Create a new DNS record by following the instructions Step 2: Update your DNS records to point to your load balancer .

  10. Run the post-deploy errand:

    bosh -d cf run-errand configure-eirini-bosh
    

Contributing

  1. Fork this project into your GitHub organisation or username
  2. Make sure you are up-to-date with the upstream master and then create your feature branch (git checkout -b amazing-new-feature)
  3. Add and commit the changes (git commit -am 'Add some amazing new feature')
  4. Push to the branch (git push origin amazing-new-feature)
  5. Create a PR against this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.