Skip to content

Instantly share code, notes, and snippets.

@ozzozz
Created May 8, 2015
Embed
What would you like to do?
sample deployment manifest for CF and Diego on AWS
---
name: cf-diego
director_uuid: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX # <= 'bosh status --uuid' command output
releases:
- name: cf
version: 207
- name: diego
version: 0.1099.0
networks:
- name: cf1
type: manual
subnets:
- range: 172.31.0.0/20
gateway: 172.31.0.1
dns: [172.31.0.2]
reserved: ["172.31.0.2 - 172.31.0.9"]
static: ["172.31.0.10 - 172.31.0.99"]
cloud_properties:
subnet: subnet-XXXXXXXX # <= AWS VPC subnet id
security_groups:
- cf # <= TCP80(HTTP),TCP443(HTTPS),TCP4443(loggregator websocket): 0.0.0.0/0
- bosh # <= all ports open: bosh security group internal
- name: elastic
type: vip
cloud_properties: {}
compilation:
workers: 2
network: cf1
reuse_compilation_vms: true
cloud_properties:
instance_type: c3.large
availability_zone: ap-northeast-1a
update:
canaries: 1
max_in_flight: 1
serial: false
canary_watch_time: 30000-600000
update_watch_time: 5000-600000
resource_pools:
- name: small
size: 9
cloud_properties:
instance_type: c3.large
availability_zone: ap-northeast-1a
stemcell:
name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent
version: latest
network: cf1
- name: medium
size: 3
cloud_properties:
instance_type: c3.large
availability_zone: ap-northeast-1a
stemcell:
name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent
version: latest
network: cf1
- name: large
size: 0
cloud_properties:
instance_type: c3.large
availability_zone: ap-northeast-1a
stemcell:
name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent
version: latest
network: cf1
- name: runner
size: 2
cloud_properties:
instance_type: c3.xlarge
availability_zone: ap-northeast-1a
stemcell:
name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent
version: latest
network: cf1
- name: small_errand
cloud_properties:
instance_type: t2.small
availability_zone: ap-northeast-1a
stemcell:
name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent
version: latest
network: cf1
jobs:
- name: db
templates:
- name: postgres
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: cf1
static_ips: [172.31.0.10]
persistent_disk: 1024
update: {}
#- name: nfs
# templates:
# - name: debian_nfs_server
# release: cf
# - name: metron_agent
# release: cf
# instances: 1
# resource_pool: small
# networks:
# - name: cf1
# static_ips: [172.31.0.xxx]
# persistent_disk: 102400
# update: {}
- name: nats-etcd
templates:
- name: nats
release: cf
- name: nats_stream_forwarder
release: cf
- name: etcd
release: cf
- name: etcd_metrics_server
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: cf1
static_ips: [172.31.0.11]
properties:
networks:
apps: cf1
update: {}
- name: router
templates:
- name: gorouter
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: cf1
static_ips: [172.31.0.12]
properties:
dropsonde:
enabled: true
update: {}
- name: logg-ctl
templates:
- name: loggregator_trafficcontroller
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: cf1
properties:
traffic_controller:
zone: z1
update: {}
- name: logg-svr
templates:
- name: doppler
release: cf
- name: syslog_drain_binder
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: cf1
properties:
doppler:
zone: z1
update: {}
- name: hm
templates:
- name: hm9000
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: cf1
properties:
networks:
apps: cf1
update: {}
- name: uaa
templates:
- name: uaa
release: cf
# - name: login
# release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: cf1
properties:
networks:
apps: cf1
update: {}
- name: cc
templates:
- name: cloud_controller_ng
release: cf
- name: cloud_controller_worker
release: cf
- name: cloud_controller_clock
release: cf
- name: metron_agent
release: cf
- name: consul_agent
release: cf
# - name: nfs_mounter
# release: cf
instances: 1
resource_pool: medium
networks:
- name: cf1
persistent_disk: 102400
properties:
networks:
apps: cf1
consul:
agent:
services:
- cloud_controller_ng
update: {}
- name: haproxy
templates:
- name: haproxy
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: elastic
static_ips:
- 52.68.52.188 # <= *.cfdiego.nttlabs.info DNS A record
- name: cf1
default:
- gateway
- dns
properties:
ha_proxy:
# disable_http: false
# ssl_ciphers: null
ssl_pem: |
-----BEGIN CERTIFICATE-----
MIICDzCCAXgCCQDx2RDSMRa1fDANBgkqhkiG9w0BAQUFADBMMQswCQYDVQQGEwJK
UDEOMAwGA1UECAwFVG9reW8xDDAKBgNVBAoMA05UVDEfMB0GA1UEAwwWKi5jZmRp
ZWdvLm50dGxhYnMuaW5mbzAeFw0xNTA1MDgwNjA1MDdaFw0xNTA2MDcwNjA1MDda
MEwxCzAJBgNVBAYTAkpQMQ4wDAYDVQQIDAVUb2t5bzEMMAoGA1UECgwDTlRUMR8w
HQYDVQQDDBYqLmNmZGllZ28ubnR0bGFicy5pbmZvMIGfMA0GCSqGSIb3DQEBAQUA
A4GNADCBiQKBgQC8B/NNo6xfLe2aNo5WWKbWnxA59zASufWyq0KyINe14PEYWnUE
jJCk9IXR1ZBSatAcK2wPo6Ivtt/gEdm2j/f3N5/XbiLC4tsQe4do2n5Fc2bFoGh2
z5i2Iazo3V3QiiK744uaRoECcOwWxhcROyLAOoOnIIPkKvc/658kzBgvEwIDAQAB
MA0GCSqGSIb3DQEBBQUAA4GBAJdrlbdDytXnu6vHZRUx66KHL6jG0wwxVA9uUYIB
RKljsp8YK60KAMgrhpj+E1nmQbpTRkOU2cBLJ9mh9JHuwiMXDxsE9X9sZvinVCRt
wHcfZ8wNYe5vo1aZsZ7sOKVlp47B1Y0viqE71b5ehKxSp8DcwUFrSlmaQUhs7E9r
YUUV
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQC8B/NNo6xfLe2aNo5WWKbWnxA59zASufWyq0KyINe14PEYWnUE
jJCk9IXR1ZBSatAcK2wPo6Ivtt/gEdm2j/f3N5/XbiLC4tsQe4do2n5Fc2bFoGh2
z5i2Iazo3V3QiiK744uaRoECcOwWxhcROyLAOoOnIIPkKvc/658kzBgvEwIDAQAB
AoGBALM6jNMzsUlkWPhHCnQJurYXFnt6QCuJcEanckKihZsLWCSTjLkSV4m0vp3e
CNxWjhpb1XwuyJjcoxdNTI31OzCZADDHPGcnK2poA/NXWPKZlft32sQYhip6EH2U
X/9kyf3uzaPjscEjlUgo/iFKf6Ctas5uGjAQr4fpJ/Sl3LLhAkEA9CatqdvkJrQh
MFMHaCDqO9Gqe+5Zfq+PRGHKlwaz+y1U8/T6FZmjO9+1jI7Xpw4HKFhVlYvvcsqX
vdF5rpCbAwJBAMUoChZQijG+KHFzOPcUCeO0o+HYnHsdhUQJDBFYpB0xCKDy6inK
g6VCS2fa59lK/x5TetjoEj8L5AciiQ6uVrECQBmq/1L+RSw0f9C+yeaOn1GOp2fE
FTCWcG92AICEOePMTkQfmzMuJdUjncibM9ziQqphLw472f6tgep43VwW49UCQQCK
YgAyiXV2VLKubuGdC0OlwDUHYLL091OC3ZbK1hzbIH+d+OLDUpH0fQPQcaYqrqlC
7/VaKgokloQHPgZVd6kBAkEA3F/A6ha8jjXKA7TXU4sPffB7qfF41EpygceRwr5M
1kCuGvVjAvYCU+URNCFhlWN5pLDlnaTcS7axewR24omyDw==
-----END RSA PRIVATE KEY-----
router:
servers:
z1:
- 172.31.0.12
update: {}
#- name: collector
# templates:
# - name: collector
# release: cf
# - name: metron_agent
# release: cf
# instances: 1
# resource_pool: small
# networks:
# - name: cf1
# update: {}
- name: dea
templates:
- name: dea_next
release: cf
- name: dea_logging_agent
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: runner
networks:
- name: cf1
properties:
dea_next:
zone: z1
update:
max_in_flight: 1
- name: acceptance_tests
templates:
- name: acceptance-tests
release: cf
lifecycle: errand
instances: 0
resource_pool: small_errand
networks:
- name: cf1
- name: smoke_tests
templates:
- name: smoke-tests
release: cf
lifecycle: errand
instances: 0
resource_pool: small_errand
networks:
- name: cf1
####diego-jobs
- name: bbs
templates:
- name: etcd
release: diego
- name: consul_agent
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: small
networks:
- name: cf1
static_ips: [172.31.0.13]
persistent_disk: 1024
properties:
consul:
agent:
mode: server
update: {}
- name: brain
templates:
- name: auctioneer
release: diego
- name: converger
release: diego
- name: runtime_metrics_server
release: diego
- name: consul_agent
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: medium
networks:
- name: cf1
update:
serial: true
- name: cell
templates:
- name: rep
release: diego
- name: executor
release: diego
- name: garden-linux
release: diego
- name: receptor
release: diego
- name: consul_agent
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: runner
networks:
- name: cf1
properties:
consul:
agent:
services:
- receptor
diego:
rep:
zone: z1
- name: cc-bridge
templates:
- name: stager
release: diego
- name: nsync
release: diego
- name: tps
release: diego
- name: file_server
release: diego
- name: route_emitter
release: diego
- name: consul_agent
release: cf
- name: metron_agent
release: cf
instances: 1
resource_pool: medium
networks:
- name: cf1
properties:
consul:
agent:
services:
- file_server
- nsync
- stager
- tps
properties:
### cf-properties
description: CF and Diego on AWS
support_address: https://nttlabs.info/
domain: cfdiego.nttlabs.info
system_domain: cfdiego.nttlabs.info
system_domain_organization: null
app_domains:
- cfdiego.nttlabs.info
request_timeout_in_seconds: 900
disk_quota_enabled: true
ssl:
skip_cert_verify: true
databases:
address: 172.31.0.10
databases:
- citext: true
name: ccdb
tag: cc
- citext: true
name: uaadb
tag: uaa
db_scheme: postgres
port: 5524
roles:
- name: ccadmin
password: c1oudc0w
tag: admin
- name: uaaadmin
password: c1oudc0w
tag: admin
ccdb:
address: 172.31.0.10
databases:
- name: ccdb
tag: cc
db_scheme: postgres
port: 5524
roles:
- name: ccadmin
password: c1oudc0w
tag: admin
uaadb:
address: 172.31.0.10
databases:
- name: uaadb
tag: uaa
db_scheme: postgresql
port: 5524
roles:
- name: uaaadmin
password: c1oudc0w
tag: admin
nats:
port: 4222
user: nats
password: c1oudc0w
address: 172.31.0.11
machines:
- 172.31.0.11
monitor_port: 0
debug: false
prof_port: 0
trace: false
etcd:
machines:
- 172.31.0.11
etcd_metrics_server:
nats:
machines:
- 172.31.0.11
port: 4222
username: nats
password: c1oudc0w
router:
cipher_suites: null
enable_ssl: null
requested_route_registration_interval_in_seconds: 20
secure_cookies: false
ssl_cert: null
ssl_key: null
status:
password: c1oudc0w
user: router
cc:
diego_docker: true
default_to_diego_backend: false
users_can_select_backend: true
development_mode: false
logging_level: debug
db_logging_level: debug2
srv_api_uri: https://api.cfdiego.nttlabs.info
external_host: api
external_protocol: https
client_max_body_size: 1536M
billing_event_writing_enabled: true
default_health_check_timeout: 60
maximum_health_check_timeout: 180
default_app_memory: 1024
default_app_disk_in_mb: 1024
maximum_app_disk_in_mb: 2048
min_cli_version: null
min_recommended_cli_version: null
quota_definitions:
default:
memory_limit: 10240
non_basic_services_allowed: true
total_routes: 1000
total_services: 100
default_quota_definition: default
thresholds:
api:
alert_if_above_mb: null
restart_if_above_mb: null
restart_if_consistently_above_mb: null
worker:
alert_if_above_mb: null
restart_if_above_mb: null
restart_if_consistently_above_mb: null
db_encryption_key: c1oudc0w
bulk_api_password: c1oudc0w
internal_api_user: internal_user
internal_api_password: c1oudc0w
service_name: cloud-controller-ng
staging_upload_user: stager
staging_upload_password: c1oudc0w
stacks:
- name: "lucid64"
description: "Ubuntu 10.04 on x86-64"
- name: "cflinuxfs2"
description: "Cloud Foundry Linux-based filesystem"
# - name: "windows2012R2"
# description: "Windows Server 2012 R2"
security_group_definitions:
- name: public_networks
rules:
- destination: 0.0.0.0-9.255.255.255
protocol: all
- destination: 11.0.0.0-169.253.255.255
protocol: all
- destination: 169.255.0.0-172.15.255.255
protocol: all
- destination: 172.32.0.0-192.167.255.255
protocol: all
- destination: 192.169.0.0-255.255.255.255
protocol: all
- name: dns
rules:
- destination: 0.0.0.0/0
ports: "53"
protocol: tcp
- destination: 0.0.0.0/0
ports: "53"
protocol: udp
default_running_security_groups:
- public_networks
- dns
default_staging_security_groups:
- public_networks
- dns
allowed_cors_domains: []
directories: null
default_fog_connection:
local_root: /var/vcap/data
buildpacks:
buildpack_directory_key: cc-buildpacks
cdn: null
fog_connection: null
packages:
app_package_directory_key: cc-packages
cdn: null
fog_connection: null
max_package_size: 1073741824
droplets:
droplet_directory_key: cc-droplets
cdn: null
fog_connection: null
resource_pool:
resource_directory_key: cc-resources
cdn: null
fog_connection: null
default_buildpacks:
- name: java_buildpack
package: buildpack_java
- name: ruby_buildpack
package: buildpack_ruby
- name: nodejs_buildpack
package: buildpack_nodejs
- name: go_buildpack
package: buildpack_go
- name: python_buildpack
package: buildpack_python
- name: php_buildpack
package: buildpack_php
install_buildpacks:
- name: java_buildpack
package: buildpack_java
- name: ruby_buildpack
package: buildpack_ruby
- name: nodejs_buildpack
package: buildpack_nodejs
- name: go_buildpack
package: buildpack_go
- name: python_buildpack
package: buildpack_python
- name: php_buildpack
package: buildpack_php
system_buildpacks:
- name: java_buildpack
package: buildpack_java
- name: ruby_buildpack
package: buildpack_ruby
- name: nodejs_buildpack
package: buildpack_nodejs
- name: go_buildpack
package: buildpack_go
- name: python_buildpack
package: buildpack_python
- name: php_buildpack
package: buildpack_php
user_buildpacks: []
disable_custom_buildpacks: false
jobs:
app_bits_packer:
timeout_in_seconds: null
app_events_cleanup:
timeout_in_seconds: null
app_usage_events_cleanup:
timeout_in_seconds: null
blobstore_delete:
timeout_in_seconds: null
blobstore_upload:
timeout_in_seconds: null
droplet_deletion:
timeout_in_seconds: null
droplet_upload:
timeout_in_seconds: null
generic:
number_of_workers: null
global:
timeout_in_seconds: 14400
model_deletion:
timeout_in_seconds: null
app_events:
cutoff_age_in_days: 31
app_usage_events:
cutoff_age_in_days: 31
audit_events:
cutoff_age_in_days: 31
broker_client_default_async_poll_interval_seconds: 60
broker_client_max_async_poll_attempts: 25
broker_client_timeout_seconds: 70
newrelic:
capture_params: false
developer_mode: false
environment_name: null
license_key: null
monitor_mode: false
transaction_tracer:
enabled: true
record_sql: obfuscated
dea_next:
advertise_interval_in_seconds: 5
allow_host_access: null
allow_networks: null
default_health_check_timeout: 60
deny_networks: null
directory_server_protocol: https
disk_mb: 32000
disk_overcommit_factor: 2
evacuation_bail_out_time_in_seconds: 600
heartbeat_interval_in_seconds: 10
instance_disk_inode_limit: 200000
kernel_network_tuning_enabled: true
logging_level: debug
memory_mb: 4096
memory_overcommit_factor: 3
rlimit_core: 0
staging_disk_inode_limit: 200000
staging_disk_limit_mb: 4096
staging_memory_limit_mb: 1024
hm9000:
url: https://hm9000.cfdiego.nttlabs.info
uaa:
admin:
client_secret: c1oudc0w
authentication:
policy:
countFailuresWithinSeconds: null
lockoutAfterFailures: null
lockoutPeriodSeconds: null
batch:
password: c1oudc0w
username: batchuser
catalina_opts: -Xmx768m -XX:MaxPermSize=256m
cc:
client_secret: c1oudc0w
token_secret: c1oudc0w
# login:
# client_secret: c1oudc0w
# client:
# autoapprove:
# - cf
clients:
cloud_controller_username_lookup:
authorities: scim.userids
authorized-grant-types: client_credentials
secret: c1oudc0w
doppler:
authorities: uaa.resource
override: true
secret: c1oudc0w
login:
secret: c1oudc0w
# authorities: oauth.login,scim.write,clients.read,notifications.write,critical_notifications.write,emails.write,scim.userids,password.write
# authorized-grant-types: authorization_code,client_credentials,refresh_token
# override: true
# redirect-uri: https://login.cfdiego.nttlabs.info
# scope: openid,oauth.approvals
notifications:
authorities: cloud_controller.admin,scim.read
authorized-grant-types: client_credentials
secret: c1oudc0w
issuer: https://uaa.cfdiego.nttlabs.info
# jwt:
# signing_key: c1oudc0w
# verification_key: c1oudc0w
ldap: null
no_ssl: true
restricted_ips_regex: 10\.\d{1,3}\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3}|169\.254\.\d{1,3}\.\d{1,3}|127\.\d{1,3}\.\d{1,3}\.\d{1,3}|172\.1[6-9]{1}\.\d{1,3}\.\d{1,3}|172\.2[0-9]{1}\.\d{1,3}\.\d{1,3}|172\.3[0-1]{1}\.\d{1,3}\.\d{1,3}
scim:
external_groups: null
userids_enabled: true
users:
- admin|XXXXXX|scim.write,scim.read,openid,cloud_controller.admin,clients.read,clients.write,doppler.firehose,notification_templates.admin
spring_profiles: null
url: https://uaa.cfdiego.nttlabs.info
# user: null
login:
enabled: false
# analytics:
# code: null
# domain: null
# asset_base_url: null
# brand: oss
# catalina_opts: -Xmx768m -XX:MaxPermSize=256m
# invitations_enabled: null
# links:
# home: https://console.cfdiego.nttlabs.info
# network: null
# passwd: https://console.cfdiego.nttlabs.info/password_resets/new
# signup: https://console.cfdiego.nttlabs.info/register
# signup-network: null
# messages: null
# notifications:
# url: null
# protocol: https
# restricted_ips_regex: 10\.\d{1,3}\.\d{1,3}\.\d{1,3}|192\.168\.\d{1,3}\.\d{1,3}|169\.254\.\d{1,3}\.\d{1,3}|127\.\d{1,3}\.\d{1,3}\.\d{1,3}|172\.1[6-9]{1}\.\d{1,3}\.\d{1,3}|172\.2[0-9]{1}\.\d{1,3}\.\d{1,3}|172\.3[0-1]{1}\.\d{1,3}\.\d{1,3}
# saml: null
# self_service_links_enabled: null
# signups_enabled: null
# smtp:
# host: null
# password: null
# port: null
# user: null
# spring_profiles: null
# tiles: null
# uaa_base: null
# uaa_certificate: null
# url: null
doppler:
blacklisted_syslog_ranges: null
debug: false
maxRetainedLogMessages: 100
doppler_endpoint:
shared_secret: c1oudc0w
dropsonde:
enabled: true
logger_endpoint:
# use_ssl: true
port: 4443
loggregator:
blacklisted_syslog_ranges: null
debug: false
maxRetainedLogMessages: 100
loggregator_endpoint:
shared_secret: c1oudc0w
metron_endpoint:
shared_secret: c1oudc0w
metron_agent:
zone: z1
syslog_daemon_config: null
collector: null
acceptance_tests: null
smoke_tests: null
# nfs_server:
# address: 172.31.0.xxx
# allow_from_entries:
# - [172.31.0.0/16]
# share: null
###diego-properties
consul:
domain: "consul"
agent:
servers:
lan:
- 172.31.0.13
diego:
ssl:
skip_cert_verify: true
### bbs
etcd:
machines:
- 172.31.0.13
# heartbeat_interval_in_milliseconds: 50
# election_timeout_in_milliseconds: 1000
# log_sync_timeout_in_seconds: 30
### brain
auctioneer:
etcd:
machines:
- 172.31.0.13
# listen_addr: "0.0.0.0:9016"
# debug_addr: "0.0.0.0:17001"
log_level: debug
receptor_task_handler_url: http://receptor.service.consul:1169
converger:
etcd:
machines:
- 172.31.0.13
# debug_addr: "0.0.0.0:17002"
# repeat_interval_in_seconds: 30
# kick_pending_task_duration_in_seconds: 30
# expire_completed_task_duration_in_seconds: 120
# expire_pending_task_duration_in_seconds: 1800
log_level: debug
receptor_task_handler_url: http://receptor.service.consul:1169
runtime_metrics_server:
etcd:
machines:
- 172.31.0.13
# debug_addr: "0.0.0.0:17010"
log_level: debug
diego_api_url: http://receptor.service.consul:8888
### cc-bridge & route-emitter
stager:
cc:
external_port: 9022
# basic_auth_username: internal_user
basic_auth_password: c1oudc0w
internal_service_hostname: cloud-controller-ng.service.consul
lifecycle_bundles:
- "buildpack/cflinuxfs2:buildpack_app_lifecycle/buildpack_app_lifecycle.tgz"
- "buildpack/lucid64:buildpack_app_lifecycle/buildpack_app_lifecycle.tgz"
## - "buildpack/windows2012R2:windows_app_lifecycle/windows_app_lifecycle.tgz"
- "docker:docker_app_lifecycle/docker_app_lifecycle.tgz"
# stager_url: http://stager.service.consul:8888
# diego_api_url: http://receptor.service.consul:8888
# debug_addr: "0.0.0.0:17011"
# docker_registry_url: null
# docker_staging_stack: cflinuxfs2
log_level: debug
nsync:
# diego_api_url: http://receptor.service.consul:8888
# nsync_url: http://nsync.service.consul:8787
lifecycle_bundles:
- "buildpack/cflinuxfs2:buildpack_app_lifecycle/buildpack_app_lifecycle.tgz"
- "buildpack/lucid64:buildpack_app_lifecycle/buildpack_app_lifecycle.tgz"
## - "buildpack/windows2012R2:windows_app_lifecycle/windows_app_lifecycle.tgz"
- "docker:docker_app_lifecycle/docker_app_lifecycle.tgz"
cc:
base_url: https://api.cfdiego.nttlabs.info
# basic_auth_username: internal_user
basic_auth_password: c1oudc0w
# polling_interval_in_seconds: 30
# bulk_batch_size: 500
# fetch_timeout_in_seconds: 30
# listener_debug_addr: "0.0.0.0:17006"
# bulker_debug_addr: "0.0.0.0:17007"
etcd:
machines:
- 172.31.0.13
log_level: debug
tps:
# diego_api_url: http://receptor.service.consul:8888
cc:
external_port: 9022
# basic_auth_username: internal_user
basic_auth_password: c1oudc0w
internal_service_hostname: cloud-controller-ng.service.consul
# listener:
# debug_addr: "0.0.0.0:17012"
# watcher:
# debug_addr: "0.0.0.0:17013"
# max_in_flight_requests: 200
log_level: debug
file_server:
# address: "0.0.0.0:8080"
# static_directory: "/var/vcap/jobs/file_server/packages/"
# debug_addr: "0.0.0.0:17005"
# cc:
# job_polling_interval_in_seconds: null
log_level: debug
route_emitter:
nats:
machines:
- 172.31.0.11
port: 4222
username: nats
password: c1oudc0w
# debug_addr: "0.0.0.0:17009"
# sync_interval_in_seconds: 60
# diego_api_url: http://receptor.service.consul:8888
log_level: debug
### cell
receptor:
# listen_addr: "0.0.0.0:8888"
# debug_addr: "0.0.0.0:17014"
# username: ""
# password: ""
register_with_router: true
domain_names:
- receptor.cfdiego.nttlabs.info
# cors_enabled: false
task_handler_url: http://receptor.service.consul:1169
etcd:
machines:
- 172.31.0.13
nats:
machines:
- 172.31.0.11
port: 4222
username: nats
password: c1oudc0w
log_level: debug
rep:
etcd:
machines:
- 172.31.0.13
# stack: lucid64
# executor:
# url: "http://127.0.0.1:1700"
# listen_addr: "0.0.0.0:1800"
# debug_addr: "0.0.0.0:17008"
# polling_interval_in_seconds: 30
# evacuation_polling_interval_in_seconds: 10
# evacuation_timeout_in_seconds: 600
# preloaded_rootfses:
# - cflinuxfs2:/var/vcap/packages/rootfs_cflinuxfs2
# - lucid64:/var/vcap/packages/rootfs_lucid64
# rootfs_providers:
# - docker
receptor_task_handler_url: http://receptor.service.consul:1169
log_level: debug
executor:
# listen_addr: "0.0.0.0:1700"
# debug_addr: "0.0.0.0:17004"
# memory_capacity_mb: auto
# disk_capacity_mb: auto
# container_max_cpu_shares: 1024
# container_inode_limit: 200000
# cache_path: "/var/vcap/data/executor_cache"
# max_cache_size_in_bytes: 10000000000
# garden:
# address: "/var/vcap/data/garden-linux/garden-linux.sock"
# network: unix
# allow_privileged: false
# export_network_env_vars: true
# drain_timeout_in_seconds: 900
# healthy_monitoring_interval_in_seconds: 30
# unhealthy_monitoring_interval_in_seconds: 0.5
log_level: debug
# garden-linux:
# kernel_network_tuning_enabled: true
# listen_network: unix
# listen_address: "/var/vcap/data/garden-linux/garden-linux.sock"
# disk_quota_enabled: true
# deny_networks:
# - 0.0.0.0/0
# allow_networks: []
# debug_addr: "0.0.0.0:17015"
# insecure_docker_registry_list: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment