Sha256: 6aaa360ca83725b147234efe6d0c283f76e65c4e024a2c21fa6c57b9ecd32e9f

Contents?: true

Size: 861 Bytes

Versions: 33

Compression:

Stored size: 861 Bytes

Contents

---
title: Role-Based Resources
---

Role-based resources are your main project's resources.  Kubes groups resources together under a "role".

## Example Structure

Here's an example structure to help explain how role-based resources work.

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

## Resource Roles

Here the resource roles are:

1. clock
2. web
3. worker

You can freely add more roles if needed. This structure is flexible enough to account for most use-cases.

## Deploy

You can deploy specific roles like so:

    kubes deploy clock
    kubes deploy web
    kubes deploy worker

Or you can deploy all roles at once:

    kubes deploy

Version data entries

33 entries across 33 versions & 1 rubygems

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