Last active
December 1, 2017 07:11
-
-
Save ly798/624c964dffcbd86d4f9fa01a7d5c4dba to your computer and use it in GitHub Desktop.
cf-config
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=261.4 | |
sha1: 4da9cedbcc8fbf11378ef439fb89de08300ad091 | |
- name: bosh-openstack-cpi | |
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=35 | |
sha1: 314b040cb0df72651174d262892aa8c4d75f9031 | |
resource_pools: | |
- name: vms | |
network: private | |
stemcell: | |
url: http://s3.amazonaws.com/bosh-core-stemcells/openstack/bosh-stemcell-3363.15-openstack-kvm-ubuntu-trusty-go_agent-raw.tgz | |
sha1: a6bb29321a6c2382e42f41753512878501dbe900 | |
cloud_properties: | |
instance_type: m1.medium | |
env: | |
bosh: | |
password: $6$DNQkY1v5PjFqj$5VAECTjF2n9zZ39C6xq6bUgW61nXLYCIh79.t76CkmNDJWqDA9rQBjBcUwJjk/fOh1Q6d0w757zfUEPLmfYye2 | |
disk_pools: | |
- name: disks | |
disk_size: 50_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: a4a84dd4-502a-41ec-bea2-042cf3e2676e} # <--- # 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.150] # <--- Replace with a private IP | |
default: [dns, gateway] | |
- name: public | |
static_ips: [192.168.21.228] # <--- Replace with a floating IP | |
properties: | |
nats: | |
address: 127.0.0.1 | |
user: nats | |
password: nats-password # <--- Uncomment & change | |
postgres: &db | |
listen_address: 127.0.0.1 | |
host: 127.0.0.1 | |
user: postgres | |
password: postgres-password # <--- Uncomment & change | |
database: bosh | |
adapter: postgres | |
registry: | |
address: 10.0.0.150 # <--- Replace with a private IP | |
host: 10.0.0.150 # <--- Replace with a private IP | |
db: *db | |
http: | |
user: admin | |
password: admin # <--- Uncomment & change | |
port: 25777 | |
username: admin | |
password: admin # <--- Uncomment & change | |
port: 25777 | |
endpoint: http://admin:admin@10.0.0.150:25777 | |
blobstore: | |
address: 10.0.0.150 # <--- Replace with a private IP | |
port: 25250 | |
provider: dav | |
director: | |
user: admin | |
password: admin # <--- Uncomment & change | |
agent: | |
user: agent | |
password: agent-password # <--- Uncomment & change | |
director: | |
debug: | |
keep_unreachable_vms: true | |
address: 127.0.0.1 | |
name: my-bosh | |
db: *db | |
cpi_job: openstack_cpi | |
max_threads: 3 | |
generate_vm_passwords: true | |
user_management: | |
provider: local | |
local: | |
users: | |
- {name: admin, password: admin} # <--- Uncomment & change | |
- {name: hm, password: hm-password} # <--- Uncomment & change | |
hm: | |
director_account: | |
user: admin | |
password: admin # <--- Uncomment & change | |
resurrector_enabled: true | |
openstack: &openstack | |
human_readable_vm_names: true | |
auth_url: http://192.168.211.100:5000/v3 # <--- Replace with OpenStack Identity API endpoint | |
project: admin # <--- Replace with OpenStack project name | |
domain: default # <--- Replace with OpenStack domain name | |
username: admin # <--- Replace with OpenStack username | |
api_key: CAk723w8VaEpOpCzSm0SHWg5LK8LI4bEu0sT3o1H # <--- Replace with OpenStack password | |
default_key_name: bosh | |
default_security_groups: [bosh] | |
agent: {mbus: "nats://nats:nats-password@10.0.0.150: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: 192.168.211.228 # <--- Replace with a floating IP | |
port: 22 | |
user: vcap | |
private_key: ./bosh.pem # Path relative to this manifest file | |
mbus: "https://mbus:mbus-password@192.168.211.228:6868" # <--- Uncomment & change | |
properties: | |
openstack: *openstack | |
agent: {mbus: "https://mbus:mbus-password@0.0.0.0: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