1. Install GIT
2. Install Java
3. Install Maven
4. Minikube Setup
5. Helm Install
yum install java-1.8.0-openjdk -y
yum install git -y
yum install maven -y
minikube addons enable ingress
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
export PATH=$PATH:/usr/local/bin
./get_helm.sh
kubectl apply -f helm/mysql-secrets.yaml
helm repo add helm-repo https://charts.bitnami.com/bitnami
helm install mysql-release helm-repo/mysql --dry-run --debug -f helm/mysql/mysql-values.yaml
helm install mysql-release helm-repo/mysql -f helm/mysql/mysql-values.yaml
- Build Springboot Applocation
mvn clean install
- Build and Push docker image
docker build -t naresh240/springboothello:v1 .
docker login
docker push naresh240/springboothello:v1
- Deploy Springboot Application
helm install springboothello helm/springboot-example