Skip to content

Set up a local Kubernetes cluster using Minikube for development and testing. Includes Docker integration, Kubernetes resource management, and monitoring with Prometheus and Grafana.

License

Notifications You must be signed in to change notification settings

skumbhar272002/Local-Kubernetes-Cluster-with-MiniKube

Repository files navigation

LocaL Kubernetes Cluster using Minikube

This repository contains the deployment configuration and source code for an Employee Management System designed to run on a Kubernetes cluster using Minikube. It showcases an automated CI/CD pipeline with GitHub Actions, containerization with Docker, and monitoring through the Kubernetes Dashboard.

Project Overview

The LocaL Kubernetes Cluster using Minikube is designed to demonstrate a fully operational DevOps pipeline utilizing Kubernetes, Docker, and GitHub Actions. It emphasizes best practices in continuous integration, continuous deployment, and infrastructure management, suitable for scalable cloud environments.

Features

  • Kubernetes Deployment: Utilizes Minikube for local cluster deployment.
  • Docker Integration: Containerization of the application for consistent development, testing, and production environments.
  • GitHub Actions: Automated workflows for CI/CD to build, test, and deploy the application upon commits.
  • Kubernetes Dashboard: Monitoring and managing the Kubernetes cluster's resources and health.

Prerequisites

Setup and Installation

1. Clone the Repository

git clone /~https://github.com/yourusername/employee-management-k8s.git
cd employee-management-k8s

2. Start Minikube

minikube start

3. Build and Push Docker Images

Assuming you have Docker set up:

docker build -t yourdockerhub/employee-management:latest .
docker push yourdockerhub/employee-management:latest

4. Deploy to Kubernetes

kubectl apply -f k8s/

5. Access the Kubernetes Dashboard

minikube dashboard

Usage

Once deployed, access the Employee Management System via the service exposed by Kubernetes:

minikube service employee-management-service --url

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Thanks to all contributors who have helped to build this project.
  • Special thanks to Kubernetes and Docker communities for their guides and tools.