]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/ci/cephadm/ceph_cluster.yml
import ceph quincy 17.2.6
[ceph.git] / ceph / src / pybind / mgr / dashboard / ci / cephadm / ceph_cluster.yml
CommitLineData
b3b6e05e 1parameters:
20effc67
TL
2 nodes: 4
3 node_ip_offset: 100
522d829b
TL
4 pool: ceph-dashboard
5 network: ceph-dashboard
20effc67
TL
6 gateway: 192.168.100.1
7 netmask: 255.255.255.0
b3b6e05e
TL
8 prefix: ceph
9 numcpus: 1
10 memory: 2048
39ae355f 11 image: fedora36
b3b6e05e
TL
12 notify: false
13 admin_password: password
14 disks:
15 - 15
16 - 5
20effc67 17 - 5
b3b6e05e
TL
18
19{% for number in range(0, nodes) %}
20{{ prefix }}-node-0{{ number }}:
21 image: {{ image }}
22 numcpus: {{ numcpus }}
23 memory: {{ memory }}
24 reserveip: true
25 reservedns: true
26 sharedkey: true
b3b6e05e 27 nets:
20effc67
TL
28 - name: {{ network }}
29 ip: 192.168.100.{{ node_ip_offset + number }}
30 gateway: {{ gateway }}
31 mask: {{ netmask }}
32 dns: {{ gateway }}
b3b6e05e
TL
33 disks: {{ disks }}
34 pool: {{ pool }}
b3b6e05e 35 sharedfolders: [{{ ceph_dev_folder }}]
522d829b
TL
36 files:
37 - bootstrap-cluster.sh
b3b6e05e
TL
38 cmds:
39 - dnf -y install python3 chrony lvm2 podman
40 - sed -i "s/SELINUX=enforcing/SELINUX=permissive/" /etc/selinux/config
41 - setenforce 0
42 {% if number == 0 %}
522d829b 43 - bash /root/bootstrap-cluster.sh
b3b6e05e
TL
44 {% endif %}
45{% endfor %}