Skip to content

Deba1107/kubernetes_java_deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-Java-kubernetes-project

Deploying Java Applications with Docker and Kubernetes

  1. Build each project ->> mvn clean install -DskipTests

  2. Create docker hub account

  3. Build the image in local -> docker build -t praveensingam1994/stockmanager:latest

  4. Push the image to your docker hub -> docker push praveensingam1994/shopfront:latest

  5. Go to kubernetes folder and create the pods -> kubectl apply -f shopfront-service.yaml

  6. minikube service servicename -> minikube service shopfront

  7. Hit the url in browser ->

ORDER TO BUILD AND DEPLOY

shopfront -> productcatalogue -> stockmanager

Endpoint for product --> /products Endpoint for stock --> /stocks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published