Init BM MCC+MOSK commit
Just put templates to the repo
MOSSUST-114
Change-Id: I2239dd7067d823d3ab15d1d46dc57fc2c7b9444b
diff --git a/bm_mcc_mosk/child/cluster/baremetalhostprofiles.yaml b/bm_mcc_mosk/child/cluster/baremetalhostprofiles.yaml
new file mode 100644
index 0000000..5a8df06
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/baremetalhostprofiles.yaml
@@ -0,0 +1,360 @@
+---
+apiVersion: metal3.io/v1alpha1
+metadata:
+ namespace: mosk
+ name: ucp-ctl
+ labels:
+ cluster.sigs.k8s.io/cluster-name: mosk
+ kaas.mirantis.com/provider: "baremetal"
+ kaas.mirantis.com/defaultBMHProfile: 'true'
+kind: BareMetalHostProfile
+spec:
+ devices:
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ minSize: 60Gi
+ wipeDevice:
+ eraseMetadata:
+ enabled: true
+ partitions:
+ - name: bios_grub
+ size: 4Mi
+ partflags: ['bios_grub']
+ - name: uefi
+ partflags: ['esp']
+ size: 200Mi
+ - name: config-2
+ size: 64Mi
+ - name: root
+ size: 0
+ fileSystems:
+ - fileSystem: vfat
+ partition: config-2
+ - fileSystem: vfat
+ partition: uefi
+ mountPoint: /boot/efi
+ - fileSystem: ext4
+ partition: root
+ mountPoint: /
+ mountOpts: 'rw,noatime,nodiratime,lazytime,nobarrier,commit=240,data=ordered'
+
+ preDeployScript: |
+ #!/bin/bash -ex
+ echo $(date) 'pre_deploy_script done' >> /root/pre_deploy_done
+ postDeployScript: |
+ #!/bin/bash -ex
+ # used for test-debug only!
+ echo -e "root:r00tme" | sudo chpasswd
+ echo 'ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"' > /etc/udev/rules.d/60-ssd-scheduler.rules
+ echo $(date) 'post_deploy_script done' >> /root/post_deploy_done
+ grubConfig:
+ defaultGrubOptions:
+ - 'GRUB_DISABLE_RECOVERY="true"'
+ - 'GRUB_PRELOAD_MODULES=lvm'
+ - 'GRUB_TIMEOUT=20'
+ - 'GRUB_CMDLINE_LINUX="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off systemd.journald.forward_to_console=yes console=ttyS0,9600 console=tty0"'
+ kernelParameters:
+ sysctl:
+ kernel.dmesg_restrict: "1"
+ kernel.core_uses_pid: "1"
+ fs.file-max: "9223372036854775807"
+ fs.aio-max-nr: "1048576"
+ fs.inotify.max_user_instances: "4096"
+ vm.max_map_count: "262144"
+ net.ipv4.conf.all.rp_filter: "2"
+ net.ipv4.conf.k8s-lcm.rp_filter: "2"
+ net.ipv4.conf.bond0.rp_filter: "2"
+ fs.inotify.max_user_watches: "81920"
+ modules:
+ - filename: kvm_intel.conf
+ content: |
+ options kvm_intel nested=1
+---
+apiVersion: metal3.io/v1alpha1
+metadata:
+ namespace: mosk
+ name: bm-storage
+ labels:
+ cluster.sigs.k8s.io/cluster-name: mosk
+ kaas.mirantis.com/provider: "baremetal"
+kind: BareMetalHostProfile
+spec:
+ devices:
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ byName: /dev/sda
+ minSize: 60Gi
+ wipeDevice:
+ eraseMetadata:
+ enabled: true
+ partitions:
+ - name: bios_grub
+ size: 4Mi
+ partflags: ['bios_grub']
+ - name: uefi
+ partflags: ['esp']
+ size: 200Mi
+ - name: config-2
+ size: 64Mi
+ - name: root
+ size: 0
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ byName: /dev/sdb
+ wipe: true
+ fileSystems:
+ - fileSystem: vfat
+ partition: config-2
+ - fileSystem: vfat
+ partition: uefi
+ mountPoint: /boot/efi
+ - fileSystem: ext4
+ partition: root
+ mountPoint: /
+ mountOpts: 'rw,noatime,nodiratime,lazytime,nobarrier,commit=240,data=ordered'
+
+ preDeployScript: |
+ #!/bin/bash -ex
+ echo $(date) 'pre_deploy_script done' >> /root/pre_deploy_done
+ postDeployScript: |
+ #!/bin/bash -ex
+ # used for test-debug only!
+ echo -e "root:r00tme" | sudo chpasswd
+ echo 'ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"' > /etc/udev/rules.d/60-ssd-scheduler.rules
+ echo $(date) 'post_deploy_script done' >> /root/post_deploy_done
+ grubConfig:
+ defaultGrubOptions:
+ - 'GRUB_DISABLE_RECOVERY="true"'
+ - 'GRUB_PRELOAD_MODULES=lvm'
+ - 'GRUB_TIMEOUT=20'
+ - 'GRUB_CMDLINE_LINUX="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off systemd.journald.forward_to_console=yes console=ttyS0,9600 console=tty0"'
+ kernelParameters:
+ sysctl:
+ kernel.dmesg_restrict: "1"
+ kernel.core_uses_pid: "1"
+ fs.file-max: "9223372036854775807"
+ fs.aio-max-nr: "1048576"
+ fs.inotify.max_user_instances: "4096"
+ vm.max_map_count: "262144"
+ net.ipv4.conf.all.rp_filter: "2"
+ net.ipv4.conf.k8s-lcm.rp_filter: "2"
+ net.ipv4.conf.bond0.rp_filter: "2"
+ fs.inotify.max_user_watches: "81920"
+ modules:
+ - filename: kvm_intel.conf
+ content: |
+ options kvm_intel nested=1
+---
+apiVersion: metal3.io/v1alpha1
+metadata:
+ namespace: mosk
+ name: bm-sl
+ labels:
+ cluster.sigs.k8s.io/cluster-name: mosk
+ kaas.mirantis.com/provider: "baremetal"
+kind: BareMetalHostProfile
+spec:
+ devices:
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ byName: /dev/sda
+ minSize: 60Gi
+ wipeDevice:
+ eraseMetadata:
+ enabled: true
+ partitions:
+ - name: bios_grub
+ size: 4Mi
+ partflags: ['bios_grub']
+ - name: uefi
+ partflags: ['esp']
+ size: 200Mi
+ - name: config-2
+ size: 64Mi
+ - name: root
+ size: 0
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ byName: /dev/sdb
+ wipe: true
+ fileSystems:
+ - fileSystem: vfat
+ partition: config-2
+ - fileSystem: vfat
+ partition: uefi
+ mountPoint: /boot/efi
+ - fileSystem: ext4
+ partition: root
+ mountPoint: /
+ mountOpts: 'rw,noatime,nodiratime,lazytime,nobarrier,commit=240,data=ordered'
+
+ preDeployScript: |
+ #!/bin/bash -ex
+ echo $(date) 'pre_deploy_script done' >> /root/pre_deploy_done
+ postDeployScript: |
+ #!/bin/bash -ex
+ # used for test-debug only!
+ echo -e "root:r00tme" | sudo chpasswd
+ echo 'ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"' > /etc/udev/rules.d/60-ssd-scheduler.rules
+ echo $(date) 'post_deploy_script done' >> /root/post_deploy_done
+ grubConfig:
+ defaultGrubOptions:
+ - 'GRUB_DISABLE_RECOVERY="true"'
+ - 'GRUB_PRELOAD_MODULES=lvm'
+ - 'GRUB_TIMEOUT=20'
+ - 'GRUB_CMDLINE_LINUX="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off systemd.journald.forward_to_console=yes console=ttyS0,9600 console=tty0"'
+ kernelParameters:
+ sysctl:
+ kernel.dmesg_restrict: "1"
+ kernel.core_uses_pid: "1"
+ fs.file-max: "9223372036854775807"
+ fs.aio-max-nr: "1048576"
+ fs.inotify.max_user_instances: "4096"
+ vm.max_map_count: "262144"
+ net.ipv4.conf.all.rp_filter: "2"
+ net.ipv4.conf.k8s-lcm.rp_filter: "2"
+ net.ipv4.conf.bond0.rp_filter: "2"
+ fs.inotify.max_user_watches: "81920"
+---
+apiVersion: metal3.io/v1alpha1
+metadata:
+ namespace: mosk
+ name: bm-os-ctl
+ labels:
+ cluster.sigs.k8s.io/cluster-name: mosk
+ kaas.mirantis.com/provider: "baremetal"
+kind: BareMetalHostProfile
+spec:
+ devices:
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ byName: /dev/sda
+ minSize: 60Gi
+ wipeDevice:
+ eraseMetadata:
+ enabled: true
+ partitions:
+ - name: bios_grub
+ size: 4Mi
+ partflags: ['bios_grub']
+ - name: uefi
+ partflags: ['esp']
+ size: 200Mi
+ - name: config-2
+ size: 64Mi
+ - name: root
+ size: 0
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ byName: /dev/sdb
+ wipe: true
+ fileSystems:
+ - fileSystem: vfat
+ partition: config-2
+ - fileSystem: vfat
+ partition: uefi
+ mountPoint: /boot/efi
+ - fileSystem: ext4
+ partition: root
+ mountPoint: /
+ mountOpts: 'rw,noatime,nodiratime,lazytime,nobarrier,commit=240,data=ordered'
+
+ preDeployScript: |
+ #!/bin/bash -ex
+ echo $(date) 'pre_deploy_script done' >> /root/pre_deploy_done
+ postDeployScript: |
+ #!/bin/bash -ex
+ # used for test-debug only!
+ echo -e "root:r00tme" | sudo chpasswd
+ echo 'ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"' > /etc/udev/rules.d/60-ssd-scheduler.rules
+ echo $(date) 'post_deploy_script done' >> /root/post_deploy_done
+ grubConfig:
+ defaultGrubOptions:
+ - 'GRUB_DISABLE_RECOVERY="true"'
+ - 'GRUB_PRELOAD_MODULES=lvm'
+ - 'GRUB_TIMEOUT=20'
+ - 'GRUB_CMDLINE_LINUX="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off systemd.journald.forward_to_console=yes console=ttyS0,9600 console=tty0"'
+ kernelParameters:
+ sysctl:
+ kernel.dmesg_restrict: "1"
+ kernel.core_uses_pid: "1"
+ fs.file-max: "9223372036854775807"
+ fs.aio-max-nr: "1048576"
+ fs.inotify.max_user_instances: "4096"
+ vm.max_map_count: "262144"
+ net.ipv4.conf.all.rp_filter: "2"
+ net.ipv4.conf.k8s-lcm.rp_filter: "2"
+ net.ipv4.conf.bond0.rp_filter: "2"
+ fs.inotify.max_user_watches: "81920"
+---
+apiVersion: metal3.io/v1alpha1
+metadata:
+ namespace: mosk
+ name: bm-os-cmp
+ labels:
+ cluster.sigs.k8s.io/cluster-name: mosk
+ kaas.mirantis.com/provider: "baremetal"
+kind: BareMetalHostProfile
+spec:
+ devices:
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ byName: /dev/sda
+ minSize: 60Gi
+ wipeDevice:
+ eraseMetadata:
+ enabled: true
+ partitions:
+ - name: bios_grub
+ size: 4Mi
+ partflags: ['bios_grub']
+ - name: uefi
+ partflags: ['esp']
+ size: 200Mi
+ - name: config-2
+ size: 64Mi
+ - name: root
+ size: 0
+ - device:
+ workBy: "by_id,by_path,by_wwn,by_name"
+ byName: /dev/sdb
+ wipe: true
+ fileSystems:
+ - fileSystem: vfat
+ partition: config-2
+ - fileSystem: vfat
+ partition: uefi
+ mountPoint: /boot/efi
+ - fileSystem: ext4
+ partition: root
+ mountPoint: /
+ mountOpts: 'rw,noatime,nodiratime,lazytime,nobarrier,commit=240,data=ordered'
+
+ preDeployScript: |
+ #!/bin/bash -ex
+ echo $(date) 'pre_deploy_script done' >> /root/pre_deploy_done
+ postDeployScript: |
+ #!/bin/bash -ex
+ # used for test-debug only!
+ echo -e "root:r00tme" | sudo chpasswd
+ echo 'ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"' > /etc/udev/rules.d/60-ssd-scheduler.rules
+ echo $(date) 'post_deploy_script done' >> /root/post_deploy_done
+ grubConfig:
+ defaultGrubOptions:
+ - 'GRUB_DISABLE_RECOVERY="true"'
+ - 'GRUB_PRELOAD_MODULES=lvm'
+ - 'GRUB_TIMEOUT=20'
+ - 'GRUB_CMDLINE_LINUX="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off systemd.journald.forward_to_console=yes console=ttyS0,9600 console=tty0"'
+ kernelParameters:
+ sysctl:
+ kernel.dmesg_restrict: "1"
+ kernel.core_uses_pid: "1"
+ fs.file-max: "9223372036854775807"
+ fs.aio-max-nr: "1048576"
+ fs.inotify.max_user_instances: "4096"
+ vm.max_map_count: "262144"
+ net.ipv4.conf.all.rp_filter: "2"
+ net.ipv4.conf.k8s-lcm.rp_filter: "2"
+ net.ipv4.conf.bond0.rp_filter: "2"
+ fs.inotify.max_user_watches: "81920"
+---
diff --git a/bm_mcc_mosk/child/cluster/baremetalhosts.yaml b/bm_mcc_mosk/child/cluster/baremetalhosts.yaml
new file mode 100644
index 0000000..61ee873
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/baremetalhosts.yaml
@@ -0,0 +1,372 @@
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz7625-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz7627-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz7756-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz7792-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz7876-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz8073-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz9039-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz9046-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz8061-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz9047-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz9048-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: BareMetalHostCredential
+metadata:
+ name: cz8159-bmc-credentials
+ namespace: mosk
+ labels:
+ kaas.mirantis.com/provider: baremetal
+spec:
+ username: engineer
+ password:
+ value: KBwdcRqwed3w2
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz7625
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz7625
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ "hostlabel.bm.kaas.mirantis.com/os_ctl": "os_ctl"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz7625-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:33:24:be
+ bmc:
+ address: 185.8.59.227
+ credentialsName: 'cz7625-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz7627
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz7627
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ "hostlabel.bm.kaas.mirantis.com/os_ctl": "os_ctl"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz7627-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:33:2d:6a
+ bmc:
+ address: 185.8.59.229
+ credentialsName: 'cz7627-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz7756
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz7756
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ "hostlabel.bm.kaas.mirantis.com/os_ctl": "os_ctl"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz7756-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:69:a0:4c
+ bmc:
+ address: 5.43.225.88
+ credentialsName: 'cz7756-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz7792
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz7792
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz7792-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:6c:83:5c
+ bmc:
+ address: 5.43.225.112
+ credentialsName: 'cz7792-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz7876
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz7876
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz7876-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:6c:88:d6
+ bmc:
+ address: 5.43.225.208
+ credentialsName: 'cz7876-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz8073
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz8073
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz8073-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:aa:df:ac
+ bmc:
+ address: 5.43.227.118
+ credentialsName: 'cz8073-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz9039
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz9039
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz9039-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:aa:d6:aa
+ bmc:
+ address: 185.8.58.248
+ credentialsName: 'cz9039-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz9046
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz9046
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz9046-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:aa:ce:30
+ bmc:
+ address: 185.8.59.222
+ credentialsName: 'cz9046-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz8061
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz8061
+ "hostlabel.bm.kaas.mirantis.com/storage": "storage"
+ "hostlabel.bm.kaas.mirantis.com/worker": "worker"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz8061-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:aa:e0:ce
+ bmc:
+ address: 5.43.225.228
+ credentialsName: 'cz8061-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz9047
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz9047
+ hostlabel.bm.kaas.mirantis.com/controlplane: "controlplane"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz9047-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:aa:d5:84
+ bmc:
+ address: 5.43.229.28
+ credentialsName: 'cz9047-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz9048
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz9048
+ hostlabel.bm.kaas.mirantis.com/controlplane: "controlplane"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz9048-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:aa:d5:82
+ bmc:
+ address: 5.43.225.23
+ credentialsName: 'cz9048-bmc-credentials'
+---
+apiVersion: metal3.io/v1alpha1
+kind: BareMetalHost
+metadata:
+ name: cz8159
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ baremetal: hw-cz8159
+ hostlabel.bm.kaas.mirantis.com/controlplane: "controlplane"
+ annotations:
+ "kaas.mirantis.com/baremetalhost-credentials-name": "cz8159-bmc-credentials"
+spec:
+ bootMode: legacy
+ online: true
+ bootMACAddress: 0c:c4:7a:6c:bc:f6
+ bmc:
+ address: 185.8.58.9
+ credentialsName: 'cz8159-bmc-credentials'
diff --git a/bm_mcc_mosk/child/cluster/cluster.yaml b/bm_mcc_mosk/child/cluster/cluster.yaml
new file mode 100644
index 0000000..3b13a8f
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/cluster.yaml
@@ -0,0 +1,55 @@
+apiVersion: cluster.k8s.io/v1alpha1
+kind: Cluster
+metadata:
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ name: mosk
+ namespace: mosk
+spec:
+ clusterNetwork:
+ pods:
+ cidrBlocks:
+ - 10.100.0.0/16
+ services:
+ cidrBlocks:
+ - 10.101.0.0/16
+ providerSpec:
+ value:
+ kind: BaremetalClusterProviderSpec
+ release: mosk-17-1-0-24-1
+ loadBalancerHost: 172.16.180.250
+# loadBalancerHost: ""
+ apiVersion: baremetal.k8s.io/v1alpha1
+ dedicatedControlPlane: false
+ dedicatedMetallbPools: false
+ etcd: {}
+ publicKeys:
+ - name: vkhlyunev
+ - name: maintenance-ci-robot
+ - name: pglazov
+ - name: dmeltsaykin
+ - name: rlubianyi
+ dnsNameservers:
+ - 172.18.176.6
+ helmReleases:
+ - enabled: true
+ name: ceph-controller
+ values: null
+ - name: metallb
+ values: {}
+ - name: stacklight
+ values:
+ elasticsearch:
+ persistentVolumeClaimSize: 30Gi
+ highAvailabilityEnabled: true
+ logging:
+ enabled: true
+ prometheusServer:
+ persistentVolumeClaimSize: 16Gi
+ kaas:
+ management:
+ enabled: false
+# provider: baremetal
+ keycloak: {}
+ release: kaas-2-26-0
+# nodeCidr: 10.10.10.0/24
diff --git a/bm_mcc_mosk/child/cluster/kaascephcluster.yaml b/bm_mcc_mosk/child/cluster/kaascephcluster.yaml
new file mode 100644
index 0000000..bb6f375
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/kaascephcluster.yaml
@@ -0,0 +1,124 @@
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: KaaSCephCluster
+metadata:
+ name: mosk-ceph
+ namespace: mosk
+spec:
+ cephClusterSpec:
+ objectStorage:
+ rgw:
+ name: rgw-store
+ metadataPool:
+ failureDomain: host
+ replicated:
+ size: 3
+ deviceClass: ssd
+ dataPool:
+ failureDomain: host
+ erasureCoded:
+ dataChunks: 2
+ codingChunks: 1
+ deviceClass: ssd
+ gateway:
+ allNodes: false
+ instances: 3
+ port: 80
+ securePort: 8443
+ preservePoolsOnDelete: false
+# sharedFilesystem:
+# cephFS:
+# - name: cephfs-store
+# dataPools:
+# - name: cephfs-pool-1
+# deviceClass: ssd
+# replicated:
+# size: 3
+# failureDomain: host
+# metadataPool:
+# deviceClass: ssd
+# replicated:
+# size: 3
+# failureDomain: host
+# metadataServer:
+# activeCount: 1
+# activeStandby: false
+ network:
+ clusterNet: 10.12.1.0/24
+ publicNet: 10.12.0.0/24
+ nodes:
+ cz8061:
+ roles:
+ - mgr
+ - mon
+# - mds
+ - rgw
+ - osd
+ storageDevices:
+ - fullPath: /dev/disk/by-id/scsi-SATA_WDC_WDS500G2B0A-_172906426485
+ config:
+ deviceClass: ssd
+ osdsPerDevice: "2"
+ cz9039:
+ roles:
+ - mgr
+ - mon
+# - mds
+ - rgw
+ - osd
+ storageDevices:
+ - fullPath: /dev/disk/by-id/scsi-SATA_Samsung_SSD_850_S2RBNB0HA00867N
+ config:
+ deviceClass: ssd
+ osdsPerDevice: "2"
+ cz9046:
+ roles:
+ - mgr
+ - mon
+ - rgw
+# - mds
+ - osd
+ storageDevices:
+ - fullPath: /dev/disk/by-id/scsi-SATA_WDC_WDS500G2B0A-_172906422906
+ config:
+ deviceClass: ssd
+ osdsPerDevice: "2"
+ pools:
+ - default: true
+ deviceClass: ssd
+ name: kubernetes
+ replicated:
+ size: 3
+ role: kubernetes
+ - default: false
+ deviceClass: ssd
+ name: volumes
+ replicated:
+ size: 3
+ role: volumes
+ - default: false
+ deviceClass: ssd
+ name: vms
+ replicated:
+ size: 3
+ role: vms
+ - default: false
+ deviceClass: ssd
+ name: backup
+ replicated:
+ size: 3
+ role: backup
+ - default: false
+ deviceClass: ssd
+ name: images
+ replicated:
+ size: 3
+ role: images
+ - default: false
+ deviceClass: ssd
+ name: other
+ replicated:
+ size: 3
+ role: other
+ k8sCluster:
+ name: mosk
+ namespace: mosk
diff --git a/bm_mcc_mosk/child/cluster/l2_templates.yaml b/bm_mcc_mosk/child/cluster/l2_templates.yaml
new file mode 100644
index 0000000..c60118d
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/l2_templates.yaml
@@ -0,0 +1,95 @@
+apiVersion: ipam.mirantis.com/v1alpha1
+kind: L2Template
+metadata:
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ cluster.sigs.k8s.io/cluster-name: mosk
+ name: mosk-base-l2
+ namespace: mosk
+spec:
+ autoIfMappingPrio:
+ - provision
+ - enp
+ - eno
+ - ens
+ clusterRef: mosk
+ l3Layout:
+ - scope: namespace
+ subnetName: lcm-nw
+ - scope: namespace
+ subnetName: storage-frontend
+ - scope: namespace
+ subnetName: storage-backend
+ npTemplate: |-
+ version: 2
+ bonds:
+ bond0:
+ parameters:
+ mode: 802.3ad
+ interfaces:
+ - {{nic 3}}
+ - {{nic 5}}
+ bond1:
+ parameters:
+ mode: 802.3ad
+ interfaces:
+ - {{nic 2}}
+ - {{nic 4}}
+ ethernets:
+ {{nic 0}}:
+ dhcp4: false
+ dhcp6: false
+ match:
+ macaddress: {{mac 0}}
+ set-name: {{nic 0}}
+ mtu: 9000
+ addresses:
+ - {{ip "0:lcm-nw"}}
+ gateway4: {{gateway_from_subnet "lcm-nw"}}
+ nameservers:
+ addresses: {{nameservers_from_subnet "lcm-nw"}}
+ {{nic 2}}:
+ dhcp4: false
+ dhcp6: false
+ match:
+ macaddress: {{mac 2}}
+ set-name: {{nic 2}}
+ mtu: 9000
+ {{nic 3}}:
+ dhcp4: false
+ dhcp6: false
+ match:
+ macaddress: {{mac 3}}
+ set-name: {{nic 3}}
+ mtu: 9000
+ {{nic 4}}:
+ dhcp4: false
+ dhcp6: false
+ match:
+ macaddress: {{mac 4}}
+ set-name: {{nic 4}}
+ mtu: 9000
+ {{nic 5}}:
+ dhcp4: false
+ dhcp6: false
+ match:
+ macaddress: {{mac 4}}
+ set-name: {{nic 4}}
+ mtu: 9000
+ vlans:
+ pr-floating:
+ id: 2404
+ link: bond1
+ mtu: 9000
+ stor-frontend:
+ id: 2405
+ link: bond1
+ mtu: 9000
+ addresses:
+ - {{ip "stor-frontend:storage-frontend"}}
+ stor-backend:
+ id: 2406
+ link: bond1
+ mtu: 9000
+ addresses:
+ - {{ip "stor-backend:storage-backend"}}
\ No newline at end of file
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
diff --git a/bm_mcc_mosk/child/cluster/metallbconfig.yaml b/bm_mcc_mosk/child/cluster/metallbconfig.yaml
new file mode 100644
index 0000000..b621be9
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/metallbconfig.yaml
@@ -0,0 +1,30 @@
+---
+# MetalLBConfig object serves for monitoring of MetalLB address advertisement
+# configuration since MCC 2.24. It can contain a link to MetalLBConfigTemplate
+# or full definition of MetalLB API objects.
+# The example below consumes "kaas-mgmt-metallb" MetalLBConfigTemplate object.
+# Operator can monitor the status of MetalLB configuration of the target
+# cluster using "status" of MetalLBConfig.
+# See MCC documentation for detailed description of MetalLB configuration using
+# MetalLBConfig and MetalLBConfigTemplate objects.
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: MetalLBConfig
+metadata:
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ cluster.sigs.k8s.io/cluster-name: mosk
+ name: mosk-metallb
+ namespace: mosk
+spec:
+ ipAddressPools:
+ - name: default
+ spec:
+ addresses:
+ - 172.16.180.26-172.16.180.75
+ autoAssign: true
+ avoidBuggyIPs: false
+ l2Advertisements:
+ - name: default
+ spec:
+ ipAddressPools:
+ - default
\ No newline at end of file
diff --git a/bm_mcc_mosk/child/cluster/project.yaml b/bm_mcc_mosk/child/cluster/project.yaml
new file mode 100644
index 0000000..40eb69f
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/project.yaml
@@ -0,0 +1,6 @@
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: mosk
+ labels:
+ kubernetes.io/metadata.name: mosk
\ No newline at end of file
diff --git a/bm_mcc_mosk/child/cluster/ssh_pubkeys.yaml b/bm_mcc_mosk/child/cluster/ssh_pubkeys.yaml
new file mode 100644
index 0000000..781cf11
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/ssh_pubkeys.yaml
@@ -0,0 +1,46 @@
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: PublicKey
+metadata:
+ name: vkhlyunev
+ namespace: mosk
+spec:
+ publicKey: |
+ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDeGiSOs0zAwcxuc9y6BzidYFXQXLOLcBKSoW1tPYJ+bVGRwNRVh63/+/X+eOPbBp6xTNNHVyOpYHt1WUbIHsAqAx/XbzBp+j3/4+8+ucvWR3X9TTxK7Q+oB3SSy2iEeimiJmxfjiHu1hfcgN8L9YvXVquGC/EZbk/r27j7Gcxli7zesr9/kBBhigDSQeehJBJZ0ux3luVkjWSDYTeKqZhNNPFoD6eWmOfsAKNMhe/8IRD9e0zY4MsELi1tZl2zoQ69249e4M1aCuGxm+t+tHLzywX0tVZmM1yX7TDuszHbiii8HrjNwB1/K80HRwRrwVIne9P7wFSlC2exLkdfWd2D
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: PublicKey
+metadata:
+ name: maintenance-ci-robot
+ namespace: mosk
+spec:
+ publicKey: |
+ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDci6MBY68s3FJ9V1OP5vdtVo/daJnkNXCPSPYbCX8/d0E3UJKgE81YvsxfuKp3r1rUNwTuGnkq+VUWcbIgpQNy69OuKxQkoGsRgYTA8n4ZZcuWz+dVenP90xLYHcnyACg63HUVEp5foLvu1WzOdH2A4bHmsl0ePM5IdnFyToHj+Nhwz1NSvbK1OkQHoEcIbkbIkIa/kWY2mgEIIUgb9YmaCI96eiVtQpFPQ4k7hpdrUAkG4e0jT8JA3zQoB++S12p0d0K3SQtJ3+YATUm+rKnHchHZ/uEAgBgoOLiu99p7Aiie76jlGxZp8A/hPqU/zS61z7ER4lJeyR/pXh53Ja+1 maintenance-ci
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: PublicKey
+metadata:
+ name: rlubianyi
+ namespace: mosk
+spec:
+ publicKey: |
+ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXWwy6p3t4AGvaCtFDJxqKZiPDotJnbu2IKg2p7sl7YXQw+APLKk9maHyUehQQuGzidgBZpmBOMAXENcO1FGFj56cnp4W9tldTiRq1bWcUMq42wfNwIToP6dAXj5ZyhL+UZj1GsCThSasDhFe4Xife0cn69KHJqtmahApQK6D7tpZr2UNDYNWh/2JIrUOcJXZU+BqNg7zm1KNb6e9lKXL6KLDeaCiQ0bj+L/unqepLdg26eO7AQSZ/rt2qAnbfcquozECtDhT4cbK8q9xJODlJQ3eQGOgTH3m8jGijL+3UdPFUzbo4KwSK4V9FmB711HVBCQM4nlH9zumIUSxutnkd rlubianyi@rlubianyi-pc
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: PublicKey
+metadata:
+ name: pglazov
+ namespace: mosk
+spec:
+ publicKey: |
+ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhZxqF+NSuP+Dr2nmGHf4NIpH2xWSmq+UE/HGP6j81rKSBZeRb2SuRXLtLVh3NZ+3GLa4UQGvedcnsqzgvSt05LYujloHnLxIsrsOWbLxOcdUYkorhXenGKBxKopwViRNV2PovMAnwyZ27GkXH8RQ52XISOdTIIV7r8M3kLpxCor2jHnOzJOcr7rhLeSFTK5zw6//T3S+IOQ5/HEs+8NK1sNw2lxBTuk+dAydiaCsQqm4GMl5vZSy0j7cnsy+lq69zN2/Bi4JzKLDKF2ap4zDh/ELhUBoQhh12T0djFV9Qv9fTWI4LUW8cVyqxbfreJrZqSAyMgSRrGSUBclFTmn5Z pavel@pavel-All-Series
+---
+apiVersion: kaas.mirantis.com/v1alpha1
+kind: PublicKey
+metadata:
+ name: dmeltsaykin
+ namespace: mosk
+spec:
+ publicKey: |
+ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqfNIy3WuxzRzOY/GBNGOnP5UrCFWZ8uMzW6hEl4wgIEYYIcv8o+C1/hvrfHimG/I/rAwYRS6Dx0bZ7m49zATNxe+EVer3BV63ru34Hzel/XxxyD34ULmrDgvP3olaAKFI17gVOFQ7hCBzDRp3s4YN3ojQspPyeiO+Jt8OwVomxJWgLauAHhl7Z/XPVHpT/fssJGG/eC4oOz4RZ4jAk0BH3Yl8s63grfwrgB79H/+nr0UvBdTkBn3T5WiC4gxnm+jQQwci7/BLQsg1Z3OykfTuyftIexNyVVy/SmdsGi37RJGFKRMMovoZx+261JgaHWBoHqBJa5UpV2usi9z3Py2z avgoor@MacBook-Pro-Denis.local
+---
diff --git a/bm_mcc_mosk/child/cluster/subnets.yaml b/bm_mcc_mosk/child/cluster/subnets.yaml
new file mode 100644
index 0000000..15e3905
--- /dev/null
+++ b/bm_mcc_mosk/child/cluster/subnets.yaml
@@ -0,0 +1,68 @@
+apiVersion: ipam.mirantis.com/v1alpha1
+kind: Subnet
+metadata:
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ ipam/SVC-k8s-lcm: "1"
+ name: lcm-nw
+ namespace: mosk
+spec:
+ cidr: 172.16.180.0/23
+ gateway: 172.16.180.1
+ includeRanges:
+ - 172.16.180.10-172.16.180.25
+ nameservers:
+ - 172.18.176.6
+---
+apiVersion: ipam.mirantis.com/v1alpha1
+kind: Subnet
+metadata:
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ name: k8s-ext
+ namespace: mosk
+spec:
+ cidr: 172.17.42.0/26
+ includeRanges:
+ - 172.17.42.15-172.17.42.30
+ gateway: 172.17.42.1
+ nameservers:
+ - 172.18.176.6
+---
+apiVersion: ipam.mirantis.com/v1alpha1
+kind: Subnet
+metadata:
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ name: tenant
+ namespace: mosk
+spec:
+ cidr: 10.12.2.0/24
+---
+apiVersion: ipam.mirantis.com/v1alpha1
+kind: Subnet
+metadata:
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ ipam/SVC-ceph-public: "true"
+ cluster.sigs.k8s.io/cluster-name: mosk
+ name: storage-frontend
+ namespace: mosk
+spec:
+ cidr: 10.12.0.0/24
+ includeRanges:
+ - 10.12.0.5-10.12.0.250
+---
+apiVersion: ipam.mirantis.com/v1alpha1
+kind: Subnet
+metadata:
+ labels:
+ kaas.mirantis.com/provider: baremetal
+ ipam/SVC-ceph-cluster: "true"
+ cluster.sigs.k8s.io/cluster-name: mosk
+ name: storage-backend
+ namespace: mosk
+spec:
+ cidr: 10.12.1.0/24
+ includeRanges:
+ - 10.12.1.5-10.12.1.250
\ No newline at end of file