-
Notifications
You must be signed in to change notification settings - Fork 1
/
inputs.yml
246 lines (225 loc) · 11.3 KB
/
inputs.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
# Define if the installation should be done in offline mode (no access to internet from the hosts)
offline: false
# optionnal domain to add to host names in private communications
#private_domain_name: alien4cloud.priv
# this DNS resolver will be added to Nginx config
#dns_resolver: 172.31.0.2
# A4C
a4c_user: a4c
a4c_install_dir: /opt/a4c
a4c_working_dir: /opt/a4c/workdir
# This is the work folder for a4c, should be a mount point (shared volume) in case of HA
#a4c_working_dir: /mnt/a4c/runtime
# a4c_log_dir: /var/log/a4c
# a4c_protocol: https
a4c_tls: false
a4c_port: 8088
a4c_front_protocol: http
# a4c_front_location_path: /a4c
# a4c_url_path: /a4c
# WARNING : use 80 for http and 443 for SSL
# We have issues running correctly A4C behind a proxy
a4c_front_port: 80
a4c_admin_usr: admin
a4c_admin_pwd: admin
a4c_saml_enabled: false
a4c_jvm_jmx_remote_enabled: false
# a4c_saml_config_url: https://keycloak/auth/realms/artemis/protocol/saml/descriptor
data_dir: "../"
consul_user: consul
consul_install_dir: /opt/consul
consul_http_port: 8500
# If true the Gossip protocol will we encrypted
consul_gossip_encrypt: true
# If Gossip is encrypted, the path where the key will be found
# The key is generated on a consul node in the role roles/consul/configure-consul-gossip-keygen
# It's copied in this local folder and used on all nodes
consul_gossip_encrypt_key_path: certificates/consul_encrypt_key
# If true, consul http channels will be secured using TLS (certificates nedded)
consul_tls: false
a4cfront_consul_tls: false
consul_use_localhost_as_client_addr: false
a4cfront_consul_use_localhost_as_client_addr: false
yorcfront_consul_use_localhost_as_client_addr: false
consul_front_protocol: https
yorc_user: yorc
yorc_install_dir: /opt/yorc
# This is the work folder for yorc, should be a mount point (shared volume) in case of HA
#yorc_working_dir: /mnt/yorc/work
# If true yorc http server will be secured using TLS (certificates nedded)
yorc_tls: false
yorc_debug: 0
yorc_remote_ansible_tmp: /tmp/ansible/remote
yorc_local_ansible_tmp: /tmp/ansible/local
# yorc_migrate_data_from_consul: true
# yorc_use_upgrade_tool: true
discriminator: ART_YORK_
jmeter_user: jmeter
jmeter_install_dir: /opt/jmeter
# Inidicates of TLS should be activated for ES cluster
elasticsearch_tls: false
# ES data directory if not default
# elasticsearch_home: /var/lib/elasticsearch
# ES ports if not default
# elasticsearch_http_port: 9200
# elasticsearch_transport_port: 9300
# SSL TLS
# The local path where certificates can be found for SSL configs on nodes
certificates_path: certificates/
ca_passphrase: dontChangeIt
ssl_keystore_source_location: /var/folders/2d/3krvvvn538ggxjx8mtvwmj_c0000gn/T/tmp.vaCqIRYH/server-keystore.p12
ssl_src_keystore_password: changeit
ssl_dest_keystore_password: changeit
ssl_key_password: changeit
# ssl_ca_cert_name: "artemis_ca.pem.txt"
# ssl_host_key_suffix: ".technique.artemis.pem.txt"
# ssl_host_cert_suffix: ".technique.artemis.crt.txt"
elasticsearch_rmp_url: https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.22.rpm
ALIEN_DIST_URL: http://52.215.62.182/alien4cloud/alien4cloud-premium-dist/3.2.0-TEST-SNAPSHOT/alien4cloud-premium-dist-3.2.0-TEST-SNAPSHOT-dist.tar.gz
#ALIEN_DIST_URL: http://34.242.40.25/dist/alien4cloud/alien4cloud-premium-dist/3.0.0-SNAPSHOT/alien4cloud-premium-dist-3.0.0-SNAPSHOT-dist.tar.gz
JAVA_DIST_URL: https://download.java.net/java/GA/jdk15.0.2/0d1cfde4252546c6931946de8db48ee2/7/GPL/openjdk-15.0.2_linux-x64_bin.tar.gz
JAVA_VERSION: 15.0.2
CONSUL_DIST_URL: https://releases.hashicorp.com/consul/1.2.3/consul_1.2.3_linux_amd64.zip
YORC_DIST_URL: https://ystia.jfrog.io/artifactory/yorc-bin-dev-local/ystia/yorc/dist/PR-711/yorc-4.1.0-SNAPSHOT.tgz
YORC_UPGRADE_TOOL_URL: http://52.215.62.182/yorc/yorc-unoff-up.tgz
JMETER_DIST_URL: https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-3.1.tgz
TERRAFORM_DIST_URL: https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.zip
CONSUL_TEMPLATE_DL_URL: https://releases.hashicorp.com/consul-template/0.23.0/consul-template_0.23.0_linux_amd64.zip
terraform_plugins:
- https://releases.hashicorp.com/terraform-provider-consul/2.1.0/terraform-provider-consul_2.1.0_linux_amd64.zip
- https://releases.hashicorp.com/terraform-provider-google/1.18.0/terraform-provider-google_1.18.0_linux_amd64.zip
- https://releases.hashicorp.com/terraform-provider-openstack/1.9.0/terraform-provider-openstack_1.9.0_linux_amd64.zip
- https://releases.hashicorp.com/terraform-provider-aws/1.36.0/terraform-provider-aws_1.36.0_linux_amd64.zip
- https://releases.hashicorp.com/terraform-provider-null/1.0.0/terraform-provider-null_1.0.0_linux_amd64.zip
#yorc_dependencies_rpm_urls:
# #- http://www.rpmfind.net/linux/opensuse/tumbleweed/repo/oss/x86_64/jq-1.6-2.1.x86_64.rpm
# # - https://rpmfind.net/linux/mageia/distrib/6/x86_64/media/core/release/lib64onig2-5.9.6-2.mga6.x86_64.rpm
# - https://releases.ansible.com/ansible/rpm/release/epel-7-x86_64/ansible-2.7.2-1.el7.ans.noarch.rpm
# - http://mirror.centos.org/centos/7/extras/x86_64/Packages/sshpass-1.06-2.el7.x86_64.rpm
# - http://mirror.centos.org/centos/7/extras/x86_64/Packages/python2-jmespath-0.9.0-3.el7.noarch.rpm
# - http://mirror.centos.org/centos/7/extras/x86_64/Packages/python-passlib-1.6.5-2.el7.noarch.rpm
# - http://mirror.centos.org/altarch/7/os/armhfp/Packages/python-paramiko-2.1.1-9.el7.noarch.rpm
# # - http://ftp.heanet.ie/pub/centos/7.7.1908/os/x86_64/Packages/python-paramiko-2.1.1-9.el7.noarch.rpm
# # - https://centos.pkgs.org/7/centos-aarch64/python-paramiko-2.1.1-9.el7.noarch.rpm.html
# - http://mirror.centos.org/centos/7/extras/x86_64/Packages/python-httplib2-0.9.2-1.el7.noarch.rpm
# - http://mirror.centos.org/centos/7/os/x86_64/Packages/scl-utils-20130529-19.el7.x86_64.rpm
# # - http://mirror.centos.org/centos/7/sclo/x86_64/rh/python27/python27-runtime-1.1-26.1.el7.x86_64.rpm
# - https://cbs.centos.org/kojifiles/packages/python27/1.1/26.1.el7/x86_64/python27-runtime-1.1-26.1.el7.x86_64.rpm
# #- http://mirror.centos.org/centos/7/sclo/x86_64/rh/python27/python27-python-setuptools-0.9.8-7.el7.noarch.rpm
# - http://mirror.centos.org/altarch/7/os/aarch64/Packages/python-setuptools-0.9.8-7.el7.noarch.rpm
# #- http://mirror.centos.org/centos/7/sclo/x86_64/rh/python27/python27-python-pip-8.1.2-3.el7.noarch.rpm
# #- http://mirror.centos.org/altarch/7/sclo/aarch64/rh/python27/python27-python-pip-8.1.2-3.el7.noarch.rpm
# - https://cbs.centos.org/kojifiles/packages/python27-python-pip/8.1.2/3.el7/noarch/python27-python-pip-8.1.2-3.el7.noarch.rpm
# #- http://mirror.centos.org/centos/7/sclo/x86_64/rh/python27/python27-python-libs-2.7.16-4.el7.x86_64.rpm
# - ftp://ftp.pbone.net/mirror/ftp.centos.org/7.8.2003/sclo/x86_64/rh/Packages/p/python27-python-libs-2.7.16-4.el7.x86_64.rpm
# - https://cbs.centos.org/kojifiles/packages/python27-python/2.7.16/4.el7/x86_64/python27-python-2.7.16-4.el7.x86_64.rpm
# #- http://mirror.centos.org/centos/7/sclo/x86_64/rh/python27/python27-python-2.7.16-4.el7.x86_64.rpm
# #- http://mirror.centos.org/centos/7/sclo/x86_64/rh/python27/python27-python-2.7.17-2.el7.x86_64.rpm
# - http://mirror.centos.org/centos/7/os/x86_64/Packages/python-cffi-1.6.0-5.el7.x86_64.rpm
# - http://mirror.centos.org/centos/7/os/x86_64/Packages/python-enum34-1.0.4-1.el7.noarch.rpm
# - http://mirror.centos.org/centos/7/os/x86_64/Packages/python-idna-2.4-1.el7.noarch.rpm
# - http://mirror.centos.org/centos/7/os/x86_64/Packages/python-ply-3.4-11.el7.noarch.rpm
# - http://mirror.centos.org/centos/7/os/x86_64/Packages/python-pycparser-2.14-1.el7.noarch.rpm
# - http://mirror.centos.org/centos/7/os/x86_64/Packages/python2-pyasn1-0.1.9-7.el7.noarch.rpm
yorc_dependencies_usr_urls:
- https://storage.googleapis.com/kubernetes-release/release/v1.14.1/bin/linux/amd64/kubectl
# A4C Config
a4c_version: 3.0.0-M5
# kube_config: toto
#topologyTemplateVersionId: "3MockWithRel:2.1.0-SNAPSHOT"
#applicationName: SetupTest
# orchestrator_to_be_upgraded: Yorc
# location_to_be_upgraded: Default
# a4c_upgrade_plugins: []
# - alien4cloud-kubernetes-plugin
# - alien4cloud-ssi-network_policy-plugin
should_use_rsync_for_a4c_ha: true
should_use_rsync_for_yorc_ha: true
use_localhost_for_local_connections: false
# This piece of config will be added to a4c condfiguration
a4c_config_addons:
# languages:
# default: fr-fr
# prefix: artemis
consul:
url: http://localhost:8500
command: "echo TESTFCH"
# PLugins can be disabled by configuration
# a4c_disabled_plugins:
# - alien4cloud-ssi-network_policy-plugin
# - alien4cloud-consul-publisher-plugin
# - alien4cloud-datagouv_mls-plugin
# - alien4cloud-ssi-network_policy-plugin
# - kubernetes-supervision-modifier
# - alien4cloud-kafka-listener
a4c_locations_to_create:
- name: Default
type: HostsPool
yorc_locations_to_create:
- name: Default
type: HostsPool
orchestrator_config:
Yorc:
Default:
location_modifiers:
- pluginId: 'alien4cloud-yorc-provider'
beanName: 'gangja-resolver-modifier'
phase: 'post-node-match'
modifier_position: 0
- pluginId: 'alien4cloud-datagouv_mls-plugin'
beanName: 'datagouv_mls-modifier'
phase: 'post-matched-node-setup'
modifier_position: 1
- pluginId: 'alien4cloud-kubernetes-plugin'
beanName: 'kubernetes-adapter-modifier'
phase: 'post-matched-node-setup'
modifier_position: 2
- pluginId: 'alien4cloud-consul-publisher-plugin'
beanName: 'consul-publisher'
phase: 'post-matched-node-setup'
modifier_position: 3
- pluginId: 'alien4cloud-ssi-network_policy-plugin'
beanName: 'ssi-network_policy-modifier'
phase: 'post-matched-node-setup'
modifier_position: 4
- pluginId: 'alien4cloud-k8s-spark-jobs'
beanName: 'k8s-spark-jobs-modifier'
phase: 'post-matched-node-setup'
modifier_position: 5
- pluginId: 'alien4cloud-supervision'
beanName: 'kubernetes-supervision-modifier'
phase: 'post-matched-node-setup'
modifier_position: 6
- pluginId: 'alien4cloud-yorc-provider'
beanName: 'yorc-wf-simplifier-modifier'
phase: 'post-matched-node-setup'
modifier_position: 7
- pluginId: 'alien4cloud-yorc-provider'
beanName: 'yorc-wf-operation-host-modifier'
phase: 'post-matched-node-setup'
modifier_position: 8
- pluginId: 'alien4cloud-yorc-provider'
beanName: 'yorc-service-topology-modifier'
phase: 'post-matched-node-setup'
modifier_position: 9
- pluginId: 'alien4cloud-yorc-provider'
beanName: 'yorc-location-modifier'
phase: 'post-matched-node-setup'
modifier_position: 10
a4c_loadtests:
# Tous les jours à 01:15:00 lancer 10 fois le déploiement de 3MockWithRel avec 2 users en parallel
MockLoadTest:
crontab: "15 1 * * *"
loop_count: 2
user_count: 2
template: "3MockWithRel:2.1.0-SNAPSHOT"
# Tous les jours à 5h du mat (j'ai des frissons), lancer 10 fois le déploiement de Lab10 avec 1 seul user
K8SLabLoadTest:
crontab: "0 5 * * *"
loop_count: 10
user_count: 1
template: "artemis.loadtests.containers.topology.LOADTESTCONTAINER:2.5-SNAPSHOT"
# Id of template to deploy at test stage (end of setup)
topologyTemplateVersionId: "1TinyMock:2.1.0-SNAPSHOT"
applicationName: "SetupTestApp"
force_delete_files: true