Sha256: bc127d5aa1c6b390eef081ed0758f0176599c9cc08dc136efdf8d3cdbd686d20

Contents?: true

Size: 1.18 KB

Versions: 33

Compression:

Stored size: 1.18 KB

Contents

---
title: Kubes Concepts
---

## Resources Files

The `.kubes/resources` where you organized Kubernetes resources. Different subfolders within the resources folder represent your app. Example:

    .kubes
    └── resources
        ├── clock
        │   └── deployment.yaml
        ├── worker
        │   └── deployment.yaml
        └── web
            ├── deployment.yaml
            └── service.yaml

Each folder contains your Kubernetes deployment definition, either in [YAML]({% link _docs/yaml.md %}) or [DSL]({% link _docs/dsl.md %}) form. Both can be used together.

## Conventions Over Configuration

Kubes uses Conventions Over Configuration structure to remove boilerplate setup and mental overhead.

You can deploy just the demo-web app

    kubes deploy web

Or you can deploy all 3 with:

    kubes deploy

The deploy command automatically builds the Docker image and replaces the image in the YAML file with the latest built image.

## Layering

Kubes supports layering files together so you can use the same Kubernetes files to build multiple environments like dev and prod. More details in the [Layering Docs]({% link _docs/layering.md %}).

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
kubes-0.7.0 docs/_docs/intro/concepts.md
kubes-0.6.8 docs/_docs/intro/concepts.md
kubes-0.6.7 docs/_docs/intro/concepts.md
kubes-0.6.6 docs/_docs/intro/concepts.md
kubes-0.6.5 docs/_docs/intro/concepts.md
kubes-0.6.4 docs/_docs/intro/concepts.md
kubes-0.6.3 docs/_docs/intro/concepts.md
kubes-0.6.2 docs/_docs/intro/concepts.md
kubes-0.6.1 docs/_docs/intro/concepts.md
kubes-0.6.0 docs/_docs/intro/concepts.md
kubes-0.5.1 docs/_docs/intro/concepts.md
kubes-0.5.0 docs/_docs/intro/concepts.md
kubes-0.4.7 docs/_docs/intro/concepts.md
kubes-0.4.6 docs/_docs/intro/concepts.md
kubes-0.4.5 docs/_docs/intro/concepts.md
kubes-0.4.4 docs/_docs/intro/concepts.md
kubes-0.4.3 docs/_docs/intro/concepts.md
kubes-0.4.2 docs/_docs/intro/concepts.md
kubes-0.4.1 docs/_docs/intro/concepts.md
kubes-0.4.0 docs/_docs/intro/concepts.md