Skip to content

Instantly share code, notes, and snippets.

@amaltson
Created August 14, 2014 03:14
Show Gist options
  • Save amaltson/7308f9bda58ee68617ec to your computer and use it in GitHub Desktop.
Save amaltson/7308f9bda58ee68617ec to your computer and use it in GitHub Desktop.
BOSH Manifest
---
name: bosh
director_uuid: <UUID>
release:
name: bosh
version: 63 # change this when the version of BOSH changes
networks:
# all of these settings depend on your own infrastructure setup
- name: default
subnets:
- range: BOSH_IP.0/24
reserved:
- BOSH_IP.2 - BOSH_IP.149
- BOSH_IP.178 - BOSH_IP.254
static:
- BOSH_IP.151 - BOSH_IP.156
gateway: BOSH_IP.1
dns:
- DNS
cloud_properties:
name: VMwareNetworked
resource_pools:
- name: small
stemcell:
name: bosh-vsphere-esxi-ubuntu
version: latest
network: default
size: 5
cloud_properties:
ram: 512
disk: 2048
cpu: 1
- name: director
stemcell:
name: bosh-vsphere-esxi-ubuntu
version: latest
network: default
size: 1
cloud_properties:
ram: 2048
disk: 8192
cpu: 2
compilation:
workers: 6
network: default
cloud_properties:
ram: 2048
disk: 4048
cpu: 4
update:
canaries: 1
canary_watch_time: 60000
update_watch_time: 60000
max_in_flight: 1
jobs:
- name: nats
template: nats
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- BOSH_IP.151
- name: postgres
template: postgres
instances: 1
resource_pool: small
persistent_disk: 2048
networks:
- name: default
static_ips:
- BOSH_IP.152
- name: redis
template: redis
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- BOSH_IP.153
- name: director
template: director
instances: 1
resource_pool: director
persistent_disk: 2048
networks:
- name: default
static_ips:
- BOSH_IP.154
- name: blobstore
template: blobstore
instances: 1
resource_pool: small
persistent_disk: 20480
networks:
- name: default
static_ips:
- BOSH_IP.155
- name: health_monitor
template: health_monitor
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- BOSH_IP.156
properties:
env:
blobstore:
address: BOSH_IP.155
port: 25251
backend_port: 25552
agent:
user: agent # this creates a read only user for BOSH agents
password: password # this creates a password for BOSH agents
director:
user: director # this creates a read / write user for the BOSH Director
password: password # this creates a password BOSH Director
networks:
apps: default
management: default
nats:
user: nats
password: password
address: BOSH_IP.151
port: 4222
postgres:
user: bosh
password: password
address: BOSH_IP.152
port: 5432
database: bosh
redis:
address: BOSH_IP.153
port: 25255
password: password
director:
name: your-director
address: BOSH_IP.154
port: 25555
encryption: false
db:
user: bosh
password: password
host: BOSH_IP.152
hm:
http:
port: 25923
user: admin #can be whatever
password: password # can be whatever
director_account:
user: admin # can be whatever
password: password # can be whatever
intervals:
poll_director: 60
poll_grace_period: 30
log_stats: 300
analyze_agents: 60
agent_timeout: 180
rogue_agent_alert: 180
loglevel: info
email_notifications: false # if this is false you don't need to worry about the smtp section below
email_recipients:
- email@example.com
smtp:
...
tsdb_enabled: false # it this is false you don't have to worry about the tsdb settings. Plus you can't set it to true until you have a complete Cloud Foundry running.
tsdb:
address: BOSH_IP.157 # opentsdb static IP from your Cloud Foundry deploy (optional)
port: 4242
vcenter: # must match your vCenter info
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment