blob: 0f031df6f3feb4122d2b63b7acd2c34e3b375809 (
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
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
|
log_file: /var/log/tests/cns_tests.log
log_level: DEBUG
# 'ocp_servers' is info about ocp master, client and worker nodes.
# 'region' can be <primary|infra>.
# This section has to be defined.
ocp_servers:
master:
master_node1:
hostname: master_node1
region:
master_node2:
hostname: master_node2
region:
client:
client_node1:
hostname: client_node1
client_node2:
hostname: client_node2
nodes:
ocp_node1:
hostname: ocp_node1
region:
ocp_node2:
hostname: ocp_node2
region:
# '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]
# 'additional_gluster_servers' section covers the details of the
# additional gluster nodes to add to the gluster cluster.
additional_gluster_servers:
gluster_server3:
manage: gluster_server3
storage: gluster_server3
zone : 3
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_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:
name:
expand_size:
dynamic_provisioning:
pods_info:
nginx:
size: 5
number_of_pods: 3
mongo:
size: 6
number_of_pods: 7
storage_classes:
storage_class1:
name: storage_class1
provisioner:
resturl:
restuser:
secretnamespace:
secretname:
storage_class2:
name: storage_class2
provisioner:
resturl:
restuser:
restsecretnamespace:
restsecretname:
hacount: "3"
chapauthenabled: "true"
secrets:
secret1:
secret_name: secret1
namespace:
data_key:
type:
secret2:
secret_name: secret2
namespace:
data_key:
type:
start_count_for_pvc: 1
pvc_size_number:
10: 2
20: 1
app_pvc_count_dict:
nginx: 2
|