-
Notifications
You must be signed in to change notification settings - Fork 52
/
manager-inputs.yaml
527 lines (436 loc) · 13.9 KB
/
manager-inputs.yaml
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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
inputs:
#############################
# Version Label
#############################
manager_version:
default: 4.2.0-.dev1
#############################
# Security Settings
#############################
ssl_enabled:
description: When enabled, the external REST communication will be performed over HTTPS
type: boolean
default: false
admin_username:
default: admin
admin_password:
description: Admin password. Will be generated during bootstrap if left empty
default: ''
insecure_endpoints_disabled:
description: Disables insecure REST endpoints
type: boolean
default: true
#################################
# REST Configuration
#################################
rest_host_external_endpoint_type:
default: public_ip
rest_host_internal_endpoint_type:
default: private_ip
rest_service_gunicorn_worker_count:
description: |
The number of worker processes for handling requests.
If the default value (0) is set, then min((2 * cpu_count + 1 processes), 12) will be used.
type: integer
default: 0
rest_service_gunicorn_max_requests:
description: |
The maximum number of requests a worker will process before restarting.
If this is set to zero then the automatic worker restarts are disabled.
type: integer
default: 1000
rest_service_log_level:
description: |
Logging level for the REST service. Defaults to 'INFO', as 'DEBUG' may end up
logging sensitive information.
type: string
default: INFO
rest_service_log_file_size:
description: |
The size, in MB, that the REST service log file may grow to before it's rotated.
type: integer
default: 100
rest_service_log_files_backup_count:
description: |
Number of historical log files to keep when rotating the REST service logs.
type: integer
default: 20
rest_service_min_available_memory_mb:
description: |
Minimum available memory for running list query on Manager host in MB.
type: integer
default: 256
#############################
# Bootstrap Validations
#############################
ignore_bootstrap_validations:
description: >
While validations will be performed, they will be ignored.
type: string
default: false
minimum_required_total_physical_memory_in_mb:
description: Minimum required physical memory on Manager host in MB.
type: integer
default: 3792
minimum_required_available_disk_space_in_gb:
description: Minimum required disk space on Manager host in GB.
type: integer
default: 5
#############################
# Execute Before Bootstrap
#############################
execute_before_bootstrap:
description: >
A list of commands or scripts to execute before bootstrapping.
default: []
#############################
# Manager Resources Package
#############################
manager_resources_package:
description: A URL to a tar files containing all of the manager's resources
type: string
default: ''
manager_resources_package_checksum_file:
description: >
A URL to the Manager Resources Package md5 checksum file.
This defaults to an empty string, meaning that
type: string
default: ''
skip_checksum_validation:
description: Whether to skip md5 checksum validation or not
type: boolean
default: true
#############################
# Agent Packages
#############################
# Nginx, being the fileserver, also serves agent packages.
# The key names of the agents must be in the format: distro_release_agent
# as the key is what's used to name the file, which later allows our
# agent installer to identify it for your distro and release automatically.
agent_package_urls:
default:
ubuntu_trusty_agent: Ubuntu-trusty-agent_*.tar.gz
ubuntu_precise_agent: Ubuntu-precise-agent_*.tar.gz
centos_7x_agent: centos-Core-agent_*.tar.gz
centos_6x_agent: centos-Final-agent_*.tar.gz
redhat_7x_agent: redhat-Maipo-agent_*.tar.gz
redhat_6x_agent: redhat-Santiago-agent_*.tar.gz
cloudify_windows_agent: cloudify-windows-agent_*.exe
#############################
# Cloudify Modules
#############################
rest_service_rpm_source_url:
type: string
default: cloudify-rest-service-*.x86_64.rpm
management_worker_rpm_source_url:
type: string
default: cloudify-management-worker-*.x86_64.rpm
amqpinflux_rpm_source_url:
type: string
default: cloudify-amqp-influx-*.x86_64.rpm
cloudify_resources_url:
type: string
default: cloudify-manager-*.tar.gz
stage_source_url:
type: string
default: cloudify-stage-*.tgz
composer_source_url:
type: string
default: cloudify-blueprint-composer-*.tgz
# This is a Cloudify specific redistribution of Grafana.
grafana_source_url:
type: string
default: grafana-1.9.0.tgz
#############################
# External Components
#############################
pip_source_rpm_url:
type: string
default: python-pip-7.1.0-1.el7.noarch.rpm
java_source_url:
type: string
default: jre1.8.0_45-1.8.0_45-fcs.x86_64.rpm
erlang_source_url:
type: string
default: erlang-17.4-1.el6.x86_64.rpm
rabbitmq_source_url:
type: string
default: rabbitmq-server-3.5.3-1.noarch.rpm
libxslt_rpm_url:
type: string
default: libxslt-1.1.28-5.el7.x86_64.rpm
postgresql95_rpm_url:
type: string
default: postgresql95-9.5.3-2PGDG.rhel7.x86_64.rpm
postgresql95_contrib_rpm_url:
type: string
default: postgresql95-contrib-9.5.3-2PGDG.rhel7.x86_64.rpm
postgresql95_libs_rpm_url:
type: string
default: postgresql95-libs-9.5.3-2PGDG.rhel7.x86_64.rpm
postgresql95_server_rpm_url:
type: string
default: postgresql95-server-9.5.3-2PGDG.rhel7.x86_64.rpm
postgresql95_devel_rpm_url:
type: string
default: postgresql95-devel-9.5.3-2PGDG.rhel7.x86_64.rpm
postgresql_jdbc_driver_url:
type: string
default: postgresql-9.4.1212.jar
python_psycopg2_rpm_url:
type: string
default: python-psycopg2-2.5.1-3.el7.x86_64.rpm
logstash_source_url:
type: string
default: logstash-1.5.0-1.noarch.rpm
logstash_filter_json_encode_plugin_url:
description: logstash-filter-json_encode plugin location
type: string
default: logstash-filter-json_encode-0.1.5.gem
logstash_output_jdbc_plugin_url:
description: logstash-output-jdbc plugin location
type: string
default: logstash-output-jdbc-0.2.10.gem
nginx_source_url:
type: string
default: nginx-1.12.0-1.el7.ngx.x86_64.rpm
influxdb_source_url:
type: string
default: influxdb-0.8.8-1.x86_64.rpm
langohr_source_url:
type: string
default: langohr.jar
daemonize_source_url:
type: string
default: daemonize-1.7.3-7.el7.x86_64.rpm
riemann_source_url:
type: string
default: riemann-0.2.6-1.noarch.rpm
nodejs_source_url:
type: string
default: node-v4.4.5-linux-x64.tar.gz
#############################
# Consul Inputs
#############################
consul_package_url:
type: string
default: consul_0.7.2_linux_amd64.zip
#############################
# Syncthing Inputs
#############################
syncthing_package_url:
type: string
default: syncthing-linux-amd64-v0.14.5.tar.gz
#############################
# RabbitMQ Inputs
#############################
rabbitmq_events_queue_message_ttl:
description: >
Sets the number of milliseconds to wait before a message expires
in the events queue.
Not used if an external endpoint is used.
type: integer
default: 60000
rabbitmq_logs_queue_message_ttl:
description: >
Sets the number of milliseconds to wait before a message expires
in the logs queue.
Not used if an external endpoint is used.
type: integer
default: 60000
rabbitmq_metrics_queue_message_ttl:
description: >
Sets the number of milliseconds to wait before a message expires
in the metrics queues.
Not used if an external endpoint is used.
type: integer
default: 60000
rabbitmq_username:
description: >
Sets the username to use for clients such as celery to connect to the rabbitmq broker.
It is recommended that you set both the username and password to something reasonably secure.
type: string
default: cloudify
rabbitmq_password:
description: >
Sets the password to use for clients such as celery to connect to the rabbitmq broker.
It is recommended that you set both the username and password to something reasonably secure.
type: string
default: c10udify
# note that for each of the queue length limit properties, new messages
# will be queued in RabbitMQ and old messages will be deleted once the
# limit is reached!
# https://www.rabbitmq.com/maxlength.html
rabbitmq_events_queue_length_limit:
description: >
Sets the number of messages the events queue can hold.
Note this is NOT the message byte length!
Not used if an external endpoint is used.
type: integer
default: 1000000
rabbitmq_logs_queue_length_limit:
description: >
Sets the number of messages the logs queue can hold.
Note this is NOT the message byte length!
Not used if an external endpoint is used.
type: integer
default: 1000000
rabbitmq_metrics_queue_length_limit:
description: >
Sets the number of messages the metrics queues can hold.
This applies to both the queue that amqp-influx pulls from and
the ones Riemann pulls from.
Note this is NOT the message byte length!
Not used if an external endpoint is used.
type: integer
default: 1000000
rabbitmq_fd_limit:
description: >
Sets the File Descriptor limit for the rabbitmq user.
Not used if an external endpoint is used.
type: integer
default: 102400
#############################
# PostgreSQL Inputs
#############################
postgresql_db_name:
description: postgresql default db name
type: string
default: 'cloudify_db'
postgresql_host:
description: postgresql default host
type: string
default: 'localhost'
postgresql_username:
description: postgresql default username
type: string
default: 'cloudify'
postgresql_password:
description: postgresql default password
type: string
default: 'cloudify'
#############################
# LDAP Inputs
#############################
ldap_server:
description: LDAP server
type: string
default: ''
ldap_username:
description: LDAP admin username
type: string
default: ''
ldap_password:
description: LDAP admin password
type: string
default: ''
ldap_domain:
description: LDAP Domain
type: string
default: ''
ldap_is_active_directory:
description: >
True if Active Directory will be used as the LDAP authenticator
type: boolean
default: true
ldap_dn_extra:
description: >
Any extra LDAP information (separated by the `;` sign. e.g. a=1;b=2)
type: string
default: ''
#############################
# InfluxDB Inputs
#############################
influxdb_endpoint_ip:
description: >
An IP Endpoint of your InfluxDB Cluster.
type: string
default: ''
#############################
# Management Worker Inputs
#############################
management_worker_log_level:
description: >
Sets the logging level to use for the management workers. This affects the logging performed
by the manager during the execution of management tasks, such as deployment creation
and deployment deletion.
NOTE: specifying "debug" will result in considerable amount of logging activity. Consider
using "info" (or a more restrictive level) for production environments.
type: string
default: debug
management_worker_max_workers:
description: >
Max number of celery workers.
type: integer
default: 100
management_worker_min_workers:
description: >
Min number of celery workers.
type: integer
default: 2
workflow_task_retries:
description: >
The number of times a failed task will be retried on recoverable error.
type: integer
default: 60
workflow_task_retry_interval:
description: >
The interval between retry attempts in seconds.
type: integer
default: 15
#############################
# Dev Inputs
#############################
# For development purposes, you can use these, which will override the modules
# supplied within the rpm.
# These should be pip installable tar.gz files.
pip_constraints:
type: string
description: |
Constraints (in standard `pip` constraints format) to pass on to `pip`
when installing overlays (such as `rest_service_source_url`, `dsl_parser_source_url`
and so on). Example:
requests==2.13.0
requests-toolbelt==0.7.1
default: ''
cli_source_url:
type: string
default: ''
rest_service_source_url:
type: string
default: ''
dsl_parser_source_url:
type: string
default: ''
rest_client_source_url:
type: string
default: ''
plugins_common_source_url:
type: string
default: ''
script_plugin_source_url:
type: string
default: ''
amqpinflux_source_url:
type: string
default: ''
agent_source_url:
type: string
default: ''
sanity_app_source_url:
type: string
default: cloudify-hello-world-example-*.tar.gz
###############################
# Images configuration
###############################
set_manager_ip_on_boot:
description: >
Sets whether the first time the manager's VM is booted from a Cloudify manager image
its private IP will be propagated to all relevant configuration files.
default: false
###############################
# Import Resolver Configuration
###############################
import_resolver_rules:
default:
- {'http://www.getcloudify.org/spec': 'file:///opt/manager/resources/spec'}