Skip to content

Instantly share code, notes, and snippets.

@alpcrimea
Created February 7, 2017 22:20
Show Gist options
  • Select an option

  • Save alpcrimea/b921e6d130c78b22899fb944685dd2ed to your computer and use it in GitHub Desktop.

Select an option

Save alpcrimea/b921e6d130c78b22899fb944685dd2ed to your computer and use it in GitHub Desktop.
---
name: bosh
releases:
- name: bosh
url: https://bosh.io/d/github.com/cloudfoundry/bosh?v=260.5
sha1: 8a6a7a5d4b06c5ce2146f852b918a0dd0002e07a
- name: bosh-openstack-cpi
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=30
sha1: 2fff8e1c241a91267ddd099a553c1339d2709821
resource_pools:
- name: vms
network: private
stemcell:
url: https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3312.15
sha1: 2d62de3fedfa256fd562b1981db2f730b74e1253
cloud_properties:
instance_type: m1.medium
disk_pools:
- name: disks
disk_size: 20_000
networks:
- name: private
type: manual
subnets:
- range: 10.0.0.0/24 # <--- Replace with a private subnet CIDR
gateway: 10.0.0.1 # <--- Replace with a private subnet's gateway
dns: [8.8.8.8] # <--- Replace with your DNS
cloud_properties: {net_id: c2159c8f-60e5-4563-ae9b-e3cadb9a607c} # <--- # Replace with private network UUID
- name: public
type: vip
jobs:
- name: bosh
instances: 1
templates:
- {name: nats, release: bosh}
- {name: postgres, release: bosh}
- {name: blobstore, release: bosh}
- {name: director, release: bosh}
- {name: health_monitor, release: bosh}
- {name: registry, release: bosh}
- {name: openstack_cpi, release: bosh-openstack-cpi}
resource_pool: vms
persistent_disk_pool: disks
networks:
- name: private
static_ips: [10.0.0.7] # <--- Replace with a private IP
default: [dns, gateway]
- name: public
static_ips: [22.33.44.77] # <--- Replace with a floating IP
properties:
nats:
address: 127.0.0.1
user: nats
password: TCdhTUuu5bU0y # <--- Uncomment & change
postgres: &db
listen_address: 127.0.0.1
host: 127.0.0.1
user: postgres
password: Cifz6U59gASOt # <--- Uncomment & change
database: bosh
adapter: postgres
registry:
address: 10.0.0.7 # <--- Replace with a private IP
host: 10.0.0.7 # <--- Replace with a private IP
db: *db
http:
user: admin
password: o1GpTSIRUk1lI # <--- Uncomment & change
port: 25777
username: admin
password: 80N9tzk3i2y4g # <--- Uncomment & change
port: 25777
blobstore:
address: 10.0.0.7 # <--- Replace with a private IP
port: 25250
provider: dav
director:
user: director
password: 1Y45sKb67cl3aA # <--- Uncomment & change
agent:
user: agent
password: KJT_XvsgS_zGC # <--- Uncomment & change
director:
address: 127.0.0.1
name: my-bosh
db: *db
cpi_job: openstack_cpi
max_threads: 3
user_management:
provider: local
local:
users:
- {name: admin, password: NziQn2JAlzEsv} # <--- Uncomment & change
- {name: hm, password: ukBkKY97xwTE9} # <--- Uncomment & change
hm:
director_account:
user: hm
password: ajhkAKfE9yrHd # <--- Uncomment & change
resurrector_enabled: true
openstack: &openstack
auth_url: https://test.com:5000/v2.0 # <--- Replace with OpenStack Identity API endpoint
#project: cloudfoundry # <--- Replace with OpenStack project name
#domain: Default # <--- Replace with OpenStack domain name
tenant: cloudfoundry # <--- Replace with OpenStack project name
username: admin # <--- Replace with OpenStack username
api_key: jisysYWIQ5tna # <--- Replace with OpenStack password
#region: RegionOne
default_key_name: microbosh
default_security_groups: [bosh]
#tenant: 1852fd02627441e88f1773626e3115f9
default_volume_type: volumes_ceph
agent: {mbus: "nats://nats:[email protected]:4222"} # <--- Uncomment & change
ntp: &ntp [0.pool.ntp.org, 1.pool.ntp.org]
cloud_provider:
template: {name: openstack_cpi, release: bosh-openstack-cpi}
ssh_tunnel:
host: 22.33.44.77 # <--- Replace with a floating IP
port: 22
user: vcap
private_key: ./microbosh.pem # Path relative to this manifest file
mbus: "https://mbus:[email protected]:6868" # <--- Uncomment & change
properties:
openstack: *openstack
agent: {mbus: "https://mbus:[email protected]:6868"} # <--- Uncomment & change
blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache}
ntp: *ntp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment