blob: 6877908329e7bfaae3ed73bb5fb13d662e1e17dd [file] [log] [blame]
Vladimir Khlyunevcc648af2024-04-25 19:56:40 +04001apiVersion: "cluster.k8s.io/v1alpha1"
2kind: MachineList
3items:
4- apiVersion: "cluster.k8s.io/v1alpha1"
5 kind: Machine
6 metadata:
7 name: cz7625
8 labels: &ucp_os_ctl_labels
9 kaas.mirantis.com/provider: baremetal
10 cluster.sigs.k8s.io/cluster-name: mosk
11 cluster.sigs.k8s.io/control-plane: "controlplane"
12 hostlabel.bm.kaas.mirantis.com/storage: "true"
13 hostlabel.bm.kaas.mirantis.com/worker: "true"
14 hostlabel.bm.kaas.mirantis.com/controlplane: "controlplane"
15 spec:
16 providerSpec:
17 value: &ucp_os_ctl_value
18 apiVersion: "baremetal.k8s.io/v1alpha1"
19 kind: "BareMetalMachineProviderSpec"
20 l2TemplateSelector:
21 name: mosk-base-l2
22 hostSelector:
23 matchLabels:
24 baremetal: hw-cz7625
25 bareMetalHostProfile:
26 namespace: mosk
27 name: bm-os-ctl
28 nodeLabels:
29 - key: openstack-control-plane
30 value: enabled
31 - key: openstack-gateway
32 value: enabled
33 - key: openvswitch
34 value: enabled
35
36- apiVersion: "cluster.k8s.io/v1alpha1"
37 kind: Machine
38 metadata:
39 name: cz7627
40 labels:
41 <<: *ucp_os_ctl_labels
42 spec:
43 providerSpec:
44 value:
45 <<: *ucp_os_ctl_value
46 hostSelector:
47 matchLabels:
48 baremetal: hw-cz7627
49
50- apiVersion: "cluster.k8s.io/v1alpha1"
51 kind: Machine
52 metadata:
53 name: cz7792
54 labels:
55 <<: *ucp_os_ctl_labels
56 spec:
57 providerSpec:
58 value:
59 <<: *ucp_os_ctl_value
60 hostSelector:
61 matchLabels:
62 baremetal: hw-cz7792
63
64- apiVersion: "cluster.k8s.io/v1alpha1"
65 kind: Machine
66 metadata:
67 name: cz9039
68 labels: &ceph_labels
69 kaas.mirantis.com/provider: baremetal
70 cluster.sigs.k8s.io/cluster-name: mosk
71 hostlabel.bm.kaas.mirantis.com/storage: "true"
72 hostlabel.bm.kaas.mirantis.com/worker: "true"
73 spec:
74 providerSpec:
75 value: &ceph_value
76 apiVersion: "baremetal.k8s.io/v1alpha1"
77 kind: "BareMetalMachineProviderSpec"
78 l2TemplateSelector:
79 name: mosk-base-l2
80 hostSelector:
81 matchLabels:
82 baremetal: hw-cz9039
83 bareMetalHostProfile:
84 namespace: mosk
85 name: bm-storage
86 nodeLabels:
87 - key: openstack-compute-node
88 value: enabled
89 - key: openvswitch
90 value: enabled
91
92- apiVersion: "cluster.k8s.io/v1alpha1"
93 kind: Machine
94 metadata:
95 name: cz9046
96 labels:
97 <<: *ceph_labels
98 spec:
99 providerSpec:
100 value:
101 <<: *ceph_value
102 hostSelector:
103 matchLabels:
104 baremetal: hw-cz9046
105
106- apiVersion: "cluster.k8s.io/v1alpha1"
107 kind: Machine
108 metadata:
109 name: cz8061
110 labels:
111 <<: *ceph_labels
112 spec:
113 providerSpec:
114 value:
115 <<: *ceph_value
116 hostSelector:
117 matchLabels:
118 baremetal: hw-cz8061
119
120
121- apiVersion: "cluster.k8s.io/v1alpha1"
122 kind: Machine
123 metadata:
124 name: cz9047
125 labels: &sl_labels
126 kaas.mirantis.com/provider: baremetal
127 cluster.sigs.k8s.io/cluster-name: mosk
128 hostlabel.bm.kaas.mirantis.com/worker: "true"
129 spec:
130 providerSpec:
131 value: &sl_value
132 apiVersion: "baremetal.k8s.io/v1alpha1"
133 kind: "BareMetalMachineProviderSpec"
134 l2TemplateSelector:
135 name: mosk-base-l2
136 hostSelector:
137 matchLabels:
138 baremetal: hw-cz9047
139 bareMetalHostProfile:
140 namespace: mosk
141 name: bm-sl
142 nodeLabels:
143 - key: stacklight
144 value: enabled
145
146- apiVersion: "cluster.k8s.io/v1alpha1"
147 kind: Machine
148 metadata:
149 name: cz9048
150 labels:
151 <<: *sl_labels
152 spec:
153 providerSpec:
154 value:
155 <<: *sl_value
156 hostSelector:
157 matchLabels:
158 baremetal: hw-cz9048
159
160- apiVersion: "cluster.k8s.io/v1alpha1"
161 kind: Machine
162 metadata:
163 name: cz8159
164 labels:
165 <<: *sl_labels
166 spec:
167 providerSpec:
168 value:
169 <<: *sl_value
170 hostSelector:
171 matchLabels:
172 baremetal: hw-cz8159