Sha256: 761ae7f73372631b6840f0230fa311204cbfd115935136c00d0c26beefbdd870

Contents?: true

Size: 588 Bytes

Versions: 58

Compression:

Stored size: 588 Bytes

Contents

---
title: Extra Environments
---

Kubes adds the concept of extra environments.  Let say, you have a demo-web app with a deployment and service.

    .kubes/resources
    └── web
        ├── deployment.rb
        └── service.rb

You can create additional environments using the same resource files with a few minor changes.

* [DSL Example]({% link _docs/extra-env/dsl.md %})
* [YAML Example]({% link _docs/extra-env/yaml.md %})

## Deploy

Then to create an additional environment, it's simple:

    KUBES_EXTRA=2 kubes deploy
    KUBES_EXTRA=3 kubes deploy
    # etc

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
kubes-0.9.3 docs/_docs/extra-env.md
kubes-0.9.2 docs/_docs/extra-env.md
kubes-0.9.1 docs/_docs/extra-env.md
kubes-0.9.0 docs/_docs/extra-env.md
kubes-0.8.10 docs/_docs/extra-env.md
kubes-0.8.9 docs/_docs/extra-env.md
kubes-0.8.8 docs/_docs/extra-env.md
kubes-0.8.7 docs/_docs/extra-env.md
kubes-0.8.6 docs/_docs/extra-env.md
kubes-0.8.5 docs/_docs/extra-env.md
kubes-0.8.4 docs/_docs/extra-env.md
kubes-0.8.3 docs/_docs/extra-env.md
kubes-0.8.2 docs/_docs/extra-env.md
kubes-0.8.1 docs/_docs/extra-env.md
kubes-0.8.0 docs/_docs/extra-env.md
kubes-0.7.10 docs/_docs/extra-env.md
kubes-0.7.9 docs/_docs/extra-env.md
kubes-0.7.8 docs/_docs/extra-env.md
kubes-0.7.7 docs/_docs/extra-env.md
kubes-0.7.6 docs/_docs/extra-env.md