Deckhouse Virtualization Platform for bare metal
Enable the virtualization module. In the parameter .spec.settings.virtualMachineCIDRs of the module, specify the subnets, IP addresses from which virtual machines will be assigned. For DVCR image storage, set the PVC size and StorageClass name (the example uses sds-r1 created in the previous step):
sudo -i d8 k create -f - <<EOF
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: virtualization
spec:
enabled: true
settings:
dvcr:
storage:
persistentVolumeClaim:
size: 50G
storageClassName: sds-r1
type: PersistentVolumeClaim
virtualMachineCIDRs:
# Specify the subnets from which IP addresses will be assigned to virtual machines.
- 10.66.10.0/24
- 10.66.20.0/24
- 10.66.30.0/24
version: 1
EOF
The subnets of the .spec.settings.virtualMachineCIDRs block must not overlap with the subnets of the cluster nodes, the services subnet, or the pods subnet (podCIDR).