Sha256: feaadf135713371ec360e656f5fdb5c084ead0e283ac60f31263d0c655e763b4

Contents?: true

Size: 1.86 KB

Versions: 39

Compression:

Stored size: 1.86 KB

Contents

---
title: Kubes Structure
---

Here's what a .kubes folder structure can look like this:

    .kubes
    ├── config
    │   ├── docker
    │   │   ├── args.rb
    │   │   └── hooks.rb
    │   ├── env
    │   │   ├── dev.rb
    │   │   └── prod.rb
    │   └── kubectl
    │       ├── args.rb
    │       └── hooks.rb
    ├── config.rb
    ├── output
    ├── resources
    │   ├── base
    │   │   └── all.yaml
    │   ├── clock
    │   │   └── deployment.yaml
    │   ├── shared
    │   │   ├── config_map.yaml
    │   │   └── secret.yaml
    │   ├── web
    │   │   ├── deployment.yaml
    │   │   └── service.yaml
    │   └── worker
    │       └── deployment.yaml
    └── state

Name | Description
--- | ---
base | The base folder is processed first and can be used to define common fields and resources. Learn more on the [Layering Docs]({% link _docs/layering.md %}).
config | The config folder can be used to configure behavior of Kubes.  The [docker]({% link _docs/config/docker.md %}) config is used to customize the docker command. The [env]({% link _docs/config/env.md %}) config is used to override `config.rb` settings on a `KUBES_ENV` basis. The [kubectl]({% link _docs/config/kubectl.md %}) config is used to customize the kubectl command.
config.rb | The main thing to configure here is the repo to push the docker image to.
output | Where kubes builds and writes the Kubernetes YAML to.
resources | Where you define your Kubernetes resources.
shared | The shared folder is where you can put shared resources. This folder gets applied first. More info: [Ordering]({% link _docs/intro/ordering.md %}).
state | Temporary state info that stores the built Docker image name.

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
kubes-0.7.6 docs/_docs/intro/structure.md
kubes-0.7.5 docs/_docs/intro/structure.md
kubes-0.7.4 docs/_docs/intro/structure.md
kubes-0.7.3 docs/_docs/intro/structure.md
kubes-0.7.2 docs/_docs/intro/structure.md
kubes-0.7.1 docs/_docs/intro/structure.md
kubes-0.7.0 docs/_docs/intro/structure.md
kubes-0.6.8 docs/_docs/intro/structure.md
kubes-0.6.7 docs/_docs/intro/structure.md
kubes-0.6.6 docs/_docs/intro/structure.md
kubes-0.6.5 docs/_docs/intro/structure.md
kubes-0.6.4 docs/_docs/intro/structure.md
kubes-0.6.3 docs/_docs/intro/structure.md
kubes-0.6.2 docs/_docs/intro/structure.md
kubes-0.6.1 docs/_docs/intro/structure.md
kubes-0.6.0 docs/_docs/intro/structure.md
kubes-0.5.1 docs/_docs/intro/structure.md
kubes-0.5.0 docs/_docs/intro/structure.md
kubes-0.4.7 docs/_docs/intro/structure.md
kubes-0.4.6 docs/_docs/intro/structure.md