kubectl/cmd/kinflate/longerDemo/instances
Jeffrey Regan a6e9cb92a4 testmdlinking 2018-02-13 10:46:42 -08:00
..
README.md testmdlinking 2018-02-13 10:46:42 -08:00
README_ORDER.txt add short and longer demo 2018-02-06 15:32:58 -08:00
compare.md testmdlinking 2018-02-13 10:46:42 -08:00
production.md testmdlinking 2018-02-13 10:46:42 -08:00
staging.md testmdlinking 2018-02-13 10:46:42 -08:00

README.md

Instances

Instances of a cluster app represent a common configuration problem.

Their configuration is mostly the same.

We'd like to focus on managing differences.

The DAM approach is to create overlays.

An overlay is just a sub-directory with another manifest file, and optionally more (or fewer) resources.

Example

Create a staging and production instance.

  • The greetings from the hello world web servers will differ.
  • Staging enables a risky feature (for testing).
  • Production has a higher replica count.
mkdir -p $TUT_APP/staging
mkdir -p $TUT_APP/production

Next: Staging