Created
October 1, 2015 18:35
-
-
Save prysmakou/083165e6ec2342567c11 to your computer and use it in GitHub Desktop.
Example microbosh manifest for openstack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: bosh | |
releases: | |
- name: bosh | |
url: https://bosh.io/d/github.com/cloudfoundry/bosh?v=208 | |
sha1: 0c84b104d9252295597a9fbcabdf432b6f1bd226 | |
- name: bosh-openstack-cpi | |
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=12 | |
sha1: 136cc54f03b9f86f3e5ecb124063d671215d29e3 | |
resource_pools: | |
- name: vms | |
network: private | |
stemcell: | |
url: https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3012 | |
sha1: e92f3bd5081301652005bdc3dd11bff545a304ef | |
cloud_properties: | |
instance_type: m1.xlarge | |
availability_zone: "nova" | |
disk_pools: | |
- name: disks | |
disk_size: 20_000 | |
networks: | |
- name: private | |
type: manual | |
subnets: | |
- range: 192.168.66.0/22 # <--- Replace with a private subnet CIDR | |
gateway: 192.168.66.1 # <--- Replace with a private subnet's gateway | |
dns: [8.8.8.8] # <--- Replace with your DNS | |
cloud_properties: {net_id: a823531d-d17c-43a8-8c3d-2d70f33edea7} # <--- # Replace with private network UUID | |
- name: public | |
type: vip | |
jobs: | |
- name: bosh | |
instances: 1 | |
templates: | |
- {name: nats, release: bosh} | |
- {name: redis, release: bosh} | |
- {name: postgres, release: bosh} | |
- {name: blobstore, release: bosh} | |
- {name: director, release: bosh} | |
- {name: health_monitor, release: bosh} | |
- {name: registry, release: bosh} | |
- {name: cpi, release: bosh-openstack-cpi} | |
resource_pool: vms | |
persistent_disk_pool: disks | |
networks: | |
- name: private | |
static_ips: [192.168.66.4] # <--- Replace with a private IP | |
default: [dns, gateway] | |
- name: public | |
static_ips: [REPLACE_WITH_IP] # <--- Replace with a floating IP | |
properties: | |
nats: | |
address: 127.0.0.1 | |
user: nats | |
password: nats-password | |
redis: | |
listen_addresss: 127.0.0.1 | |
address: 127.0.0.1 | |
password: redis-password | |
postgres: &db | |
host: 127.0.0.1 | |
user: postgres | |
password: postgres-password | |
database: bosh | |
adapter: postgres | |
registry: | |
address: 192.168.66.4 # <--- Replace with a private IP | |
host: 192.168.66.4 # <--- Replace with a private IP | |
db: *db | |
http: {user: admin, password: admin, port: 25777} | |
username: admin | |
password: admin | |
port: 25777 | |
blobstore: | |
address: 192.168.66.4 # <--- Replace with a private IP | |
port: 25250 | |
provider: dav | |
director: {user: director, password: director-password} | |
agent: {user: agent, password: agent-password} | |
director: | |
address: 127.0.0.1 | |
name: my-bosh | |
db: *db | |
cpi_job: cpi | |
max_threads: 3 | |
hm: | |
director_account: {user: admin, password: admin} | |
resurrector_enabled: true | |
openstack: &openstack | |
auth_url: http://10.152.220.50:5000/v2.0 # <--- Replace with OpenStack Identity API endpoint | |
tenant: "Pivotal Project Space" # <--- Replace with OpenStack tenant name | |
username: "REPLACE_WITH_USERNAME" # <--- Replace with OpenStack username | |
api_key: "REPLACE_WITH_APSSWORD" # <--- Replace with OpenStack password | |
default_key_name: REPLACE_WITH_KEY_NAME # <--- Replace with OpenStack key pair name | |
default_security_groups: [bosh] # <--- Replace with OpenStack SG | |
ignore_server_availability_zone: true | |
agent: {mbus: "nats://nats:nats-password@192.168.66.4:4222"} # <--- Replace with a private IP | |
ntp: &ntp [0.pool.ntp.org, 1.pool.ntp.org] | |
cloud_provider: | |
template: {name: cpi, release: bosh-openstack-cpi} | |
ssh_tunnel: | |
host: REPLACE_WITH_IP # <--- Replace with a floating IP | |
port: 22 | |
user: vcap | |
private_key: ./bosh.pem # Path relative to this manifest file | |
mbus: "https://mbus:mbus-password@REPLACE_WITH_IP:6868" # <--- Replace with a floating IP | |
properties: | |
openstack: *openstack | |
agent: {mbus: "https://mbus:mbus-password@0.0.0.0:6868"} | |
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