FAQ
Is there a way to have an instance (VM) use multiple templates in a
deployment manifest?

For example:

[...snip...]

jobs:
- name: job-a
template:
- redis
- nginx
instances: 1
resource_pool: common

[...snip...]

I'm sure it's just a syntax error on my part, but I can't get it to have
more than one template.

Thanks,
Evan

Search Discussions

  • Ejhazlett at Jul 31, 2012 at 9:39 pm
    Is there a way to have an instance (VM) use multiple templates in a
    deployment manifest?

    For example:

    [...snip...]

    jobs:
    - name: job-a
    template:
    - redis
    - nginx
    instances: 1
    resource_pool: common

    [...snip...]

    I'm sure it's just a syntax error on my part, but I can't get it to have
    more than one template.

    Thanks,
    Evan
  • Dr Nic Williams at Jul 31, 2012 at 9:40 pm
    There was a feature "job colocation" http://reviews.cloudfoundry.org/#/c/6722/ but I think it got yanked http://reviews.cloudfoundry.org/#/c/7862/

    Dr Nic Williams - VP Developer Evangelism
    Engine Yard
    The Leading Platform as a Service
    Mobile: +1 415 860 2185
    Skype: nicwilliams
    Twitter: @drnic

    On Tuesday, July 31, 2012 at 2:39 PM, ejhazlett@gmail.com wrote:

    Is there a way to have an instance (VM) use multiple templates in a deployment manifest?

    For example:

    [...snip...]

    jobs:
    - name: job-a
    template:
    - redis
    - nginx
    instances: 1
    resource_pool: common


    [...snip...]

    I'm sure it's just a syntax error on my part, but I can't get it to have more than one template.

    Thanks,
    Evan
  • Martin Englund at Jul 31, 2012 at 9:42 pm
    Evan,

    bosh currently only supports one job per VM, but Ben is working on a
    change to allow multiple jobs per VM.

    Cheers,
    /Martin
    On Tue, Jul 31, 2012 at 2:34 PM, wrote:
    Is there a way to have an instance (VM) use multiple templates in a
    deployment manifest?

    For example:

    [...snip...]

    jobs:
    - name: job-a
    template:
    - redis
    - nginx
    instances: 1
    resource_pool: common

    [...snip...]

    I'm sure it's just a syntax error on my part, but I can't get it to have
    more than one template.

    Thanks,
    Evan


    --
    cheers,
    /Martin
    --
    Martin Englund, Staff Engineer, Cloud Foundry, VMware Inc.
    "The question is not if you are paranoid, it is if you are paranoid enough."
  • Ejhazlett at Jul 31, 2012 at 10:24 pm
    Thanks for the quick reply. I'll find a workaround. :)

    Evan
    On Tuesday, July 31, 2012 5:42:42 PM UTC-4, Martin Englund wrote:

    Evan,

    bosh currently only supports one job per VM, but Ben is working on a
    change to allow multiple jobs per VM.

    Cheers,
    /Martin
    On Tue, Jul 31, 2012 at 2:34 PM, wrote:
    Is there a way to have an instance (VM) use multiple templates in a
    deployment manifest?

    For example:

    [...snip...]

    jobs:
    - name: job-a
    template:
    - redis
    - nginx
    instances: 1
    resource_pool: common

    [...snip...]

    I'm sure it's just a syntax error on my part, but I can't get it to have
    more than one template.

    Thanks,
    Evan


    --
    cheers,
    /Martin
    --
    Martin Englund, Staff Engineer, Cloud Foundry, VMware Inc.
    "The question is not if you are paranoid, it is if you are paranoid
    enough."
  • Ejhazlett at Aug 1, 2012 at 6:01 am
    Do you happen to have any idea when this is planned for release? I know
    that's hard to say, but I'm just wondering how much effort to expend in a
    workaround.

    Thanks!
    On Tuesday, July 31, 2012 5:42:42 PM UTC-4, Martin Englund wrote:

    Evan,

    bosh currently only supports one job per VM, but Ben is working on a
    change to allow multiple jobs per VM.

    Cheers,
    /Martin
    On Tue, Jul 31, 2012 at 2:34 PM, wrote:
    Is there a way to have an instance (VM) use multiple templates in a
    deployment manifest?

    For example:

    [...snip...]

    jobs:
    - name: job-a
    template:
    - redis
    - nginx
    instances: 1
    resource_pool: common

    [...snip...]

    I'm sure it's just a syntax error on my part, but I can't get it to have
    more than one template.

    Thanks,
    Evan


    --
    cheers,
    /Martin
    --
    Martin Englund, Staff Engineer, Cloud Foundry, VMware Inc.
    "The question is not if you are paranoid, it is if you are paranoid
    enough."

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupbosh-users @
postedJul 31, '12 at 9:34p
activeAug 1, '12 at 6:01a
posts6
users3

People

Translate

site design / logo © 2022 Grokbase