Skip to content

dea_next job from cf/200

The DEA is responsible for running customer applications and maintaining associated routes as live. It also periodically advertises its capacity to the Cloud Controllers and accepts requests to start and stop applications.

Github source: 10ca7169 or master branch

Properties

dea_next

advertise_interval_in_seconds

frequency of staging & DEA advertisments in seconds.

Default
5

allow_networks

crash_lifetime_secs

Crashed app lifetime in seconds

Default
3600

default_health_check_timeout

Default timeout for application to start

Default
60

deny_networks

directory_server_protocol

The protocol to use when communicating with the directory server (“http” or “https”)

Default
https

disk_mb

Default
32000

disk_overcommit_factor

Default
1

evacuation_bail_out_time_in_seconds

Duration to wait before shutting down, in seconds.

Default
115

heartbeat_interval_in_seconds

frequency of heartbeats in seconds.

Default
10

instance_disk_inode_limit

Limit on inodes for an instance container

Default
200000

instance_max_cpu_share_limit

The maximum number of CPU shares that can be given to an app

Default
256

instance_memory_to_cpu_share_ratio

Controls the relationship between app memory and cpu shares. app_cpu_shares = app_memory / cpu_share_factor

Default
8

instance_min_cpu_share_limit

The minimum number of CPU shares that can be given to an app

Default
1

kernel_network_tuning_enabled

with latest kernel version, no kernel network tunings allowed with in warden cpi containers

Default
true

logging_level

Log level for DEA.

Default
debug

max_staging_duration

Default
900

memory_mb

Default
8000

memory_overcommit_factor

Default
1

mtu

Interface MTU size

Default
1500

rlimit_core

Maximum size of core file in bytes. 0 represents no core dump files can be created, and -1 represents no size limits.

Default
0

stacks

Default
- lucid64

staging_cpu_limit_shares

CPU limit in shares for staging tasks cgroup

Default
512

staging_disk_inode_limit

Limit on inodes for a staging container

Default
200000

staging_disk_limit_mb

Disk limit in mb for staging tasks

Default
4096

staging_memory_limit_mb

Memory limit in mb for staging tasks

Default
1024

streaming_timeout

Default
60

zone

The Availability Zone

Default
default

disk_quota_enabled

disk quota must be disabled to use warden-inside-warden with the warden cpi

Default
true

domain

DNS domain name for this Cloud Foundry deployment

metron_endpoint

host

The host used to emit messages to the Metron agent

Default
127.0.0.1

port

The port used to emit messages to the Metron agent

Default
3456

shared_secret

The key used to sign log messages

nats

machines

IP of each NATS cluster member.

password

password for NATS login

port

TCP port of NATS server

user

user name for NATS login

networks

apps

DEA network information.

router

requested_route_registration_interval_in_seconds

Interval at which the router requests routes to be registered.

Default
20

Templates

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

  • bin/dea_ctl (from dea_ctl.erb)
  • bin/dir_server_ctl (from dir_server_ctl.erb)
  • bin/drain (from deterministic_drain.rb)
  • bin/warden_ctl (from warden_ctl.erb)
  • config/dea.yml (from dea.yml.erb)
  • config/warden.yml (from warden.yml.erb)

Packages

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