Created
July 25, 2016 19:25
-
-
Save ipoddar-ibm/71154dd59b8522f04262bf6aad9d9432 to your computer and use it in GitHub Desktop.
Deployment manifest for bosh init on OpenPOWER
This file contains hidden or 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: http://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/cloud-foundry/bosh-release.tgz | |
sha1: 3e828b4a47876c8065c1d28a0c24ec19f612efa2 | |
- name: bosh-openstack-cpi | |
url: http://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/cloud-foundry/cpi-release.tgz | |
sha1: 4b5613c7b4cf00fcd20a214a7b6689921a85ec6b | |
)))resource_pools: | |
- name: vms | |
network: private | |
stemcell: | |
url: http://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/cloud-foundry/bosh-stemcell-ppc64le-3232-openstack-kvm-ubuntu-trusty-go_agent-raw.tgz | |
sha1: 3c7d68ce2e26938dc8d78758657dd1a88e4610ab | |
cloud_properties: | |
instance_type: m1.large | |
disk_pools: | |
- name: disks | |
disk_size: 20000 | |
networks: | |
- name: private | |
type: manual | |
subnets: | |
- range: PRIVATE-CIDR # <--- Replace with a private subnet CIDR | |
gateway: PRIVATE-GATEWAY-IP # <--- Replace with a private subnet's gateway | |
dns: [DNS-IP] # <--- Replace with your DNS | |
cloud_properties: {net_id: NETWORK-UUID} # <--- # 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: [PRIVATE-IP] # <--- Replace with a private IP | |
default: [dns, gateway] | |
- name: public | |
static_ips: [FLOATING-IP] # <--- Replace with a floating IP | |
properties: | |
nats: | |
address: 127.0.0.1 | |
user: nats | |
password: nats-password | |
postgres: &db | |
listen_address: 127.0.0.1 | |
host: 127.0.0.1 | |
user: postgres | |
password: postgres-password | |
database: bosh | |
adapter: postgres | |
registry: | |
address: PRIVATE-IP # <--- Replace with a private IP | |
host: PRIVATE-IP # <--- Replace with a private IP | |
db: *db | |
http: {user: admin, password: admin, port: 25777} | |
username: admin | |
password: admin | |
port: 25777 | |
blobstore: | |
address: PRIVATE-IP # <--- 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: openstack_cpi | |
max_threads: 3 | |
user_management: | |
provider: local | |
local: | |
users: | |
- {name: admin, password: admin} | |
- {name: hm, password: hm-password} | |
hm: | |
director_account: {user: hm, password: hm-password} | |
resurrector_enabled: true | |
openstack: &openstack | |
auth_url: IDENTITY-API-ENDPOINT # <--- Replace with OpenStack Identity API endpoint | |
tenant: OPENSTACK-TENANT # <--- Replace with OpenStack tenant name | |
username: OPENSTACK-USERNAME # <--- Replace with OpenStack username | |
api_key: OPENSTACK-PASSWORD # <--- Replace with OpenStack password | |
default_key_name: bosh | |
default_security_groups: [default] | |
config_drive: disk | |
net_id: NET_ID <--- Replace with network id | |
ignore_server_availability_zone: true | |
availability_zone: AZ <--- Replace with availability zone | |
agent: {mbus: "nats://nats:nats-password@PRIVATE-IP:4222"} # <--- Replace with a private IP | |
ntp: &ntp [0.pool.ntp.org, 1.pool.ntp.org] | |
cloud_provider: | |
template: {name: openstack_cpi, release: bosh-openstack-cpi} | |
ssh_tunnel: | |
host: FLOATING-IP # <--- Replace with a floating IP | |
port: 22 | |
user: vcap | |
private_key: ./bm-key # Path relative to this manifest file | |
mbus: "https://mbus:mbus-password@FLOATING-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