The BMI Calculator is a simple web application that allows users to calculate their Body Mass Index (BMI) based on their height and weight. This project demonstrates the use of containerization, orchestration, and automation tools for application deployment.
Before you begin, ensure you have the following tools installed and configured on your EC2 instance:
Clone the repository using git clone https://github.com/sanjaykumarm2001/BMI-calculator
This process involves transferring all files from the Jenkins workspace to the Ansible server, ensuring efficient access for deployment and configuration management.
To automate the process of building a Docker image and pushing it to Docker Hub by ansible server
The deployment of the application on Minikube is managed using deployment.yaml and service.yaml files, which define the necessary Kubernetes resources. This process is automated through an Ansible playbook, ensuring a streamlined deployment and easy access to the application.
*Docker Image Not Building: Ensure the Dockerfile is correct and all required files are present.
*Jenkins Build Failing: Check the Jenkins logs for errors and ensure credentials are properly configured