Skip to content

garden job from garden-linux/0.335.0

Github source: 1def9226 or master branch

Properties

garden

allow_host_access

A boolean stating whether or not containers started on this host should be able to reach this host.

Default
false

allow_networks

List of CIDR blocks to which containers will be allowed access (applied after deny).

Default
[]

debug_listen_address

tcp address on which to serve debug info

Default
0.0.0.0:17013

default_container_grace_time

duration after which to reap idle containers

Default
5m

default_container_rootfs

path to the rootfs to use when a container specifies no rootfs

Default
/var/vcap/packages/busybox

deny_networks

List of CIDR blocks to which containers will be denied access.

Default
[]

destroy_containers_on_start

destroy existing containers when the server starts up

Default
false

dns_servers

Override DNS servers to be used in containers; defaults to the same as the host

Default
[]

docker_registry_endpoint

URL pointing to the Docker registry to use to fetch Docker images. If unset, this will default to the Docker default.

dropsonde

destination

a URL that points at the Metron agent to which metrics are forwarded. By default, it matches with the default of Metron.

origin

identifier that will be used when reporting metrics to Dropsonde

graph_cleanup_threshold_in_mb

Total size of all filesystem layers downloaded from Docker registries before graph cleanup is activated. -1 disables graph cleanup.

Default
-1

http_proxy

http proxy that the Garden server process will use

https_proxy

https proxy that the Garden server process will use

insecure_docker_registry_list

list of IP:PORT tuples and CIDR subnet masks. Pulling from docker registries with self signed certificates will not be permitted if the registry’s address is not listed here.

Default
[]

listen_address

Garden server listening address.

Default
/var/vcap/data/garden/garden.sock

listen_network

Garden server connection mode (tcp or unix).

Default
unix

log_level

log level for the Garden server - can be debug, info, error or fatal

max_containers

Maximum number of containers that garden will have running at the same time. It is not recommended to set this larger than 250.

Default
250

network_mtu

Maximum network transmission unit length in bytes.

Default
1500

network_pool

A CIDR subnet mask specifying the range of subnets available to be assigned to containers.

Default
10.254.0.0/22

no_proxy

list of comma-separated hosts for which the http and https proxies will be skipped

persistent_image_list

List of Rootfs Paths (directories or docker URLs) which will never be deleted during graph cleanup

Default
[]

port_pool

size

An integer used to denote how many ports are avaliable for Net In calls. Uses the Garden default if not set.

start

An integer port number used to denote where ports should start being allocated for Net In calls. Uses the Garden default if not set.

tag

a string that is a server-wide identifier used for ‘global’ configuration

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/garden/ directory (learn more).

  • bin/auplink (from auplink)
  • bin/garden_ctl (from garden_ctl.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.