Skip to content

Large structural change#2

Merged
stuartbfox merged 1 commit intomasterfrom
per_env_vars
Oct 14, 2016
Merged

Large structural change#2
stuartbfox merged 1 commit intomasterfrom
per_env_vars

Conversation

@stuartbfox
Copy link
Copy Markdown
Owner

@stuartbfox stuartbfox commented Oct 14, 2016

I just pull from your master and notice you've added scaling by calling a playbook. I took a different approach by adding cli arguments (--master-instance-count --infra-instance-count --node-instance count) and letting ose-on-aws.py take care of it. I've tested many times and it works.
Other major features :-

Stack naming

Propagate stack_name everywhere so you can have multiple stacks per region

Per environment vars file

Separate vars_file per env, maybe you want smaller instance types for a dev cluster

Scaling

See above

Jinjifying the cfn templates

Required by the scaling work

Ability to merge additional cfn features into the main cfn template.

My use case is to deploy rds instances into the same stack.

…yment system

* Per stack naming (`--stack-name=blah`)
* Per stack environment files (`--vars-file=/path/to/vars/file.yaml`)
* Variable amounts of nodes (`--master-instance-count=3 --infra-instance-count=2 --node-instance-count=2`) with sensible defaults and limits
** masters min 3 max 10
** infra   min 3 max 10
** node    min 2 max 100
* Jinjify the json templates
* JSON cleanup
* Inclusion of CFN snippets to extend stack functionality (`--custom-template=/path/to/custom/template.json` or `--custom-template=/path/to/custom/template.json.j2`)
* Leave the default auth schema github but add a commented out section to enable basic http_auth admin/admin
@stuartbfox stuartbfox merged commit 5fc0312 into master Oct 14, 2016
@stuartbfox stuartbfox deleted the per_env_vars branch October 14, 2016 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant