Skip to content

Repository for Kustomize Resource Manifests for the Voting application

License

Notifications You must be signed in to change notification settings

mathesh-me/kustomize-voting-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Building a simple Voting App using Kustomize and Kubernetes 🚀

This repository contains the resource Manifests for a simple Voting App that is built using Kustomize and Kubernetes. This Voting App is a simple web application that allows users to Vote for their favorite pets.

Architecture Overview 🏗️

The Voting App consists of the following components:

  • A Frontend Service that serves the web application to users to vote for their favorite pets (cats or dogs). It is Developed using Python Flask.
  • A Redis Service that stores the votes.
  • A Worker Service that processes the votes and stores them in the Postgres databas. It is Written in .NET.
  • A Postgres Service that stores the details of the votes such as the pet name and the number of votes.
  • A Result Service that displays the results of the votes. It is Written in Node.js.

Architecture Diagram 📊

Kustomize Voting App

Prerequisites 📋

Before you begin, ensure you have the following installed on your local machine:

  • A Linux Machine with Docker and Kubernetes installed.
  • With Kustomize CLI installed on your linux machine.

Usage 🛠️

To deploy the Voting App on your Kubernetes cluster, perform the following steps:

  1. Clone this repository to your local machine:
git clone https://github.com/mathesh-me/kustomize-voting-app
  1. Change into the directory of the cloned repository:
cd kustomize-voting-app
  1. Create a namespace for the Voting App using the following command:
kubectl create namespace voteapp
  1. Deploy the Voting App on your Kubernetes cluster using the following command:
kubectl apply -k voting-app/
  1. To access the Voting App, Use the below URL:

You can also see my article on Medium for a detailed explanation of the Voting App and how to deploy it using Kustomize and Kubernetes.

License 📄

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request. If you have better ideas you can create a PR and I will merge it.

Author 👨‍💻

  • Mathesh M on LinkedIn.
  • You Can also check out my Medium for articles on DevOps Tools and Technologies.️

About

Repository for Kustomize Resource Manifests for the Voting application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published