Start writing windows exercise 1.

This commit is contained in:
2024-05-27 00:48:39 +12:00
parent e6eda458c0
commit 73615265dd
4 changed files with 64 additions and 0 deletions

53
data/windows/README.org Normal file
View File

@ -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 <api-server>
#+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

View File

@ -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.
<Zoom>
|![workshop](/workshops/static/images/windows/workshop.png) |
|:-----------------------------------------------------------------------------:|
| *Obtaining a workshop environment* |
</Zoom>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB