kcli create cluster openshift -P clusterprofile=sample-openshift-compact mno-412 -P tag=4.12.1 -P api_ip=192.168.122.252
paramsfile.yaml
clusterprofile: sample-openshift-compact
tag: 4.12.1
api_ip: 192.168.122.252
vmrules:
- mno-412-ctlplane-0:
nets:
- ip: 192.168.122.100
mask: 24
gateway: 192.168.122.1
- mno-412-ctlplane-1:
nets:
- ip: 192.168.122.101
mask: 24
gateway: 192.168.122.1
- mno-412-ctlplane-2:
nets:
- ip: 192.168.122.102
mask: 24
gateway: 192.168.122.1To deploy the cluster with the above params file
kcli create cluster openshift mno-412 --pf ./paramsfile.yamlkcli create cluster openshift --force -P ctlplanes=1 -P memory=32768 -P version=stable -P tag=4.12.20 sno-4.12kcli create cluster openshift -P clusterprofile=sample-single-node sno-414 -P tag=4.14.18# kcli info cluster-profile sample-openshift-sno
memory: 32768
apps: ['lvms-operator', 'users']
ctlplanes: 1
disk_size: 100
extra_disks: [100]
numcpus: 16
ovn_hostrouting: False
sslip: False
workers: 0