Skip to content

redis job from logsearch-for-cloudfoundry/210.5.2

Github source: 82f3f9d 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/pre_start (from bin/pre_start)
  • bin/redis.sh (from bin/redis)
  • config/bpm.yml (from config/bpm.yml.erb)
  • config/redis.conf (from config/redis.conf.erb)

Packages

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