DEV Community

RodrigoMuneralha25
RodrigoMuneralha25

Posted on

How to install K8s locally in VirtualBox (self Lab for Beginner)

If you do not currently have an environment to test your workloads, run tests kubectl cmds, or build a beginner self-learning lab, my suggestion is to create your own lab environment using VirtualBox.

Pre-requisite

  1. Available resource computer in you locally machine (CPU, RAM, Storage)
  2. Familiarity with Linux environments (1 year of experience).
  3. Seeking and desire to learn about Kubernetes and different deployment models.

Steps:

  1. Download Oracle VirtualBox
  2. Download A ISO Oracle Linux 9.x (FREE)
  3. Create VM on VirtualBox
  4. Install Oracle Linux 9.x (Minimal)
  5. Install and prepare Kubernetes locally (single) dependencies and packages

Procedure

  1. Download Oracle VirtualBox
  • go to the URL https://virtualbox.org/wiki/Downloads
  • choose you type locally computer (the tuttorial is Windows Desktop)
  • install on local compute and apropriate drive (Next> Next> Finished)
  1. Download the ISO OL 9 Free

  1. Create VM on VirtualBox
    • click botton New Virtual Machine
    • follow the screen suggestion to create VM

--suggestion settings VMs
in System Settings Enter
4 GB RAM
2 Processor
20 GB Storage
MotherBoard >> Pointing Device change to USB Tablet
in Network option (select Bridget) my preference

Update you Packet Repo

Top comments (0)