To get started with this project, please follow the steps below:
- Ensure you have Minikube installed on your system. Minikube is required to run this project with Kubernetes.
-
Set Up Executable Permissions
chmod +x kubernetes/deploy.sh kubernetes/restart.sh
-
Running with Minikube This project is designed to run on a Kubernetes cluster managed by Minikube. Please ensure you have Minikube installed and properly configured. You can find the installation and setup instructions in the Minikube.
-
Start Minikube
Start your Minikube cluster with the following command:
minikube start
Deploy the application to your Minikube cluster using the deployment script:
cd kubernetes
./deploy.sh
Once the deployment is complete, you can access the application using the NodePort service. Use the following command to get the URL:
minikube service --all
If you need to restart the application, use the restart script:
cd kubernetes
./restart.sh