forked from cloudfoundry/cf-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
use-metric-store.yml
251 lines (251 loc) · 7.25 KB
/
use-metric-store.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
- type: replace
path: /releases/name=metric-store?
value:
name: metric-store
sha1: 461120f3132596968737d9829fe55b35ce7d17d8
url: https://bosh.io/d/github.com/cloudfoundry/metric-store-release?v=1.5.3
version: 1.5.3
- type: replace
path: /instance_groups/name=metric-store?
value:
azs:
- z1
instances: 1
jobs:
- consumes:
metric-store:
from: metric-store
metric-store-cf-auth-proxy:
from: metric-store-cf-auth-proxy
metric-store-nozzle:
from: metric-store-nozzle
name: metric-store
properties:
metric_store_internode:
tls:
ca_cert: ((metric_store_internode.ca))
cert: ((metric_store_internode.certificate))
key: ((metric_store_internode.private_key))
metric_store_metrics_client:
tls:
ca_cert: ((metric_store_metrics_client.ca))
cert: ((metric_store_metrics_client.certificate))
key: ((metric_store_metrics_client.private_key))
metric_store_metrics_server:
tls:
ca_cert: ((metric_store_metrics_server.ca))
cert: ((metric_store_metrics_server.certificate))
key: ((metric_store_metrics_server.private_key))
metric_store_server:
tls:
ca_cert: ((metric_store_server.ca))
cert: ((metric_store_server.certificate))
key: ((metric_store_server.private_key))
tls:
ca_cert: ((metric_store.ca))
cert: ((metric_store.certificate))
key: ((metric_store.private_key))
provides:
metric-store:
as: metric-store
shared: true
release: metric-store
- consumes:
metric-store:
from: metric-store
metric-store-nozzle:
from: metric-store-nozzle
reverse_log_proxy:
deployment: cf
from: reverse_log_proxy
name: metric-store-nozzle
properties:
logs_provider:
tls:
ca_cert: ((metric_store_to_logs_provider.ca))
cert: ((metric_store_to_logs_provider.certificate))
key: ((metric_store_to_logs_provider.private_key))
metric_store_client:
tls:
ca_cert: ((nozzle_to_metric_store_client.ca))
cert: ((nozzle_to_metric_store_client.certificate))
key: ((nozzle_to_metric_store_client.private_key))
metric_store_metrics:
tls:
ca_cert: ((metric_store_metrics_server.ca))
cert: ((metric_store_metrics_server.certificate))
key: ((metric_store_metrics_server.private_key))
provides:
metric-store-nozzle:
as: metric-store-nozzle
release: metric-store
- name: route_registrar
properties:
route_registrar:
routes:
- name: metric-store-reverse-proxy
port: 8083
registration_interval: 20s
server_cert_domain_san: metric-store.((system_domain))
tls_port: 8083
uris:
- metric-store.((system_domain))
- '*.metric-store.((system_domain))'
release: routing
- consumes:
cloud_controller:
deployment: cf
from: cloud_controller
metric-store:
from: metric-store
metric-store-nozzle:
from: metric-store-nozzle
name: metric-store-cf-auth-proxy
properties:
cc:
ca_cert: ((cc_tls.ca))
common_name: cloud-controller-ng.service.cf.internal
external_cert: ((metricstore_ssl.certificate))
external_key: ((metricstore_ssl.private_key))
metric_store_client:
tls:
cert: ((metric_store.certificate))
key: ((metric_store.private_key))
metric_store_metrics:
tls:
ca_cert: ((metric_store_metrics_server.ca))
cert: ((metric_store_metrics_server.certificate))
key: ((metric_store_metrics_server.private_key))
proxy_ca_cert: ((metric_store.ca))
proxy_port: 8083
uaa:
ca_cert: ((uaa_ssl.ca))
client_id: doppler
client_secret: ((uaa_clients_doppler_secret))
internal_addr: https://uaa.service.cf.internal:8443
provides:
metric-store-cf-auth-proxy:
as: metric-store-cf-auth-proxy
release: metric-store
name: metric-store
networks:
- name: default
persistent_disk_type: 5GB
stemcell: default
vm_type: minimal
- type: replace
path: /variables/name=metric_store_to_logs_provider?
value:
name: metric_store_to_logs_provider
options:
alternative_names:
- metric-store
ca: loggregator_ca
common_name: metric-store
extended_key_usage:
- client_auth
- server_auth
type: certificate
- type: replace
path: /variables/name=metric_store_ca?
value:
name: metric_store_ca
options:
common_name: metric-store
is_ca: true
type: certificate
- type: replace
path: /variables/name=metric_store?
value:
name: metric_store
options:
alternative_names:
- metric-store
- localhost
ca: metric_store_ca
common_name: metric-store
extended_key_usage:
- client_auth
- server_auth
type: certificate
- type: replace
path: /variables/name=metric_store_server?
value:
name: metric_store_server
options:
alternative_names:
- metric-store
ca: metric_store_ca
common_name: metric-store
extended_key_usage:
- server_auth
type: certificate
- type: replace
path: /variables/name=nozzle_to_metric_store_client?
value:
name: nozzle_to_metric_store_client
options:
alternative_names:
- metric-store
ca: metric_store_ca
common_name: metric-store
extended_key_usage:
- client_auth
type: certificate
- type: replace
path: /variables/name=metricstore_ssl?
value:
name: metricstore_ssl
options:
alternative_names:
- metric-store.((system_domain))
- '*.metric-store.((system_domain))'
ca: service_cf_internal_ca
common_name: metric-store
type: certificate
- type: replace
path: /variables/name=metric_store_internode?
value:
name: metric_store_internode
options:
alternative_names:
- metric-store
ca: metric_store_ca
common_name: metric-store
extended_key_usage:
- server_auth
- client_auth
type: certificate
- type: replace
path: /variables/name=metric_store_proxy_tls?
value:
name: metric_store_proxy_tls
options:
alternative_names:
- localhost
ca: metric_store_ca
common_name: localhost
type: certificate
update_mode: converge
- type: replace
path: /variables/name=metric_store_metrics_server?
value:
name: metric_store_metrics_server
options:
alternative_names:
- metric-store
ca: metric_scraper_ca
common_name: metric-store
type: certificate
update_mode: converge
- type: replace
path: /variables/name=metric_store_metrics_client?
value:
name: metric_store_metrics_client
options:
alternative_names:
- metric-store-client
ca: metric_scraper_ca
common_name: metric-store-client
type: certificate
update_mode: converge