Init BM MCC+MOSK commit
Just put templates to the repo
MOSSUST-114
Change-Id: I2239dd7067d823d3ab15d1d46dc57fc2c7b9444b
diff --git a/bm_mcc_mosk/child/cluster/machines.yaml b/bm_mcc_mosk/child/cluster/machines.yaml
new file mode 100644
index 0000000..6877908
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/machines.yaml
@@ -0,0 +1,172 @@
+apiVersion: "cluster.k8s.io/v1alpha1"
+kind: MachineList
+items:
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz7625
+ labels: &ucp_os_ctl_labels
+ kaas.mirantis.com/provider: baremetal
+ cluster.sigs.k8s.io/cluster-name: mosk
+ cluster.sigs.k8s.io/control-plane: "controlplane"
+ hostlabel.bm.kaas.mirantis.com/storage: "true"
+ hostlabel.bm.kaas.mirantis.com/worker: "true"
+ hostlabel.bm.kaas.mirantis.com/controlplane: "controlplane"
+ spec:
+ providerSpec:
+ value: &ucp_os_ctl_value
+ apiVersion: "baremetal.k8s.io/v1alpha1"
+ kind: "BareMetalMachineProviderSpec"
+ l2TemplateSelector:
+ name: mosk-base-l2
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz7625
+ bareMetalHostProfile:
+ namespace: mosk
+ name: bm-os-ctl
+ nodeLabels:
+ - key: openstack-control-plane
+ value: enabled
+ - key: openstack-gateway
+ value: enabled
+ - key: openvswitch
+ value: enabled
+
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz7627
+ labels:
+ <<: *ucp_os_ctl_labels
+ spec:
+ providerSpec:
+ value:
+ <<: *ucp_os_ctl_value
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz7627
+
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz7792
+ labels:
+ <<: *ucp_os_ctl_labels
+ spec:
+ providerSpec:
+ value:
+ <<: *ucp_os_ctl_value
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz7792
+
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz9039
+ labels: &ceph_labels
+ kaas.mirantis.com/provider: baremetal
+ cluster.sigs.k8s.io/cluster-name: mosk
+ hostlabel.bm.kaas.mirantis.com/storage: "true"
+ hostlabel.bm.kaas.mirantis.com/worker: "true"
+ spec:
+ providerSpec:
+ value: &ceph_value
+ apiVersion: "baremetal.k8s.io/v1alpha1"
+ kind: "BareMetalMachineProviderSpec"
+ l2TemplateSelector:
+ name: mosk-base-l2
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz9039
+ bareMetalHostProfile:
+ namespace: mosk
+ name: bm-storage
+ nodeLabels:
+ - key: openstack-compute-node
+ value: enabled
+ - key: openvswitch
+ value: enabled
+
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz9046
+ labels:
+ <<: *ceph_labels
+ spec:
+ providerSpec:
+ value:
+ <<: *ceph_value
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz9046
+
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz8061
+ labels:
+ <<: *ceph_labels
+ spec:
+ providerSpec:
+ value:
+ <<: *ceph_value
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz8061
+
+
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz9047
+ labels: &sl_labels
+ kaas.mirantis.com/provider: baremetal
+ cluster.sigs.k8s.io/cluster-name: mosk
+ hostlabel.bm.kaas.mirantis.com/worker: "true"
+ spec:
+ providerSpec:
+ value: &sl_value
+ apiVersion: "baremetal.k8s.io/v1alpha1"
+ kind: "BareMetalMachineProviderSpec"
+ l2TemplateSelector:
+ name: mosk-base-l2
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz9047
+ bareMetalHostProfile:
+ namespace: mosk
+ name: bm-sl
+ nodeLabels:
+ - key: stacklight
+ value: enabled
+
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz9048
+ labels:
+ <<: *sl_labels
+ spec:
+ providerSpec:
+ value:
+ <<: *sl_value
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz9048
+
+- apiVersion: "cluster.k8s.io/v1alpha1"
+ kind: Machine
+ metadata:
+ name: cz8159
+ labels:
+ <<: *sl_labels
+ spec:
+ providerSpec:
+ value:
+ <<: *sl_value
+ hostSelector:
+ matchLabels:
+ baremetal: hw-cz8159