Skip to content

Microservice application deployed with Kubernetes. Uses pods, replicasets, and container orchestration to ensure scalability and reliability. Designed to demonstrate a production-like Kubernetes setup.

Notifications You must be signed in to change notification settings

georgitinchev/kube-microservice-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kube-microservice-app

Microservice application deployed with Kubernetes. Uses pods, replicasets, and container orchestration to demonstrate a production-like setup with scalability and reliability.


Overview

This project runs a voting app composed of:

  • Voting App: Frontend for voting
  • Result App: Displays results
  • Worker: Processes votes
  • Redis: In-memory store
  • PostgreSQL: Database for results

Services communicate internally via Kubernetes services.


Docker Images

Uses KodeKloud's pre-built images with v1 tag (important!):

  • kodekloud/examplevotingapp_vote:v1
  • kodekloud/examplevotingapp_result:v1
  • kodekloud/examplevotingapp_worker:v1
  • Redis & Postgres use official images

Setup Instructions

  1. Clone repo:
    git clone <repo-url> && cd kube-microservice-app

  2. Deploy with kubectl:
    kubectl apply -f .

  3. Check pods & services:
    kubectl get pods
    kubectl get svc

  4. Access apps via browser:

    • Voting app: http://localhost:30080
    • Result app: http://localhost:30081

Notes

  • Use the v1 tag on images to avoid pull errors.
  • Redis & Postgres services are internal (ClusterIP).
  • Use kubectl logs <pod> for troubleshooting.

Feel free to contribute or raise issues!

About

Microservice application deployed with Kubernetes. Uses pods, replicasets, and container orchestration to ensure scalability and reliability. Designed to demonstrate a production-like Kubernetes setup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published