Make exercise 3 more difficult.

This commit is contained in:
2024-04-14 15:17:05 +12:00
parent eedb480174
commit a238cf3a2f
4 changed files with 26 additions and 20 deletions

View File

@ -15,7 +15,7 @@ Thinking on your feet you remember the Fedora virtual machine you were tinkering
The Acme Financial Services team have put you on the spot, can you pull off a virtual machine live migration? 😅
<Zoom>
|![workshop](/workshops/static/images/hackathon/broken-vm.png) |
|![workshop](/workshops/static/images/hackathon/broken-vm-wojek.png) |
|:-----------------------------------------------------------------------------:|
| *He's dead Jim...* |
</Zoom>
@ -30,7 +30,7 @@ No command line is required. However before you can complete the migration you w
Documentation you may find helpful is:
- https://docs.openshift.com/container-platform/4.15/virt/live_migration/virt-configuring-live-migration.html
- https://docs.openshift.com/container-platform/4.15/virt/virtual_machines/advanced_vm_management/virt-specifying-nodes-for-vms.html
- https://docs.openshift.com/container-platform/4.15/virt/virtual_machines/advanced_vm_management/virt-schedule-vms.html
## 3.2 - Check your work

View File

@ -1,27 +1,33 @@
---
title: What about rebalancing virtual machines?
exercise: 4
date: '2024-04-05'
date: '2024-04-14'
tags: ['openshift','virtualisation','kubernetes','kubevirt']
draft: false
authors: ['default']
summary: "How do we optimally balance vm workloads across an OpenShift cluster?"
---
Acme Financial Services have agreed to run a small scale proof of concept for OpenShift Virtualisation.
After your teams slick demos the Acme Financial Services have agreed to run a small scale proof of concept for OpenShift Virtualisation 🎉
They have spun up a bare metal OpenShift cluster, installed OpenShift Virtualisation and now have a small number of virtual machines running.
One of the goals of the pilot is to ensure their virtual machine workloads will run efficiently on their new infrastructure and continually auto balance over time based on available underlying infrastructure capacity so they don't have some nodes much busier than others.
The Acme team are stuck on how they might implement this goal within the poc. They told you they found some documentation online on this thing called "deschedular" but didn't have any luck setting it up.
The Acme team are stuck on how they might implement this goal within their current sprint. They told you they found some documentation online on this thing called "deschedular" but have decided it would be easier to call you and ask for a walkthrough.
Your pre-sales team have offered to setup an example environment for them and give them a quick demo on how it works.
Your pre-sales team have offered to setup an example environment for them and step through how to enable the feature.
<Zoom>
|![workshop](/workshops/static/images/hackathon/broken-vm-wojek.png) |
|:-----------------------------------------------------------------------------:|
| *He's dead Jim...* |
</Zoom>
## 3.1 - Enabling virtual machine balancing profiles
## 4.1 - Enabling virtual machine balancing profiles
Your challenge for this task is to enable the Technology Preview feature for Virtual Machine workload balancing in OpenShift.
Your challenge for this task is to enable the **Technology Preview** feature for Virtual Machine workload balancing in OpenShift.
You'll need to make some changes at both the cluster and virtual machine level.
@ -29,7 +35,7 @@ Documentation you may find helpful is:
- https://docs.openshift.com/container-platform/4.15/virt/virtual_machines/advanced_vm_management/virt-enabling-descheduler-evictions.html
## 3.2 - Check your work
## 4.2 - Check your work
If you've successfully enabled deschedular evictions for a virtual machine please post a message in `#event-anz-ocp-virt-hackathon` with the message: