diff --git a/data/windows/README.org b/data/windows/README.org new file mode 100644 index 0000000..bd5a928 --- /dev/null +++ b/data/windows/README.org @@ -0,0 +1,53 @@ +#+TITLE: OpenShift Workshops +#+AUTHOR: James Blair +#+DATE: <2024-05-26 Sun> + +This directory contains the setup instructions for an OpenShift Windows Container Workshop. + +* Pre-requisites + +This guide assumes you have an existing OpenShift 4.15 cluster running in AWS. + +For my purposes I have clusters provisioned via the Red Hat Demo System. + +* Cluster setup + +Follow the steps below to prepare each cluster in advance of the hackathon. + +** Login and verify network + +Our first step is to login to the cluster and confirm cluster network details + +#+begin_src tmux +oc login --web +#+end_src + +#+begin_src tmux +# Check cluster cidr +oc get network.operator cluster -o yaml +#+end_src + +** Enable hybrid overlay networking + +https://docs.openshift.com/container-platform/4.15/networking/ovn_kubernetes_network_provider/configuring-hybrid-networking.html#configuring-hybrid-ovnkubernetes + +#+begin_src tmux +# Patch the cluster network to enable hybrid overlay networking +oc patch networks.operator.openshift.io cluster --type=merge \ + -p '{ + "spec":{ + "defaultNetwork":{ + "ovnKubernetesConfig":{ + "hybridOverlayConfig":{ + "hybridClusterNetwork":[ + { + "cidr": "10.128.0.0/14", + "hostPrefix": 23 + } + ] + } + } + } + } + }' +#+end_src diff --git a/data/workshop/exercise1.mdx b/data/workshop/exercise1.mdx index ac86dfb..5de016c 100644 --- a/data/workshop/exercise1.mdx +++ b/data/workshop/exercise1.mdx @@ -13,3 +13,14 @@ Welcome to the OpenShift Windows Containers Workshop! Here you'll have a chance **Let's get started!** +## 1.1 - Obtaining your environment + +To get underway open your web browser and navigate to the following link to reserve yourself a user https://demo.redhat.com/workshop/98b7pu. You can reserve an environment by entering any email address along with the password provided by your workshop facilitator. + + +|![workshop](/workshops/static/images/windows/workshop.png) | +|:-----------------------------------------------------------------------------:| +| *Obtaining a workshop environment* | + + + diff --git a/public/static/images/windows/operator-install.gif b/public/static/images/windows/operator-install.gif new file mode 100644 index 0000000..525c1d9 Binary files /dev/null and b/public/static/images/windows/operator-install.gif differ diff --git a/public/static/images/windows/workshop.png b/public/static/images/windows/workshop.png new file mode 100644 index 0000000..9c3cdc5 Binary files /dev/null and b/public/static/images/windows/workshop.png differ