| 1 | === Lab VMs Setup === |
| 2 | |
| 3 | In our lab sessions we are assigning some IP ranges for each of you. Please refer to the IP allocation table [https://ws.learn.ac.lk/wiki/containerization2023Agenda/IPAllocation here]. |
| 4 | |
| 5 | First for your computer assign the IP address given as '''Host Machine'''. |
| 6 | For this workshop we need to create 3 VMs in total. VMs are named as '''Master Node, Worker Node 1 and Worker Node 2'''. Accordingly we have given the relevant IP addresses for those as well in the table. But for this Lab session we only need a single a VM. Later you may create other 2 VMs. |
| 7 | |
| 8 | Let's create a VM and give it the IP address allocated for '''Master Node'''.For this we are going to use Oracle Virtual Box 7.0 latest. If you haven't installed it on your computer download and install it.Install Virtual Box software with default settings, make sure you have enabled virtualization support from your host machine BIOS. |
| 9 | |
| 10 | For all 3 VMs, we are going to Ubuntu 22.04 latest as the Operating System. For the Lab we are providing with a you a preinstalled Virtual Appliance file and you can download it from this [http://192.248.4.233/ws-files/ubuntu-22.ova link]. |
| 11 | |
| 12 | Import downloaded virtual appliance file (OVA file) into Oracle virtual box from File > Import Appliance. |
| 13 | |
| 14 | While importing make sure to select '''Generate new MAC addresses for all Network Adapters''' from '''MAC Address Policy'''. Also you may change the field Name. For this Lab we recommend to have 4GB RAM and 4 CPU cores. You may change fields accordingly. Click finish to import the appliance. |
| 15 | |
| 16 | Select the VM from left panel on Virtual box, right click and open Settings. Go to '''Network''' menu and on Adapter 1 choose '''Attached to''' be Bridged Adapter, then select the name of the network adapter currently you are connecting to the lab network. |
| 17 | |
| 18 | Then start the VM using Green arrow button. |
| 19 | |
| 20 | Once the VM is started login to the VM using below credentials. |
| 21 | |
| 22 | username : user |
| 23 | password : Learn2023 |
| 24 | |