Skip to content

garden-cni job from netman/0.3.0

Github source: 252bfc46 or master branch

Properties

garden-cni

bind_mount_dir

The CNI adapter will bind-mount network namespaces in this directory

Default
/var/vcap/data/garden-cni/container-netns

cni_config_dir

Directory to store CNI config files. Other jobs may write files into here.

cni_plugin_dir

Directory containing CNI plugins.

overlay_network

IP range used by the container network

Default
10.255.0.0/16

start_port

Starting value for allocating host ports to containers

Default
60000

state_file

Path to file that will hold the state persisted by the external networker binary

Default
/var/vcap/data/garden-cni/external-networker-state.json

total_ports

Total number of host ports that may be allocated to containers

Default
5000

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-cni/ directory (learn more).

  • config/adapter.json (from adapter.json.erb)
  • config/cni/30-bridge.conf (from 30-bridge.conf.erb)

Packages

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