Skip to content

Commit c72b506

Browse files
committed
Update Blog “migrating-vsphere-virtual-volumes-to-kubevirt-with-hpe-csi-driver-for-kubernetes”
1 parent a242251 commit c72b506

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/blog/migrating-vsphere-virtual-volumes-to-kubevirt-with-hpe-csi-driver-for-kubernetes.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Another detail in the playbook that might need clarification is that the Test_DB
174174
175175
The last few output lines of the playbook reveal that the database was deployed and tested properly.
176176
177-
```
177+
```shell
178178
...
179179
+---------+--------+
180180
| summary | result |
@@ -196,7 +196,7 @@ mariadb-legacy : ok=15 changed=2 unreachable=0 failed=0 s
196196
197197
Once the prerequisites have been installed, we can also inspect the hypervisor platform each VM is running on, to ensure what we’re doing is actually being executed where we expect it.
198198
199-
```
199+
```shell
200200
$ ansible -m command all -b -a virt-what
201201
mariadb-legacy | CHANGED | rc=0 >>
202202
vmware
@@ -267,7 +267,7 @@ So, where does “dat-mariadbl-56480669” come from? It’s the storage array v
267267
268268
Create the PVC and attach the PVC as a disk to the running KubeVirt VM.
269269
270-
```
270+
```shell
271271
$ kubectl create -f pvc-clone.yaml
272272
```
273273

@@ -321,7 +321,7 @@ Once attached, a “migrate” playbook will mount the disk in inside the VM and
321321
322322
Executing the playbook should reveal the test results and we can visually inspect the database is actually running on the KubeVirt VM.
323323
324-
```
324+
```shell
325325
...
326326
+---------+--------+
327327
| summary | result |
@@ -364,7 +364,7 @@ In the OKD UI, detach the volume and delete the PVC.
364364
365365
![](/img/detach-disk.png "Detach disk from VM")
366366
367-
```
367+
```shell
368368
$ kubectl delete -f pvc-clone.yaml
369369
```
370370

@@ -394,13 +394,13 @@ spec:
394394
395395
Create the PVC.
396396
397-
```
397+
```shell
398398
$ kubectl create -f pvc-migrate.yaml
399399
```
400400

401401
Now, repeat the step within OKD to attach the PVC as a disk to the running VM. Once attached, run the “migrate” playbook.
402402

403-
```
403+
```shell
404404
...
405405
+---------+--------+
406406
| summary | result |

0 commit comments

Comments
 (0)