The variables are discussed more in the Kubernetes document. The working-dir variable is the folder that houses the OpenShift guest machines. In vSphere, the folder syntax will be /Datacenter/vm/foldername.

Using GOVC

The tool govc is a GO-based application for interacting with vSphere and vCenter.

vSphere Pre-requisites

disk.enableUUID

Next, the enableUUID parameter needs to be set on all virtual machines in the OCP cluster. The option is necessary so that the VMDK always presents a consistent UUID to the VM, this allows the new disk to be mounted properly.

The enableUUID option can be set at the template or VM in the vCenter client. Next, the template would then be used to deploy the OpenShift VMs.

Secondly, the disk is ready to be consumed by a VM to be attached to a POD.

Lastly, while datastores are generally accessible via shared storage across a vCenter cluster, the VMDKs are tied to a specific machine. This explains the ‘ReadWriteOnce’ limitation of the persistent storage.