-
Notifications
You must be signed in to change notification settings - Fork 3
/
redis-sentinel-shared-tls.yml
69 lines (64 loc) · 1.74 KB
/
redis-sentinel-shared-tls.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
name: ((deployment_name))
instance_groups:
- name: sentinel-master
azs: [((default_az))]
instances: ((master_node_count))
vm_type: ((default_vm_type))
stemcell: default
persistent_disk: ((persistent_disk_size))
networks:
- name: ((default_network))
jobs:
- name: haveged
release: ((release_name))
- name: redis_sentinel
release: ((release_name))
provides:
redis_sentinel_conn: {as: ((shared_sentinel_master)), shared: true}
consumes:
redis_sentinel_conn: {from: ((shared_sentinel_master))}
properties:
bind: ((redis_sentinel_bind))
port: ((redis_sentinel_port))
password: ((redis_sentinel_password))
tls: ((redis_sentinel_tls))
tls_ca_certificate: ((sentinel_ca_certificate))
tls_ca_private_key: ((sentinel_ca_private_key))
tls_dh_length: ((redis_dh_length))
tls_replication: ((redis_tls_replication))
- name: sentinel-slave
azs: [((default_az))]
instances: ((slave_node_count))
vm_type: ((default_vm_type))
stemcell: default
persistent_disk: ((persistent_disk_size))
networks:
- name: ((default_network))
jobs:
- name: haveged
release: ((release_name))
- name: redis_sentinel
release: ((release_name))
provides:
redis_sentinel_conn: {as: ((shared_sentinel_slave)), shared: true}
consumes:
redis_sentinel_conn: {from: ((shared_sentinel_master))}
properties:
tls_dh_length: ((redis_dh_length))
variables:
- name: redis_sentinel_password
type: password
stemcells:
- alias: default
os: ((stemcell_os))
version: "((stemcell_version))"
releases:
- name: ((release_name))
version: latest
update:
canaries: 2
canary_watch_time: 60000-120000
max_in_flight: 3
update_watch_time: 60000-120000
serial: false