Deploying a sample Microservice Application using Kubernetes and Istio Service Mesh — Part 1

Karthik Rao V
5 min readJul 11, 2021

--

This article is the first of the 3 part series

  1. Install Ubuntu 20.01 on Oracle VirtualBox
  2. Install Docker & Kubernetes using Minikube on Ububtu OS
  3. Install Istio and Deploy the sample Microservice application

The article uses the following versions :

  • Windows 10 64 bit
  • Oracle Virtualbox v 6.1.22
  • Minikube
  • Docker
  • Kubernetes

Part 1 : Install Ubuntu 20.04 on Oracle VirtualBox

Approx. time required : 60–90 minutes

Download the latest version of Oracle VirtualBox and install it

Download the latest version of Ubuntu ISO Image

Open the VirtualBox Application and Click on the New Button

In the screen that opens, use the below options :

  • Name : Provide a name for your Virtual Machine
  • Machine Folder : Provide a Path for the VM (Leave it default if you are not sure)
  • Type : Linux
  • Version : Ubuntu (64-bit)

Select the Memory Size in the next screen

While it is recommended to use at least 4096 MB of RAM, please use as per your system’s configurations

In the next screen, select the default option ‘Create a virtual hard disk now’

In the next screen, select the default Hard disk file type (VDI VirtualBox Disk Image)

In the Storage options, I would recommend a Fixed size for better performance. However, there should not be any issues if you use Dynamically allocated as well.

If you are selecting Fixed Size, you get a prompt for the File Size. I would recommend at least 20 GB.

In case you do not have 20 GB of free space available, proceed with default

Please wait a few seconds while the fixed storage is being created

Once ready, you should see a screen something similar like this

Select the VM that was just created and click on Start

In the next screen, select the Ubuntu ISO image you downloaded earlier and click on Start

Please wait a few minutes while the ISO Image boots up

In the next few screens that appear :

Click on Install Ubuntu

Select the Language and Keyboard Layout (select default)

Select Normal Installation and check the Download Updates while Installing Ubuntu option

Select Erase disk and install Ubuntu and click on Install Now

(Don’t worry. This will not erase your Hard Drive :-) )

In the prompt you get for confirmation, click on Continue

Select the region / time-zone you are currently in

Provide your name, username and password. This is to be used to login to the Ubuntu Guest OS that gets installed

Hold back and relax !

Now is the time to get a cup of Coffee :)

The installation will take around 10–30 minutes to complete

(Depending upon your system specifications, the installation time may vary)

Once the installation is complete, you will be prompted to Restart. Please proceed with the restart.

If you get a screen saying “Please remove the installation medium, then press ENTER:” ….., well ……! just press Enter.

Once the system boots up, Skip the Connect online accounts option and click Next a few times until you are greeted with the Ubuntu home screen

You are now all set to go to the next part of the series !

(The below steps are optional and recommended for enhanced user experience)

If you are prompted to install any Software updates, please proceed to do so followed by a System Restart

Next, click on Devices and select ‘Install Guest Additions CD Image’ and click on ‘Run’

While this has some known issues and if you run into one like below :

This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.

Close the terminal, open a new one (Ctrl + Alt + T) and run the below command which should do the trick :)

sudo apt updatesudo apt install -y virtualbox-guest-utils virtualbox-guest-dkms

This completes the entire setup of Part-1 and you should be all set to start the next phase.

Thank You everyone for viewing this article. Please share and leave your comments.

--

--

Karthik Rao V
Karthik Rao V

Written by Karthik Rao V

A technology enthusiast with a passion and love for writing !

Responses (1)