Skip to content

Deploys a Voting App using Deployments and Services in K8s

Notifications You must be signed in to change notification settings

mohsin-786/Voting-App-Kubernetes

Repository files navigation

🏛️ Architecture

Here is the Architecture:

📖 About this Voting App

This Project runs a Voting web-app using Kubernetes Deployments and Services.

It uses Redis and Postgres as Database & Python and NodeJS for Frontend.

📥 Installation

To run in local machine using Minikube

Install Minikube Kubectl and Docker

For Arch-Based:

  • Use an AUR helper like yay or paru
yay -Syu minikube kubectl docker
  • Secondly
  sudo systemctl start docker
  sudo usermod -aG docker $USER
  • Lastly
  minikube start --kubernetes-version=latest

For other distributions, you can install Docker and Kubectl using your package manager.

And for Minikube do the following:

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
minikube start --kubernetes-version=latest

☁️ Deployment

To deploy this project run the below command for each file:

  kubectl apply -f <filename>

Or,

Put all the files in one folder and run:

  kubectl apply -f <folder>

About

Deploys a Voting App using Deployments and Services in K8s

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published