blob: 4e1c7919adbdbee5bc5ac272a1de2c956fb319f3 (
plain)
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
|
# 'ocp_servers' is info about ocp master, client and worker nodes.
# This section has to be defined.
ocp_servers:
master:
master_node1:
hostname: master_node1
master_node2:
hostname: master_node2
client:
client_node1:
hostname: client_node1
client_node2:
hostname: client_node2
nodes:
ocp_node1:
hostname: ocp_node1
ocp_node2:
hostname: ocp_node2
# 'gluster_servers' section covers the details of the nodes where gluster
# servers are run. In the case of CNS, these are the nodes where gluster
# pods are run. In the case of CRS, these are the nodes where gluster
# servers are configured.
# This section has to be defined.
gluster_servers:
gluster_server1:
manage: gluster_server1
storage: gluster_server1
zone: 1
devices: [device1, device2]
additional_devices: [device3, device4]
gluster_server2:
manage: gluster_server2
storage: gluster_server2
zone : 2
devices: [device1, device2]
additional_devices: [device3, device4]
cns:
setup:
routing_config: "cloudapps.mystorage.com"
insecure_registry: "INSECURE_REGISTRY='--insecure-registry registry.access.redhat.com"
add_registry: "ADD_REGISTRY='--add-registry registry.access.redhat.com"
cns_project_name: "storage-project"
cns_username: "test-admin"
cns_password:
# 'deployment_type' can be crs_heketi_outside_openshift|crs_heketi_inside_openshift|cns
deployment_type:
# 'executor' can be ssh|kube|mock
executor: ssh
executor_user: root
executor_port: 22
trusted_storage_pool_list:
- [gluster_server1, gluster_server2]
heketi_config:
heketi_dc_name: "fake-name-of-heketi-deployment-config"
heketi_service_name: "fake-name-of-heketi-service"
heketi_client_node:
heketi_server_url: "http://heketi-storage-project.cloudapps.mystorage.com"
heketi_cli_user: "admin"
heketi_cli_key: "admin"
heketi_ssh_key: "/etc/heketi/heketi_key"
heketi_config_file: "/etc/heketi/heketi.json"
heketi_volume:
size: 1
name: "autotests-heketi-vol-name"
expand_size: 2
dynamic_provisioning:
storage_classes:
file_storage_class:
provisioner: "kubernetes.io/glusterfs"
resturl:
restuser:
secretnamespace: "<fake-namespace-name>"
volumenameprefix: "cns-vol"
block_storage_class:
provisioner: "gluster.org/glusterblock"
resturl:
restuser:
restsecretnamespace: "<fake-namespace-name>"
hacount: "3"
chapauthenabled: "true"
volumenameprefix: "cns-vol"
scale:
- type: jenkins
instances: 1
namespace: "<fake-namespace-name>"
pod_parameters:
ENABLE_OAUTH: false
MEMORY_LIMIT: "<fake-memory-limit-size>Mi"
VOLUME_CAPACITY: "<fake-size-of-gluster-storage>Gi"
STORAGE_CLASS_NAME: "fake-name-of-storage-class"
JENKINS_IMAGE_STREAM_TAG: "jenkins:2"
load_parameters:
JOBS: 30
ITERATIONS: 30
EXECUTORS: 5
|