<p>I'm new to kubernetes and <strong>trying to deploy VM using Kubernetes</strong> and using this <strong><a href="https://gist.github.com/rajatsingh25aug/5f522906f2606613927c5cd43d2b6c9e" rel="nofollow noreferrer">YAML</a></strong>. But when I do
<strong><code>oc create -f &lt;yaml_link_above&gt;</code></strong>, I get an error as</p>
<p><em><strong><code> The  &quot;&quot; is invalid: : spec.template.spec.volumes.userData in body is a forbidden property</code></strong></em></p>
<p>I don't see any problem with the formatting with the YAML or whatsoever, maybe I'm missing anything?.</p>

Rajat Singh
<p>It seems that your Dynamic Provisioning doesn't work properly. Follow these steps <a href="https://docs.openshift.com/container-platform/3.5/install_config/storage_examples/ceph_rbd_dynamic_example.html" rel="nofollow noreferrer">dynamics-provisioning-ceph</a> to configure Ceph RBD Dynamic Storage Class.</p>

<p>Then check if pvc is created properly. After all apply your VM config file.</p>

<p>Here are useful documentations: <a href="https://kubevirt.io/user-guide/docs/latest/creating-virtual-machines/virtualized-hardware-configuration.html" rel="nofollow noreferrer">hardware-configuration</a>, <a href="https://kubevirt.io/user-guide/docs/latest/creating-virtual-machines/disks-and-volumes.html" rel="nofollow noreferrer">disk-volumes</a>.</p>
