Sha256: 915e057a412f8c94ad860d7a788bfbc03f6ad7cc6856eab0a0bf3a335e5d9500

Contents?: true

Size: 1.32 KB

Versions: 13

Compression:

Stored size: 1.32 KB

Contents

---
title: Central Deployer Pattern
nav_text: Central Deployer
categories: patterns
---

Kubes can be use as either an app-centric or ops-centric tool.

* **app-centric**: Each app repo has it's own `.kubes` settings files. This is useful if your applications are very differently setup.
* **ops-centric**: Each app repo has pretty much the same `.kubes` settings files. This is useful if your applications are very similarly set up.

## Setup

With an ops-centric approach, you use the same `.kubes` settings files for the app repos you want to use. For example:

    https://github.com/org/app1
    https://github.com/org/app2

You then also have a

    https://github.com/org/.kubes

You can simply copy the `.kubes` folder into the app repo folder or even add the `repo/.kubes` as a submodule.

You'll end up with something like this:

    app1/.kubes
    app2/.kubes

Then to deploy different app level settings.

{% include config/app-overrides-cheatsheet.md %}

Also check out: [App Overrides Docs]({% link _docs/config/app-overrides.md %}).

The central deployer approach is removes duplication of the kubes config files between projects. Leveraging app-level overrides gives provides a great degree of control.

If the settings start to diverge too much, then it probably makes sense to use separate .kubes files in that app specific repo.

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kubes-0.9.3 docs/_docs/patterns/central-deployer.md
kubes-0.9.2 docs/_docs/patterns/central-deployer.md
kubes-0.9.1 docs/_docs/patterns/central-deployer.md
kubes-0.9.0 docs/_docs/patterns/central-deployer.md
kubes-0.8.10 docs/_docs/patterns/central-deployer.md
kubes-0.8.9 docs/_docs/patterns/central-deployer.md
kubes-0.8.8 docs/_docs/patterns/central-deployer.md
kubes-0.8.7 docs/_docs/patterns/central-deployer.md
kubes-0.8.6 docs/_docs/patterns/central-deployer.md
kubes-0.8.5 docs/_docs/patterns/central-deployer.md
kubes-0.8.4 docs/_docs/patterns/central-deployer.md
kubes-0.8.3 docs/_docs/patterns/central-deployer.md
kubes-0.8.2 docs/_docs/patterns/central-deployer.md