mirror of
https://github.com/kemko/nomad.git
synced 2026-01-11 21:05:40 +03:00
This changeset stages upcoming E2E provisioning improvements work. It splits the existing shared configuration directory into 3 profiles: * "full-cluster": the set of configurations currently in use * "dev-cluster": a simplified set of mostly existing configurations that weren't in use. * "custom": an empty profile for developers to keep non-standard configurations during complex feature development. The tooling to switch between profiles will be in a later changeset. Also drops some unused configuration knobs from the provisioning scripts to make the next stage of work easier.
Terraform Provisioning
These scripts are copied up to instances via Terraform provisioning and executed after launch. This allows us to update the Nomad configurations for features that land on master without having to re-bake AMIs.
What goes here?
- steps that are specific to a given Nomad build: ex. all Nomad configuration files.
- steps that are specific to a given EC2 instance: configuring IP addresses.
These scripts should be idempotent: copy configurations from /ops/shared to their destinations where the services expect them to be, rather than moving them.