m0saan / Inception-of-Things-3M

This project aims to introduce you to kubernetes from a developer perspective. You will have to set up small clusters and discover the mechanics of continuous integration. At the end of this project you will be able to have a working cluster in docker and have a usable continuous integration for your applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inception-of-Things

This project aims to introduce you to Kubernetes from a developer perspective. You will set up small clusters and discover the mechanics of continuous integration. At the end of this project, you will be able to have a working cluster in Docker and a usable continuous integration setup for your applications.

Installation

Clone the project

git clone https://github.com/m0saan/Inception-of-Things-3M.git

Go to the project directory

cd Inception-of-Things-3M

Install dependencies

Inside the folder Part-1, this Vagrantfile and associated scripts are used to set up a Kubernetes cluster with one controller node and one worker node using the K3s lightweight Kubernetes distribution.

Step 1: Create the VMs

  • Run vagrant up in the project directory to create the VMs. This will create two VMs named m0saanS and m0saanSW with dedicated IPs on the eth1 interface. The IP of the first machine (Server) will be 192.168.56.110, and the IP of the second machine (Worker) will be 192.168.56.111.

Step 2: Access the cluster

  • SSH into the m0saanS VM using vagrant ssh m0saanS
  • Use kubectl commands to interact with the cluster sudo kubectl get nodes -o wide.

Screenshots

Creating VMs with vagrant Creating VMs with vagrant Log-in with ssh to both VMs

About

This project aims to introduce you to kubernetes from a developer perspective. You will have to set up small clusters and discover the mechanics of continuous integration. At the end of this project you will be able to have a working cluster in docker and have a usable continuous integration for your applications.

License:Apache License 2.0


Languages

Language:Shell 100.0%