Single Node OpenShift on OpenShift Virtualization
DNS Records
Create DNS Records to VM IP
- api-int.cluster-name.baseDomain
- api.cluster-name.baseDomain
- *.apps.cluster-name.baseDomain
Installations
Official documentation: https://docs.openshift.com/container-platform/latest/installing/installing_sno/install-sno-installing-sno.html
Create ignition config & Upload it
| openshift-install --dir=ocp create single-node-ignition-config
|
Preare installation ISO
| curl -L -O https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.14/4.14.0/rhcos-4.14.0-x86_64-live.x86_64.iso
alias coreos-installer='podman run --privileged --pull always --rm -v /dev:/dev -v /run/udev:/run/udev -v $PWD:/data -w /data quay.io/coreos/coreos-installer:release'
coreos-installer iso ignition embed -fi ocp/bootstrap-in-place-for-live-iso.ign rhcos-4.14.0-x86_64-live.x86_64.iso
virtctl image-upload pvc live-iso-sno \
--size 2Gi --storage-class ocs-storagecluster-ceph-rbd \
--access-mode ReadWriteOnce \
--image-path rhcos-4.14.0-x86_64-live.x86_64.iso
|
Create VM
2024-01-04
2024-01-04
Contributors: