-
Notifications
You must be signed in to change notification settings - Fork 3
/
redis-cluster-azs-tls.yml
130 lines (125 loc) · 3.28 KB
/
redis-cluster-azs-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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
---
name: ((deployment_name))
instance_groups:
- name: redis-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
release: ((release_name))
provides:
redis_conn: {as: master}
consumes:
redis_conn: {from: master}
slave_conn: {from: slave}
properties:
bind: ((redis_bind))
port: ((redis_port))
password: ((redis_password))
admin_password: ((redis_admin_password))
exporter_password: ((redis_exporter_password))
replica_password: ((redis_replica_password))
maxmemory: ((redis_maxmemory))
maxmemory_policy: ((redis_maxmemory_policy))
cluster_enabled: ((redis_cluster_enabled))
cluster_replicas_per_node: ((replicas_per_node_count))
tls: ((redis_tls))
tls_ca_certificate: ((redis_ca_certificate))
tls_ca_private_key: ((redis_ca_private_key))
tls_dh_length: ((redis_dh_length))
tls_replication: ((redis_tls_replication))
tls_cluster: ((redis_tls_cluster))
- name: redis_check
release: ((release_name))
consumes:
redis_conn: {from: master}
slave_conn: {from: slave}
- name: redis_exporter
release: ((release_name))
consumes:
redis_conn: {from: master}
properties:
skip_tls_verification: ((redis_exporter_skip_tls_verification))
- name: redis-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
release: ((release_name))
provides:
redis_conn: {as: slave}
consumes:
redis_conn: {from: master}
slave_conn: {from: slave}
properties:
tls_dh_length: ((redis_dh_length))
- name: redis_check
release: ((release_name))
consumes:
redis_conn: {from: master}
slave_conn: {from: slave}
- name: redis_exporter
release: ((release_name))
consumes:
redis_conn: {from: master}
properties:
skip_tls_verification: ((redis_exporter_skip_tls_verification))
- name: broker
azs: [((default_az))]
instances: 1
vm_type: ((default_vm_type))
stemcell: default
networks:
- name: ((default_network))
jobs:
- name: haveged
release: ((release_name))
- name: redis_broker-1.5
release: ((release_name))
consumes:
redis_conn: {from: master}
slave_conn: {from: slave}
properties:
bind: ((redis_bind))
password: ((redis_broker_password))
tls: ((redis_broker_tls))
- name: redis_broker_check-1.5
release: ((release_name))
variables:
- name: redis_password
type: password
- name: redis_admin_password
type: password
- name: redis_exporter_password
type: password
- name: redis_replica_password
type: password
- name: redis_broker_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: 8
update_watch_time: 60000-120000
serial: true