This project demonstrates how to deploy a Reddit clone app on Kubernetes with Ingress and expose it to the world using Minikube as the cluster. Below is an overview of the architecture of this Reddit Clone App running on Kubernetes with Ingress.
Before you begin, you should have the following tools installed on your local machine:
- Docker
- Minikube cluster ( Running )
- kubectl
- Git
Follow these steps to install and run the Reddit clone app on your local machine:
- Clone this repository to your local machine:
git clone https://github.com/umer6921/reddit-clone-k8s.git
- Navigate to the project directory:
cd reddit-clone-k8s
- Build the Docker image for the Reddit clone app:
docker build -t umer6921/reddit-clone.
- Deploy the app to Kubernetes:
kubectl apply -f deployment.yaml
- Deploy the Service for deployment to Kubernetes:
kubectl apply -f service.yaml