bits-service job from bits-service/1.5.0
Github source:
53b9e81
or
master branch
Properties¶
bits-service
¶
app_stash
¶
blobstore_type
¶The type of blobstore backing to use. Valid values: [‘fog’, ‘webdav’]
- Default
fog
directory_key
¶Directory (bucket) used to store app stash blobs.
- Default
app_stash
fog_connection
¶Fog connection properties.
max_body_size
¶Maximum body size for nginx
- Default
1536M
webdav_config
¶
ca_cert
¶The ca cert to use when communicating with webdav
password
¶The basic auth password that CC uses to connect to the admin endpoint on webdav
- Default
""
private_endpoint
¶The location of the webdav server eg: https://blobstore.internal
- Default
https://blobstore.service.cf.internal
public_endpoint
¶The location of the webdav server eg: https://blobstore.com
- Default
""
username
¶The basic auth user that CC uses to connect to the admin endpoint on webdav
- Default
""
buildpack_cache
¶
max_body_size
¶Maximum body size for nginx
- Default
1536M
buildpacks
¶
blobstore_type
¶The type of blobstore backing to use. Valid values: [‘fog’, ‘webdav’]
- Default
fog
directory_key
¶Directory (bucket) used to store buildpack blobs.
- Default
buildpacks
fog_connection
¶Fog connection properties.
max_body_size
¶Maximum body size for nginx
- Default
1536M
webdav_config
¶
ca_cert
¶The ca cert to use when communicating with webdav
password
¶The basic auth password that CC uses to connect to the admin endpoint on webdav
- Default
""
private_endpoint
¶The location of the webdav server eg: https://blobstore.internal
- Default
https://blobstore.service.cf.internal
public_endpoint
¶The location of the webdav server eg: https://blobstore.com
- Default
""
username
¶The basic auth user that CC uses to connect to the admin endpoint on webdav
- Default
""
cc_updates
¶
ca_cert
¶PEM-encoded CA certificate for secure, mutually authenticated TLS communication
cc_url
¶CloudController endpoint for sending package status updates
- Default
https://cloud-controller-ng.service.cf.internal:9023/internal/v4/
client_cert
¶PEM-encoded certificate for secure, mutually authenticated TLS communication
client_key
¶PEM-encoded key for secure, mutually authenticated TLS communication
droplets
¶
blobstore_type
¶The type of blobstore backing to use. Valid values: [‘fog’, ‘webdav’]
- Default
fog
directory_key
¶Directory (bucket) used to store droplet blobs.
- Default
cc-droplets
fog_connection
¶Fog connection properties.
max_body_size
¶Maximum body size for nginx
- Default
1536M
webdav_config
¶
ca_cert
¶The ca cert to use when communicating with webdav
password
¶The basic auth password that CC uses to connect to the admin endpoint on webdav
- Default
""
private_endpoint
¶The location of the webdav server eg: https://blobstore.internal
- Default
https://blobstore.service.cf.internal
public_endpoint
¶The location of the webdav server eg: https://blobstore.com
- Default
""
username
¶The basic auth user that CC uses to connect to the admin endpoint on webdav
- Default
""
logging
¶
level
¶Log level for bits-service. See Steno logger for details.
- Default
debug
max_retries
¶Number of times to retry if a write to the log file fails. See Steno logger for details.
- Default
1
max_body_size
¶Maximum body size for nginx
- Default
1536M
nginx
¶
access_log_destination
¶Nginx access log destination. Can be used to route access logs to a file, syslog, or a memory buffer.
- Default
/var/vcap/sys/log/nginx_bits/access.log
access_log_format
¶Nginx log format string to use when writing to the access log.
- Default
|+ $host - [$time_local] "$request" $status $bytes_sent "$http_referer" "$http_user_agent" $proxy_add_x_forwarded_for vcap_request_id:$upstream_http_x_vcap_request_id response_time:$upstream_response_time
error_log_destination
¶Nginx error log destination. Can be used to route error logs to a file, syslog, or a memory buffer.
- Default
/var/vcap/sys/log/nginx_bits/error.log
error_log_level
¶The lowest severity nginx log level to capture in the error log.
- Default
error
metrics_private_log_destination
¶Nginx metrics log destination.
- Default
/var/vcap/sys/log/nginx_bits/metrics_private.log
metrics_public_log_destination
¶Nginx metrics log destination.
- Default
/var/vcap/sys/log/nginx_bits/metrics_public.log
private_access_log_destination
¶Nginx access log destination. Can be used to route access logs to a file, syslog, or a memory buffer.
- Default
/var/vcap/sys/log/nginx_bits/private_access.log
private_error_log_destination
¶Nginx error log destination. Can be used to route error logs to a file, syslog, or a memory buffer.
- Default
/var/vcap/sys/log/nginx_bits/private_error.log
public_access_log_destination
¶Nginx access log destination. Can be used to route access logs to a file, syslog, or a memory buffer.
- Default
/var/vcap/sys/log/nginx_bits/public_access.log
public_error_log_destination
¶Nginx error log destination. Can be used to route error logs to a file, syslog, or a memory buffer.
- Default
/var/vcap/sys/log/nginx_bits/public_error.log
packages
¶
blobstore_type
¶The type of blobstore backing to use. Valid values: [‘fog’, ‘webdav’]
- Default
fog
directory_key
¶Directory (bucket) used to store package blobs.
- Default
cc-packages
fog_connection
¶Fog connection properties.
max_body_size
¶Maximum body size for nginx
- Default
1536M
webdav_config
¶
ca_cert
¶The ca cert to use when communicating with webdav
password
¶The basic auth password that CC uses to connect to the admin endpoint on webdav
- Default
""
private_endpoint
¶The location of the webdav server eg: https://blobstore.internal
- Default
https://blobstore.service.cf.internal
public_endpoint
¶The location of the webdav server eg: https://blobstore.com
- Default
""
username
¶The basic auth user that CC uses to connect to the admin endpoint on webdav
- Default
""
private_endpoint
¶Private endpoint for the Bits Service. Does not include URI scheme.
public_endpoint
¶Public endpoint for the Bits Service. Does not include URI scheme.
secret
¶The secret used for signing URLs
signing_users
¶List of Username and Password pairs that are allowed to sign urls. Cloud Controller must use one of these to access the /sign endpoint via HTTP Basic Auth. Example: signing_users: - username: user1 password: password1 - username: user2 password: password2
tls
¶
cert
¶The TLS server certificate
key
¶The TLS server private key
port
¶Post for https endpoint
- Default
443
request_timeout_in_seconds
¶
Timeout for requests in seconds.
- Default
900
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/bits-service/
directory
(learn more).
bin/bits-service_ctl
(frombits-service_ctl.erb
)bin/blobstore_waiter.sh
(fromblobstore_waiter.sh.erb
)bin/dns_health_check
(fromdns_health_check.erb
)bin/nginx_ctl
(fromnginx_ctl.erb
)bin/statsd_pipe
(fromstatsd_pipe
)bin/statsd_pipe_ctl
(fromstatsd_pipe_ctl.erb
)bin/syslog_utils.sh
(fromsyslog_utils.sh.erb
)config/bits_config.yml
(frombits_config.yml.erb
)config/certs/app_stash_ca_cert.pem
(fromapp_stash_ca_cert.pem.erb
)config/certs/buildpacks_ca_cert.pem
(frombuildpacks_ca_cert.pem.erb
)config/certs/droplets_ca_cert.pem
(fromdroplets_ca_cert.pem.erb
)config/certs/mutual_ca_cert.pem
(frommutual_ca_cert.pem.erb
)config/certs/mutual_client_cert.pem
(frommutual_client_cert.pem.erb
)config/certs/mutual_client_key.pem
(frommutual_client_key.pem.erb
)config/certs/nginx_bits_tls.crt
(fromnginx_bits_tls.crt.erb
)config/certs/nginx_bits_tls.key
(fromnginx_bits_tls.key.erb
)config/certs/packages_ca_cert.pem
(frompackages_ca_cert.pem.erb
)config/location_stub.conf
(fromlocation_stub.conf.erb
)config/nginx.conf
(fromnginx.conf.erb
)config/signing_users
(fromsigning_users.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.