Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.43 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.43 KB

Bootstrap

This repository contains bootstrap scripts used by kubicorn to provision cloud instances.

We've decided to move scripts to this repository, so we can easier manage them for each kubicorn release.

For every kubicorn release, there's an appropriate branch for bootstrap scripts in this repository. Currently, kubicorn is in the pre-release phase, so it'll use bootstrap scripts from the pre-release branch of this repository.

The master branch repository can contain scripts that are in-development or not tested.

Developing bootstrap scripts

If you are running kubicorn in the though level directory of the repository set the following environmental variable to force parse the bootstrap scripts locally.

$ KUBICORN_FORCE_LOCAL_BOOTSTRAP=1 kubicorn apply mycluster -v 4

These are the bootstrap scripts that ship with the default kubicorn profiles.

Feel free to add your own, or modify these at any time.

The scripts are effectively what we use as user data to initialize a VM

I need to template out one of these bootstrap scripts

No you don't. Write bash like a pro.

I need more data in a bootstrap script what should I do?

If you really can only get it from kubicorn and nowhere else, you can use the Values{} struct to define custom key/value pairs that will be injected into your script. This will be a code change, and is intended to be just that.