Skip to content

cni-flannel job from cf-networking/0.14.0

Github source: 356a6f31 or master branch

Properties

cni-flannel

cni_datastore_path

File where the wrapper plugin will store container info

Default
/var/vcap/data/container-metadata/store.json

cni_iptables_lock_file

File that will be used to synchronize access to iptables

Default
/var/vcap/data/garden-cni/iptables.lock

etcd_ca_cert

PEM encoded CA cert

Default
""

etcd_client_cert

PEM encoded client cert

Default
""

etcd_client_key

PEM encoded client key

Default
""

etcd_endpoints

List of etcd endpoints

Default
[]

flannel

Backend
GBP

Enable GBP on VXLAN devices

Default
true
Port

UDP port to use for VXLAN Tunnel Endpoints

Default
8472
Type

Flannel backend to use

Default
vxlan
VNI

VXLAN Virtual Network Identifier to use

Default
1
Network

CIDR block for overlay network. Should be /16

Default
10.255.0.0/16
data_dir

Directory that flannel uses for storing internal CNI plugin data

Default
/var/vcap/data/flannel/data
etcd
require_ssl

Enable ssl for communication between flannel and etcd

Default
true
subnet_file

File that flannel writes out the subnet environment

Default
/var/vcap/data/flannel/subnet.env

flannel-watchdog

config

bridge_name

Name of cni bridge on host

Default
cni-flannel0
flannel_subnet_file

File that flannel writes out the subnet environment

Default
/var/vcap/data/flannel/subnet.env

netman

disable

Disable container to container networking

Default
false

Templates

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

  • bin/flannel-watchdog_as_vcap (from flannel-watchdog_as_vcap.erb)
  • bin/flannel-watchdog_ctl (from flannel-watchdog_ctl.erb)
  • bin/flanneld_ctl (from flanneld_ctl.erb)
  • bin/pre-start (from pre-start.erb)
  • config/certs/etcd/ca.crt (from etcd_ca.crt.erb)
  • config/certs/etcd/client.crt (from etcd_client.crt.erb)
  • config/certs/etcd/client.key (from etcd_client.key.erb)
  • config/cni/30-cni-wrapper-plugin.conf (from 30-cni-wrapper-plugin.conf.erb)
  • config/flannel-watchdog.json (from flannel-watchdog.json.erb)

Packages

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