Sha256: 667ebc529ab611749b84deb76f91293ce00f78f024bb4ee686b63ea0744a33d8

Contents?: true

Size: 1.88 KB

Versions: 19

Compression:

Stored size: 1.88 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
--- | ---
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.
resources/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 %}).
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

19 entries across 19 versions & 1 rubygems

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