Skip to content

redis job from logsearch-for-cloudfoundry/207.0.3

Github source: 55c0075 or master branch

Properties

redis

appendonly

Enable Redis Persistence through AOF file

Default
"yes"

maxmemory

Maximum amount of memory to be used by Redis in % of system RAM.

Default
30
Example
50

maxmemory-policy

How Redis will select what to remove when maxmemory is reached. Possible values are volatile-lru, allkeys-lru, volatile-random, allkeys-random, volatile-ttl, and noeviction.

Default
volatile-lru

port

Redis port of queue

Default
6379

Templates

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

  • bin/monit_debugger (from bin/monit_debugger)
  • bin/redis_ctl (from bin/redis_ctl)
  • config/redis.conf (from config/redis.conf.erb)
  • data/properties.sh (from data/properties.sh.erb)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/ctl_utils.sh)

Packages

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