-
Notifications
You must be signed in to change notification settings - Fork 5
/
testplan.example.yaml
77 lines (73 loc) · 2.77 KB
/
testplan.example.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
# See the schema at the bottom of this file for a formal definition of its structure
clusters:
# Run 2 single-node clusters
- single_node: true
num_workers: 0
amount: 2
# Run a single 3-control-plane 3-worker cluster
- single_node: false
num_workers: 3
amount: 1
# Run 2 3-control-plane 10-worker clusters on the Sun
- single_node: false
num_workers: 10
amount: 2
infranev_labels:
agentclusterinstalls.extensions.hive.openshift.io/location: Sun
# Run a single compact cluster infraenv on the moon with nmstate, but don't bind to any cluster
- single_node: false
num_workers: 0
with_nmstate: true
just_infraenv: true
infranev_labels:
agentclusterinstalls.extensions.hive.openshift.io/location: Moon
amount: 1
# Run the clusters in the clusters list in random order rather than the listed order
shuffle: true
# -------------- End of user configuration --------------
# -------------- Configuration Schema -------------------
schema:
properties:
required:
- clusters
- shuffle
clusters:
type: array
description: An ordered list of cluster configurations along with how many clusters to launch from each configuration
items:
type: object
required:
- single_node
- num_workers
- amount
properties:
single_node:
type: boolean
description: Whether the cluster is a single control-plane node cluster or not
num_workers:
type: boolean
description: How many worker nodes the cluster should have. For now, must be 0 for single node clusters
example: 50
amount:
type: integer
description: How many clusters with this configuration should be launched
example: 5000
with_nmstate:
type: boolean
description: Whether to fake an "nmstate" configuration for this cluster, to get the service busy generating nmconnection files
default: false
just_infraenv:
type: boolean
description: Whether to create an actual cluster or just populate an infraenv with the cluster's hosts. Note that hosts stuck in an infraenv never finish installation and never make space for more hosts.
default: false
infraenv_labels:
type: object
description: Labels that should be added to the infraenv created for this cluster
default: {}
example:
agentclusterinstalls.extensions.hive.openshift.io/location: Moon
additionalProperties:
type: string
shuffle:
type: boolean
description: Whether to run the clusters list in the specified order, or shuffle all the clusters randomly