Skip to content

Commit

Permalink
Merge pull request #2 from tnscorcoran/main
Browse files Browse the repository at this point in the history
Progress on Scenario 2
  • Loading branch information
neoxu999 authored Jun 4, 2024
2 parents b47b1d1 + 957f459 commit 3d25dd7
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 74 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
out
.next
.husky
*.DS_Store
10 changes: 5 additions & 5 deletions data/siteMetadata.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
const siteMetadata = {
title: 'Red Hat OpenShift Windows Container Workshop',
title: 'Red Hat OpenShift AI Hackathon',
author: 'Red Hat',
headerTitle: 'Red Hat',
description: 'Red Hat OpenShift Windows Container Workshop',
description: 'Red Hat OpenShift AI Hackathon',
language: 'en-us',
siteUrl: 'https://jmhbnz.github.io/workshops',
siteRepo: 'https://github.com/jmhbnz/workshops',
siteUrl: 'https://odh-labs.github.io/workshop',
siteRepo: 'https://github.com/odh-labs/hackathon',
siteLogo: '/static/images/redhat.png',
image: '/static/images/avatar.png',
socialBanner: '/static/images/twitter-card.png',
email: '[email protected]',
github: 'https://github.com/jmhbnz',
github: 'https://github.com/odh-labs',
twitter: 'https://twitter.com/redhat',
facebook: 'https://facebook.com',
youtube: 'https://www.youtube.com',
Expand Down
28 changes: 15 additions & 13 deletions data/workshop/scenario1.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: Understanding the hackathon environment
exercise: 1
date: '2024-04-14'
tags: ['openshift','virtualisation','kubernetes','kubevirt']
date: '2024-06-05'
tags: ['openshift','ai','kubernetes']
draft: false
authors: ['default']
summary: "Let's get underway with the hackathon."
---

Welcome to the OpenShift Virtualisation Hackathon! Here you'll have a chance to build your container native virtualisation prowess. Exercises will award points for each correct solution.
Welcome to the OpenShift AI Hackathon! Here you'll have a chance to build your AI prowess. Exercises will award points for each correct solution.

You're in a race to reach the highest score before the session concludes! If multiple teams complete all exercises so share points totals a further ranking will be done by elapsed time based on when slack messages are sent.

Expand All @@ -23,35 +23,37 @@ You're in a race to reach the highest score before the session concludes! If mul
| *Acme Financial Services* |
</Zoom>

Acme Financial Services is a large bank based in Australia. They have a number of virtual machine workloads that are running on a traditional hypervisor and are considering moving these to another platform.
Acme Financial Services is a large bank based in Australia. They have been tinkering with deploying AI models and are now ready to put a proper AI platform in place and operationalise their AI model deployment.

One of the potential options for Acme Financial Services is to adopt Red Hat OpenShift Virtualisation as a container native virtualisation platform.
One of the potential options for Acme Financial Services is to adopt Red Hat OpenShift AI as an ML OPs platform.

Your hackathon team are the pre-sales technical team engaging with Acme technical teams to secure buy-in for a large scale migration to proceed.
Your hackathon team are the pre-sales technical team engaging with Acme technical teams to secure buy-in for a large scale production deployment to proceed.


## 1.1 - Understanding the environment

For this challenge you'll be given a fresh bare metal OpenShift 4 cluster **with the OpenShift Virtualisation operator already installed**.

All challenge tasks must be performed on this cluster so your solutions can be graded successfully.
For this challenge you'll be given two OpenShift clusters
- an AWS ROSA OpenShift 4 cluster representing the ACME cloud environment
- a Single Node OpenShift cluster representing the ACME On Premises environment

All challenge tasks must be performed on these clusters so your solutions can be graded successfully.
Some challenges wil require the use of specific clusters
You can and are encouraged to use any supporting documentation or other resources in order to tackle each of the challenge tasks.

<Zoom>
|![cluster](/workshops/static/images/hackathon/cluster.png) |
|:-----------------------------------------------------------------------------:|
| *OpenShift bare metal cluster console* |
| *OpenShift cluster console* |
</Zoom>


## 1.2 - Obtain your environment

Working in a small team you will have one shared cluster for team members to share. Your team will have a name allocated already.
Working in a small team you will have two shared clusters for team members to use. Your team will have a name allocated already.

To get underway open your web browser and navigate to this link to allocate an environment for your team https://demo.redhat.com/workshop/s72ya3.

Register for an environment using `[team name]@redhat.com` and the password provided by your hackathon organisers. Registering with a team email will mean all your team members will be able to see the same cluster details for your shared team cluster.
Register for an environment using `[team name]@redhat.com` and the password provided by your hackathon organisers. Registering with a team email will mean all your team members will be able to see the same cluster details for your shared team clusters.

<Zoom>
|![cluster](/workshops/static/images/hackathon/workshop.png) |
Expand All @@ -62,7 +64,7 @@ Register for an environment using `[team name]@redhat.com` and the password prov

## 1.4 - Confirm environment access

If your team have secured an environment and are ready to start the challenge please post a message in `#event-anz-ocp-virt-hackathon` with the message:
If your team have secured an environment and are ready to start the challenge please post a message in `#event-anz-ocp-ai-hackathon` with the message:

> [team name] have logged into an environment and are starting the challenge!
Expand Down
23 changes: 23 additions & 0 deletions data/workshop/scenario2.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Hybrid Cloud AI model deployment
exercise: 2
date: '2024-06-05'
tags: ['openshift','ai','kubernetes']
draft: false
authors: ['default']
summary: "Let's deploy the first model across the hybrid cloud."
---

As a sales team you've got an upcoming demo with the Acme Financial Services data science team, who have been training models on their laptops.
The team have given you access to one of their models in the ACME Financial Services object storage and want to see how this could be deployed to a cluster running in the cloud.


## 2.1 - Replicate Model to Cloud Storage

For this task, your team are required to use the `granite-7b-lab` model available in the object storage running in the ACME Financial Services on prem cluster which is based on Minio.

After locating the model in on premises object storage, your team need to replicate this model to the ACME Financial Services cloud object storage

## 2.2 - Deploy the model

For this challenge you'll be given two OpenShift clusters
62 changes: 6 additions & 56 deletions public/feed.xml
Original file line number Diff line number Diff line change
@@ -1,74 +1,24 @@

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Red Hat OpenShift Virtualisation Hackathon</title>
<link>https://jmhbnz.github.io/workshops/workshop</link>
<description>Red Hat OpenShift Virtualisation Hackathon</description>
<title>Red Hat OpenShift AI Hackathon</title>
<link>https://odh-labs.github.io/workshop/workshop</link>
<description>Red Hat OpenShift AI Hackathon</description>
<language>en-us</language>
<managingEditor>[email protected] (Red Hat)</managingEditor>
<webMaster>[email protected] (Red Hat)</webMaster>
<lastBuildDate>Sun, 14 Apr 2024 00:00:00 GMT</lastBuildDate>
<atom:link href="https://jmhbnz.github.io/workshops/feed.xml" rel="self" type="application/rss+xml"/>
<atom:link href="https://odh-labs.github.io/workshop/feed.xml" rel="self" type="application/rss+xml"/>

<item>
<guid>https://jmhbnz.github.io/workshops/workshop/scenario1</guid>
<guid>https://odh-labs.github.io/workshop/workshop/scenario1</guid>
<title>Understanding the hackathon environment</title>
<link>https://jmhbnz.github.io/workshops/workshop/scenario1</link>
<link>https://odh-labs.github.io/workshop/workshop/scenario1</link>
<description>Let&#39;s get underway with the hackathon.</description>
<pubDate>Sun, 14 Apr 2024 00:00:00 GMT</pubDate>
<author>[email protected] (Red Hat)</author>
<category>openshift</category><category>virtualisation</category><category>kubernetes</category><category>kubevirt</category>
</item>

<item>
<guid>https://jmhbnz.github.io/workshops/workshop/scenario2</guid>
<title>What about my legacy technical debt?</title>
<link>https://jmhbnz.github.io/workshops/workshop/scenario2</link>
<description>Will OpenShift Virtualisation run Acme virtual machines?</description>
<pubDate>Sun, 14 Apr 2024 00:00:00 GMT</pubDate>
<author>[email protected] (Red Hat)</author>
<category>openshift</category><category>virtualisation</category><category>kubernetes</category><category>kubevirt</category>
</item>

<item>
<guid>https://jmhbnz.github.io/workshops/workshop/scenario3</guid>
<title>But can it do live migration?</title>
<link>https://jmhbnz.github.io/workshops/workshop/scenario3</link>
<description>Will OpenShift Virtualisation live migrate a virtual machine?</description>
<pubDate>Sun, 14 Apr 2024 00:00:00 GMT</pubDate>
<author>[email protected] (Red Hat)</author>
<category>openshift</category><category>virtualisation</category><category>kubernetes</category><category>kubevirt</category>
</item>

<item>
<guid>https://jmhbnz.github.io/workshops/workshop/scenario4</guid>
<title>What about balancing vm workloads?</title>
<link>https://jmhbnz.github.io/workshops/workshop/scenario4</link>
<description>How do we optimally balance vm workloads across an OpenShift cluster?</description>
<pubDate>Sun, 14 Apr 2024 00:00:00 GMT</pubDate>
<author>[email protected] (Red Hat)</author>
<category>openshift</category><category>virtualisation</category><category>kubernetes</category><category>kubevirt</category>
</item>

<item>
<guid>https://jmhbnz.github.io/workshops/workshop/scenario5</guid>
<title>How do I resize virtual machine disks again?</title>
<link>https://jmhbnz.github.io/workshops/workshop/scenario5</link>
<description>Persistent volume what??</description>
<pubDate>Sun, 14 Apr 2024 00:00:00 GMT</pubDate>
<author>[email protected] (Red Hat)</author>
<category>openshift</category><category>virtualisation</category><category>kubernetes</category><category>kubevirt</category>
</item>

<item>
<guid>https://jmhbnz.github.io/workshops/workshop/scenario6</guid>
<title>Can I connect my pods to my virtual machine?</title>
<link>https://jmhbnz.github.io/workshops/workshop/scenario6</link>
<description>How do we make a virtual machine accessible over the OpenShift SDN</description>
<pubDate>Sun, 14 Apr 2024 00:00:00 GMT</pubDate>
<author>[email protected] (Red Hat)</author>
<category>openshift</category><category>virtualisation</category><category>kubernetes</category><category>kubevirt</category>
</item>

</channel>
</rss>
Binary file modified public/static/images/hackathon/cluster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d25dd7

Please sign in to comment.