diff --git a/content/modules/ROOT/pages/exercise1-guided.adoc b/content/modules/ROOT/pages/exercise1-guided.adoc index 088605f..e0d370c 100644 --- a/content/modules/ROOT/pages/exercise1-guided.adoc +++ b/content/modules/ROOT/pages/exercise1-guided.adoc @@ -231,3 +231,7 @@ NAME AGE STATUS READY virtualmachine.kubevirt.io/exercise1 96m Running True ---- +=== What you learned + +In this exercise, you learned that virtual machines running on OpenShift Virtualization operate similarly to pods. +Specifically, when configuring resource `requests` for CPU or memory, you cannot allocate more resources to a virtual machine than are available on a single node. \ No newline at end of file diff --git a/content/modules/ROOT/pages/exercise10-guided.adoc b/content/modules/ROOT/pages/exercise10-guided.adoc index 2ab6126..93dfcf9 100644 --- a/content/modules/ROOT/pages/exercise10-guided.adoc +++ b/content/modules/ROOT/pages/exercise10-guided.adoc @@ -178,3 +178,5 @@ virtctl start exercise10-b ---- virtctl ssh lab-user@exercise10-a -c 'ping -c 3 192.168.0.11' ---- + +=== What you learned diff --git a/content/modules/ROOT/pages/exercise11-guided.adoc b/content/modules/ROOT/pages/exercise11-guided.adoc index 7f1bbe4..277bd27 100644 --- a/content/modules/ROOT/pages/exercise11-guided.adoc +++ b/content/modules/ROOT/pages/exercise11-guided.adoc @@ -167,3 +167,5 @@ oc apply -f exercise11-b.yaml ---- virtctl ssh lab-user@exercise11-a -c 'ping -c 3 192.168.0.11' ---- + +=== What you learned diff --git a/content/modules/ROOT/pages/exercise12-guided.adoc b/content/modules/ROOT/pages/exercise12-guided.adoc index d80e28a..886a0d8 100644 --- a/content/modules/ROOT/pages/exercise12-guided.adoc +++ b/content/modules/ROOT/pages/exercise12-guided.adoc @@ -198,7 +198,4 @@ Warning: Permanently added 'vmi/exercise12-a.namespace-{user}' (ED25519) to the Hey Hey Hey, it's working!! ---- - - - - +=== What you learned diff --git a/content/modules/ROOT/pages/exercise2-guided.adoc b/content/modules/ROOT/pages/exercise2-guided.adoc index 6780e4f..aeb2474 100644 --- a/content/modules/ROOT/pages/exercise2-guided.adoc +++ b/content/modules/ROOT/pages/exercise2-guided.adoc @@ -216,3 +216,7 @@ pod/virt-launcher-exercise2 1/1 Running 0 40s NAME AGE STATUS READY virtualmachine.kubevirt.io/exercise2 5m9s Running True ---- + +=== What you learned + +In this exercise, you learned that virtual machines cannot be started if a `nodeSelector` is defined and no nodes match the specified label in the `nodeSelector`. \ No newline at end of file diff --git a/content/modules/ROOT/pages/exercise3-guided.adoc b/content/modules/ROOT/pages/exercise3-guided.adoc index b273f5f..25fbef4 100644 --- a/content/modules/ROOT/pages/exercise3-guided.adoc +++ b/content/modules/ROOT/pages/exercise3-guided.adoc @@ -239,4 +239,10 @@ or [source,sh,role=execute,subs="attributes"] ---- oc exec curlimage -- curl -s https://exercise3-namespace-{user}.apps.cluster-{guid}.dynamic.redhatworkshops.io ----- \ No newline at end of file +---- + +=== What you learned + +In this exercise, you learned how to troubleshoot issues preventing external access to an application by examining all related network components in OpenShift. +You tested the application within the virtual machine, verified the service, and checked the route. +These steps help you to determine whether the issue is within OpenShift or an external system. \ No newline at end of file diff --git a/content/modules/ROOT/pages/exercise4-break.adoc b/content/modules/ROOT/pages/exercise4-break.adoc index b759b6c..4b7f365 100644 --- a/content/modules/ROOT/pages/exercise4-break.adoc +++ b/content/modules/ROOT/pages/exercise4-break.adoc @@ -7,8 +7,6 @@ In this scenario, a Virtual Machine named `exercise4` is currently in a Running Your task is to investigate the problem by analyzing the VM’s resource usage, including CPU, memory, and other relevant metrics. You are permitted to adjust the VM's compute resources as needed to resolve the issue; however, a reboot is not permitted. -NOTE: The goal is to identify bottlenecks or misconfigurations and implement optimizations to enhance the application's efficiency within the virtualized infrastructure. - === Analyzing CPU utilization within the virtual machine ++++ diff --git a/content/modules/ROOT/pages/exercise4-guided.adoc b/content/modules/ROOT/pages/exercise4-guided.adoc index 6b9d5b2..cb4b338 100644 --- a/content/modules/ROOT/pages/exercise4-guided.adoc +++ b/content/modules/ROOT/pages/exercise4-guided.adoc @@ -7,7 +7,12 @@ In this scenario, a Virtual Machine named `exercise4` is currently in a Running Your task is to investigate the problem by analyzing the VM’s resource usage, including CPU, memory, and other relevant metrics. You are permitted to adjust the VM's compute resources as needed to resolve the issue; however, a reboot is not permitted. -NOTE: The goal is to identify bottlenecks or misconfigurations and implement optimizations to enhance the application's efficiency within the virtualized infrastructure. +[NOTE] +==== +* The goal is to identify bottlenecks or misconfigurations and implement optimizations to enhance the application's efficiency within the virtualized infrastructure. +* Do not kill any process running inside the virtual machine +* Do not reboot the virtual machine +==== The steps to fix exercise4 are: @@ -174,3 +179,5 @@ virtctl ssh lab-user@exercise4 -c 'lscpu | grep Socket' Warning: Permanently added 'vmi/exercise4.namespace-{user}' (ED25519) to the list of known hosts. 4 ---- + +=== What you learned diff --git a/content/modules/ROOT/pages/exercise5-guided.adoc b/content/modules/ROOT/pages/exercise5-guided.adoc index faaacc3..35cb0e3 100644 --- a/content/modules/ROOT/pages/exercise5-guided.adoc +++ b/content/modules/ROOT/pages/exercise5-guided.adoc @@ -128,3 +128,5 @@ virtctl console exercise5 ---- - Check the disk availability using lsblk or fdisk -l command. The new additional disk from exercise5-vol-data1 should be there and ready to be format and mount by the user. + +=== What you learned diff --git a/content/modules/ROOT/pages/exercise6-guided.adoc b/content/modules/ROOT/pages/exercise6-guided.adoc index 86af320..69cda2f 100644 --- a/content/modules/ROOT/pages/exercise6-guided.adoc +++ b/content/modules/ROOT/pages/exercise6-guided.adoc @@ -260,4 +260,6 @@ oc get vmi ---- NAME AGE PHASE IP NODENAME READY exercise6 3m50s Running 10.135.1.196 worker-cluster-vmnjk-3 True ----- \ No newline at end of file +---- + +=== What you learned diff --git a/content/modules/ROOT/pages/exercise7-guided.adoc b/content/modules/ROOT/pages/exercise7-guided.adoc index 9e31241..a67af95 100644 --- a/content/modules/ROOT/pages/exercise7-guided.adoc +++ b/content/modules/ROOT/pages/exercise7-guided.adoc @@ -121,3 +121,4 @@ NAME TARGETKIND TARGETNAME COMPLETE RESTORETIM restore-exercise7-snapshot VirtualMachine exercise7 true 38s ---- +=== What you learned diff --git a/content/modules/ROOT/pages/exercise8-guided.adoc b/content/modules/ROOT/pages/exercise8-guided.adoc index dc48120..3c899d5 100644 --- a/content/modules/ROOT/pages/exercise8-guided.adoc +++ b/content/modules/ROOT/pages/exercise8-guided.adoc @@ -98,4 +98,6 @@ oc logs $PODNAME -n namespace-{user} -f --tail 10 [source,sh,role=execute,subs="attributes"] ---- virtctl ssh lab-user@exercise8 ----- \ No newline at end of file +---- + +=== What you learned diff --git a/content/modules/ROOT/pages/exercise9-guided.adoc b/content/modules/ROOT/pages/exercise9-guided.adoc index 7501d97..342bff1 100644 --- a/content/modules/ROOT/pages/exercise9-guided.adoc +++ b/content/modules/ROOT/pages/exercise9-guided.adoc @@ -111,4 +111,6 @@ virtctl ssh lab-user@exercise9 --command 'sudo shutdown -h now' [source,sh,role=execute,subs="attributes"] ---- oc get vm ----- \ No newline at end of file +---- + +=== What you learned diff --git a/content/modules/ROOT/pages/lab-environment.adoc b/content/modules/ROOT/pages/lab-environment.adoc index 857a203..8ad9c39 100644 --- a/content/modules/ROOT/pages/lab-environment.adoc +++ b/content/modules/ROOT/pages/lab-environment.adoc @@ -74,4 +74,8 @@ At the end of this lab, there's a xref:guidedsolution.adoc[Guided Solution] for TIP: In this lab, there's no direct way to open a second terminal. However, on bastion you can use `tmux`, which comes pre-installed with some user-friendly customizations to enhance your experience. To start `tmux`, simply type `tmux` in the bastion terminal. -TIP: To copy and paste within `tmux`, use the mouse to select the text for copying, and press `Ctrl + V` to paste. \ No newline at end of file +TIP: To copy and paste within `tmux`, use the mouse to select the text for copying, and press `Ctrl + V` to paste. + +=== What you learned section + +At the end of each `Guided Solution` exercise, you'll find a detailed explanation of the solution along with a review of the key concepts and skills you learned during the activity. \ No newline at end of file