Skip to content

redis job from redis/15.2.1

Github source: 7b7e188 or master branch

Properties

base_dir

Base dir for storing database files

Default
/var/vcap/store/redis

bind_static_ip

Specify this property if you would like the bind address of a given instance to be automatically set to its assigned static IP

Default
false

consul

service

name

Name for advertising/discovering this service over consul (defaults to deployment name)

health

disk

critical

Percentage of persistent disk full to trigger critial health alert

Default
98
warning

Percentage of persistent disk full to trigger warning health alert

Default
50

interval

Interval for consul to perform health checks

Default
20s

password

Password to access redis server

port

Port to listen for requests to redis server

Default
6379

redis

maxclients

Set the max number of connected clients at the same time.

Default
10000

replication

When set to false, master/slave replication will be disabled and all instances will run as standalone deployments.

Default
true

redis_save_intervals

save ; save points to the rdb snapshot after

Default
  - 900 1
  - 300 10
  - 60 10000

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/health_check (from bin/health_check)
  • bin/pre_start.sh (from bin/pre_start.sh)
  • 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.