GithubHelp home page GithubHelp logo

tkgi-opsfile-release's Introduction

TKGI Opsfile Release

this enables an operator to configure a bosh opsfile that will be written to the tkgi api vm and can then be used against cluster creation for ovverding deployment settings. this needs to be used in conjunction with the sccript included to add the opsfile to the tile metadata.

this was initially written to override the vm_strategy for tkgi clusters

Usage

add any opsfile contents to the addon.yml an example is given with vm_strategy in the addon-vmstrategy-example.yml

Install

  1. Open a shell prompt on a BOSH CLI with access to your PKS bosh director, such as Ops Manager.
  2. Export your BOSH credentials to the enviornment. These can be accessed via the Ops Manager GUI -> BOSH Director Tile -> Credentials Tab -> Bosh Commandline Credentials.

e.g.

export BOSH_CLIENT=ops_manager BOSH_CLIENT_SECRET=fakesecret BOSH_CA_CERT=/var/tempest/workspaces/default/root_ca_certificate  BOSH_ENVIRONMENT=10.0.0.10
  1. Copy or clone this repository onto this BOSH CLI workstation and create+upload the BOSH release to the director
git clone https://github.com/warroyo/tkgi-opsfile-release && cd tkgi-opsfile-release
bosh create-release --force
bosh upload-release ./dev_releases/tkgi-opsfiles/tkgi-opsfiles-0+dev.1.yml

  1. Configure the addon from this repo

bosh -n update-config --name=tkgi-opsfile --type=runtime ./addon-vmstrategy-example.yml
  1. modify the TKGI tile metadata to include the new file. run the below from the opsman vm.
sudo ./update-tile.sh
  1. apply changes in opsman

  2. update existing clusters to get the new settings.

tkgi-opsfile-release's People

Contributors

warroyo avatar

Stargazers

 avatar Stu Charlton avatar

Watchers

 avatar James Cloos avatar

Forkers

tezizzm

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.