Skip to content

Instantly share code, notes, and snippets.

@fredwangwang
Last active October 29, 2018 02:11
Show Gist options
  • Save fredwangwang/0dc9cd7d17013d497e57f15a1b99762e to your computer and use it in GitHub Desktop.
Save fredwangwang/0dc9cd7d17013d497e57f15a1b99762e to your computer and use it in GitHub Desktop.
---
name: bosh-tutorial-deployment
releases:
- {name: ardo_app, version: latest}
stemcells:
- alias: default
os: ubuntu-xenial
version: 97.22
update:
canaries: 1
max_in_flight: 3
canary_watch_time: 15000-30000
update_watch_time: 15000-300000
instance_groups:
- name: web_ui
instances: 1
# replace with the name of azs defined in cloud-config
# to view existing azs, do `bosh int <(bosh cloud-config) --path=/azs`
azs: [z1, z2]
jobs:
- name: web_ui
release: ardo_app
properties:
port: 8080
# replace with the name of vm_types defined in cloud-config
# to view available vm_types, do `bosh int <(bosh cloud-config) --path=/vm_types`
vm_type: small
stemcell: default
networks:
# replace with the name of networks defined in cloud-config
# to view available networks, do `bosh int <(bosh cloud-config) --path=/networks`
- name: default
- name: bg_worker
instances: 1
azs: [z1, z2]
jobs:
- name: bg_worker
release: ardo_app
vm_type: small
stemcell: default
networks:
- name: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment