Sha256: 334582834a62c24cee6cb593c0bb2a78b6b83dcd1568500143f46100396a6788

Contents?: true

Size: 819 Bytes

Versions: 25

Compression:

Stored size: 819 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

25 entries across 25 versions & 1 rubygems

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